[conspire] why is there such a large size discrepancy reported by fdisk and df

Darlene Wallach freepalestin at dslextreme.com
Thu Jul 26 08:31:23 PDT 2007


Darlene Wallach wrote:
[snip]
> I don't understand why there is such a large discrepancy
> between fdisk and df.
> fdisk shows /dev/sdb is 163.9G
> df shows 148G and 140G for size and available respectively.
> What am I misunderstanding?
> 
[snip]
> 
> # fdisk -l /dev/sdb
> 
> Disk /dev/sdb: 163.9 GB, 163928604672 bytes
> 255 heads, 63 sectors/track, 19929 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> 
>     Device Boot      Start         End      Blocks   Id  System
> /dev/sdb1               1         244     1959898+  82  Linux swap
> /dev/sdb2             245       19819   157236187+  83  Linux
> 
> # df -h /dev/sdb2
> Filesystem            Size  Used Avail Use% Mounted on
> /dev/sdb2             148G  189M  140G   1% /media/ieee1394disk
> 

I just read the man page for mkfs.ext3 and figure
that the internal journal is 15.9G.

Darlene Wallach





More information about the conspire mailing list