Inconsistencies in df

Tim Lastine tim.lastine at hi.umn.edu
Thu Dec 22 09:25:44 PST 2005


Hi,

We are wondering why df gives such peculiar outputs on large disk 
drives?  The used space and the available space do not add up the 
reported size of the partition.  Is this a problem, or is it just the 
way it is?  We are using a 250 Gig SATA (ad4) drive and a 1000 Gig 
SATA Raid 0(da0) drive.   Incidentally, while partitioning the drives 
on install, the disk geometry warning came up for both drives.  We 
just used the geometry that the installer chose.


canicula-a# df -h
Filesystem	Size	Used	Avail	Capacity	Mounted on
/dev/ad4s1a	2.9G	55M	2.6G	2%		/
devfs		1.0K	1.0K	0B	100%		/dev
/dev/ad4s1f	62G	4.0K	57G	0%		/opt
/dev/da0s1d	906G	4.0K	833G	0%		/raid
/dev/ad4s1e	3.9G	810M	2.8G	22%		/usr
/dev/ad4s1d	2.9G	302K	2.7G	0%		/var

canicula-a# df
Filesystem	1K-blocks	Used	Avail		Capacity	Mounted on
/dev/ad4s1a	3049102	56150	2749024	2%		/
devfs		1		1	0		100%		/dev
/dev/ad4s1f	64489864	4	59330672	0%		/opt
/dev/da0s1d	949613700	4	873644600	0%		/raid
/dev/ad4s1e	4058062	29730	2903688	22%		/usr
/dev/ad4s1d	3045006	302	2801104	0%		/var


Thank You



More information about the freebsd-questions mailing list