You are not logged in.

#1 2008-10-22 20:11:46

djg1971
Member
Registered: 2008-09-11
Posts: 185

trouble with Lacie 1TB external hard disk

Recently got a Lacie 1TB external hard disk.  Need to get as close to 1TB actual capacity as I can.

Used cfdisk to create a single Linux partition, and thought I tried to "maximize" the size.
Used mkfs -t ext3 /dev/sdb1 to create the file system. 
Tried to mount the disk.   The first go around apparently failed (dmesg said there was no journal).

I repeated all of the above and the second time it mounted, but "df -h" reports:
/dev/sdb1             925G  200M  878G   1% /mnt/external_1

What the hell happened?

Can someone please advise on how to fix this, and actually maximize the real available space?  Please include the exact utilities and flags you would recommend.

thanks much.

Offline

#2 2008-10-22 20:14:06

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: trouble with Lacie 1TB external hard disk

man tune2fs and look for -m flag.

Offline

#3 2008-10-22 20:21:18

djg1971
Member
Registered: 2008-09-11
Posts: 185

Re: trouble with Lacie 1TB external hard disk

yes, but, the default for reserved space is 5%, which should be about 50 GB on that disk.  (fdisk does see just over 1 TB total size.)
In this case I see 200 GB as used, the very first time the disk is mounted. 

Something seems hosed, so I would like to start from scratch.  If someone could advise on a wiser plan than I used, please let me know the specifics.

Offline

#4 2008-10-22 20:29:13

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: trouble with Lacie 1TB external hard disk

Disks always have lower capacity than advertised, you can treat it as a marketing trick.

hdparm -I should show you real capacity.

Last edited by lucke (2008-10-22 20:30:57)

Offline

#5 2008-10-22 20:34:08

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: trouble with Lacie 1TB external hard disk

hdparm -I /dev/sdb | grep "device size"

You could also try JFS, it should give you quite a few more MB than Ext3 (even with no reserved blocks).

Last edited by byte (2008-10-22 20:36:11)


1000

Offline

#6 2008-10-22 21:33:03

djg1971
Member
Registered: 2008-09-11
Posts: 185

Re: trouble with Lacie 1TB external hard disk

lucke,

i know disks always have less capacity than the nominal size.  but a 1TB disk should have more than 900 MB available.  possibly as much as 980 MB.  that would be commensurate with my past experience using other external drives.  over 200 GB used off the bat is ridiculous, and i've never seen anything like that before.

as a revised question to people out there, which fs would you recommend to get the most out of this disk.  it's going to have 900+ GB of files, each almost exactly 170 MB, and will be processed via the USB2 interface.

Offline

#7 2008-10-22 22:17:59

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: trouble with Lacie 1TB external hard disk

You have to keep in mind that the Ext3 journal needs some space, and how much depends on the filesystem size, I think.
Also have a look at the mke2fs manpage, "inode-size"; the default got recently doubled to 256 byte per inode which leads to more wasted space.

And please stop mixing up GB and MB so much... wink


1000

Offline

#8 2008-10-23 11:15:28

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: trouble with Lacie 1TB external hard disk

I think it's pretty normal for a 1TB hard drive to have 925GB real capacity, and that's what your df shows. Substract 5% reserved by ext3, you get 878GB (as shown by df). Note that even with 878G available it's not "over 200GB used".

Last edited by lucke (2008-10-23 11:16:05)

Offline

#9 2008-10-23 22:20:46

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,224
Website

Re: trouble with Lacie 1TB external hard disk

djg1971 wrote:

which fs would you recommend to get the most out of this disk

JFS. I did a non-scientific test a while ago to work out which file system gave me the most "usable" (reported) space on a clean format. From memory I tried ext3, Reiser, JFS and XFS. And the winner was JFS.

Offline

Board footer

Powered by FluxBB