Bug#54381: DF reports inaccuracies of hda7
Kernel: 2.2.14
Debian: Stable
Package: Base
Dmesg | grep hd
hda: WDC AC22500L, 2441MB w/256kB Cache, CHS=620/128/63, (U)DMA
hdb: WDC AC38400L, 8063MB w/256kB Cache, CHS=1027/255/63, (U)DMA
Notice the size of a and b
Fdisk
Disk /dev/hda: 128 heads, 63 sectors, 620 cylinders
Units = cylinders of 8064 * 512 bytes
Device Boot Start End Blocks Id System
/dev/hda1 1 13 52384+ 83 Linux native
/dev/hda2 * 14 38 100800 83 Linux native
/dev/hda3 39 165 512064 83 Linux native
/dev/hda4 166 620 1834560 5 Extended
/dev/hda5 166 203 153184+ 83 Linux native
/dev/hda6 204 268 262048+ 82 Linux swap
/dev/hda7 269 620 1419232+ 83 Linux native
df -h
Filesystem Size Used Avail Capacity Mounted on
/dev/hda2 95M 9.1M 81M 10% /
/dev/hda1 50M 1.2M 46M 3% /boot
/dev/hda3 484M 15M 444M 3% /var
/dev/hda5 145M 13K 137M 0% /tmp
/dev/hda7 3.8G 206M 3.4G 6% /usr/src
/dev/hdb1 3.8G 206M 3.4G 6% /usr
/dev/hdb2 3.8G 197K 3.6G 0% /home
df
Filesystem 1024-blocks Used Available Capacity Mounted on
/dev/hda2 97588 9318 83230 10% /
/dev/hda1 50717 1224 46874 3% /boot
/dev/hda3 495746 14985 455158 3% /var
/dev/hda5 148319 13 140647 0% /tmp
/dev/hda7 3958767 211351 3542589 6% /usr/src
/dev/hdb1 3958767 211351 3542589 6% /usr
/dev/hdb2 4013376 197 3805539 0% /home
For some reason, /usr/src is coming up as 3.8GB even though I set it to
1.3GB and it is in fact 1.3GB and on a 2.5GB drive that couldn't hold a
3.8GB partition.
Sorry about the formatting, I sent this from work and on outlook.
Need any other info let me know.
'Budget: A method for going broke methodically.'
Christopher R. Spence
Senior MIS Engineer -- DBA
MCP CNA Raptor A+
cspence@delphi-tech.com <mailto:cspence@delphi-tech.com>
Phone: (617) 494-8361 x24
Fax: (707) 885-2275
Delphi Technology Inc.
201 Broadway
Cambridge, MA 02139
Reply to: