Amount of disk space lost to formatting?

Brian Brazil bbrazil at netsoc.tcd.ie
Fri Apr 14 11:11:10 CDT 2006


On Fri, Apr 14, 2006 at 11:31:29AM -0400, David Hubbard wrote:
> SCSI device sdb: 143114240 512-byte hdwr sectors (73274 MB)
> 
> more room than I had expected.  fdisk shows:
>    Device Boot      Start         End      Blocks   Id  System
> /dev/sdb1               1        8908    71553478+  83  Linux
> 
> But df shows:
> Filesystem            Size  Used Avail Use% Mounted on
> /dev/sdb1              68G  104M   64G   1% /data
> 
> 73 GB drives down to 68 GB formatted is bad enough, but there
> seems to be another 4 GB missing over what's in use?  I
> used the default inode counts:
> Filesystem            Inodes   IUsed   IFree IUse% Mounted on
> /dev/sdb1            8945664    1837 8943827    1% /data
> 
> Is that much being tied up in the inodes?

You can use 'tune2fs -l /dev/sdb1' to tell you the inode size assuming
ext2/3. For me that's 128 bytes which would indicate about 1GB for you.
This however should not show up in df.

The space is probably taken up by reserved blocks. These are blocks
which are reserved for root's use; normally about 5%, or ~3GB in your
case. You can view and tune the value with tune2fs.

The rest is probably just rounding on the part of 'df -h'.

Brian

-- 
Website: http://www.netsoc.tcd.ie/~bbrazil
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.us.dell.com/pipermail/linux-poweredge/attachments/20060414/b9e5559a/attachment.bin 


More information about the Linux-PowerEdge mailing list