Bug 27626 - df shows information that doesnt add up
Summary: df shows information that doesnt add up
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: fileutils
Version: 7.1
Hardware: i386
OS: Linux
high
medium
Target Milestone: ---
Assignee: Bernhard Rosenkraenzer
QA Contact: Aaron Brown
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-02-14 16:09 UTC by Dan Taylor
Modified: 2007-03-27 03:41 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2001-02-14 16:09:59 UTC
Embargoed:


Attachments (Terms of Use)

Description Dan Taylor 2001-02-14 16:09:47 UTC
df seems to show information that does not add up. Available + used != 
total.  This seems to be more noticable the larger the drive.  /dev/sdd 
shows almost 2 gigs missing.

----------------Example------------------
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/sda6              4633076    157824   4239904   4% /
none                         0         0         0   -  /proc
usbdevfs                     0         0         0   -  /proc/bus/usb
/dev/sda2                23333     11977     10152  55% /boot
/dev/sda5              9218620   2123344   6626984  25% /usr
/dev/sdb1             17496684        20  16607872   1% /usr2
/dev/sdc1             17496684        20  16607872   1% /usr3
/dev/sdd1             35001508        20  33223496   1% /usr4
none                         0         0         0   -  /dev/pts
/dev/sda1              3099260      1404   2940424   1% /home
automount(pid534)            0         0         0   -  /misc
--------------------End-------------------
----------------Start /proc/partitions------------
major minor  #blocks  name     rio rmerge rsect ruse wio wmerge wsect wuse 
running use aveq

   8     0   17783239 sda 2137 6812 68448 12630 1031 160 9480 35530 0 
11520 48160
   8     1    3148708 sda1 11 3 46 60 1 0 8 0 0 60 60
   8     2      24097 sda2 24 477 1002 200 5 3 16 40 0 240 240
   8     3          1 sda3 0 0 0 0 0 0 0 0 0 0 0
   8     5    9365863 sda5 1140 4069 41606 4300 149 32 1448 18890 0 4680 
23190
   8     6    4707013 sda6 960 2263 25778 8050 876 125 8008 16600 0 8060 
24650
   8     7     530113 sda7 2 0 16 20 0 0 0 0 0 20 20
   8    16   17783239 sdb 14 62 176 20 1 0 8 0 0 20 20
   8    17   17775891 sdb1 13 62 174 10 1 0 8 0 0 10 10
   8    32   17783239 sdc 14 62 176 10 1 0 8 0 0 10 10
   8    33   17775891 sdc1 13 62 174 0 1 0 8 0 0 0 0
   8    48   35566479 sdd 15 62 184 10 1 0 8 0 0 10 10
   8    49   35559846 sdd1 14 62 182 10 1 0 8 0 0 10 10
------------------------------------------------------
# fdisk -l /dev/sdd
kernel version 132096

Disk /dev/sdd: 255 heads, 63 sectors, 4427 cylinders
Units = cylinders of 16065 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/sdd1   *         1      4427  35559846   83  Linux

Comment 1 Bill Nottingham 2001-02-14 17:44:32 UTC
About 5% of the space on any normal filesystem is reserved for root, and is
not shown in the 'available' display.


Note You need to log in before you can comment on or make changes to this bug.