Results 1 to 3 of 3

Thread: Disk Space Weirdness

  1. #1
    Join Date
    Nov 2008
    Beans
    7

    Disk Space Weirdness

    df -h shows that I am using a 470GB hard drive with 8.3GB used, but I only have 438GB available.

    So am I missing something? Why do I have so much missing disk space??

  2. #2
    Join Date
    Dec 2004
    Beans
    63
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Disk Space Weirdness

    Depending on your filesytem (ext, reiser etc), a certain amount is reserved when the filesystem is created. Ext3, for example, reserves about 5% of the disk.

    Also, if you run df as a non-root user, it may not be able to calculate the disk space used by some directories, especially those used by databases to store the DB files. To get around this run

    Code:
    sudo df -h

  3. #3
    Join Date
    Jan 2007
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Disk Space Weirdness

    Yes, it's the reserved 5%. You can make the reserved percentage smaller or larger with the tune2fs command and switches but unless you are really in need of space it's best to leave it where it is.
    GRUB2

    Retired.

Bookmarks

Posting Permissions

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