Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    df command percentage error

    With root...
    # df -h
    Filesystem                      Size  Used Avail Use% Mounted on
    /dev/mapper/VolGroup00-Backups  425G  377G   27G  94% /Backups
    Look carefully the result of my "df" command...
    Size = 425G
    Used = 377G
    Available = 27G
    Used + Available = 404G != 425G

    ¿Why is Used + Available different from Total Size? This is not happening in any other server.
    I've tried remounting and rebooting the system.
    The "du" command show that the "Used" space in the "/Backups" directory from the "df" command is correct!

    * Slackware 13.37.0
    * Linux #1 SMP Sat Apr 9 14:01:14 CDT 2011 i686 Intel(R) Xeon(R) CPU E5530 2.40GHz GenuineIntel GNU/Linux
    * HP DL360 G6

    Thanks in advance.

  2. #2
    Linux Guru jmadero's Avatar
    Join Date
    Jul 2007
    because the filesystem itself takes up some of the space that is not reported by df. If you format a 1TB hard drive as EXT4 you lose a bit of the space to the EXT4 format (it's worse in NTFS but every format will use some space immediately)
    Bodhi 1.3 & Bodhi 1.4 using E17
    Dell Studio 17, Intel Graphics card, 4 gigs of RAM, E17

    "The beauty in life can only be found by moving past the materialism which defines human nature and into the higher realm of thought and knowledge"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts