[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Large hard disk confusion





On Sun, 6 Feb 2005, Brian Clark wrote:

I just installed sarge on a 160 GB hard disk. Partitions are 2GB swap,
50 MB /boot, and the rest for /.

~$ df -ahT
Filesystem    Type    Size  Used Avail Use% Mounted on
/dev/hda3     ext3    145G  230M  138G   1% /
proc          proc       0     0     0   -  /proc
devpts      devpts       0     0     0   -  /dev/pts
tmpfs        tmpfs    443M     0  443M   0% /dev/shm
/dev/hda1     ext3     45M  9.3M   33M  23% /boot
usbfs        usbfs       0     0     0   -  /proc/bus/usb

My question is, why is hda3 only showing as 145 GB? Surely ext3 isn't
taking up gigabytes worth of journal information?

I think it's common that "160 GB" means 160000000000 bytes when manufactures defines harddrive space.
And 160 "real" GB is 201997680640

That's a significant difference.

For example, I have a Maxtor 200 GB drive
and this is what df -h shows:

perseus$ df -h
Filsystem          Storlek Anvnt Tillg Anv% Monterat på
/dev/hda1             897M  212M  637M  25% /
tmpfs                 507M   60K  507M   1% /dev/shm
/dev/hda11            8,2G  4,0K  8,2G   1% /windows
/dev/hda5             897M  627M  223M  74% /var
/dev/hda6             897M   12M  838M   2% /tmp
/dev/hda7              19G  5,0G   13G  29% /usr
/dev/hda8              19G  941M   17G   6% /opt
/dev/hda10            138G  110G   22G  84% /home
lazyfs                100K  100K     0 100% /uri/0install
/dev                  897M  212M  637M  25% /.dev
none                  5,0M  752K  4,3M  15% /dev

If you sum up theese, roghly it gets 188 GB...

//Marcus

Reply to: