Announcement

Collapse
No announcement yet.

Bug Report: 11.04 kernel 2.6.38-8-generic "df" reports wrong availiable space

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Bug Report: 11.04 kernel 2.6.38-8-generic "df" reports wrong availiable space



    Code:
    # df -h
    Filesystem      Size Used Avail Use% Mounted on
    /dev/sdd1       13G 4.6G 7.7G 38% /
    none         7.6G 796K 7.6G  1% /dev
    none         7.7G   0 7.7G  0% /dev/shm
    none         7.7G 144K 7.7G  1% /var/run
    none         7.7G   0 7.7G  0% /var/lock
    /dev/sdc2       1.2T 1.1T 1.2G 100% /mnt
    This MUST BE WRONG:
    Filesystem Size Used Avail Use% Mounted on
    /dev/sdc2 1.2T 1.1T 1.2G 100% /mnt

    I used up 100% of the partition space in /dev/sdc2 and instead of 0 byte it said 100% 1.2TB available. :-X

    #2
    Re: Bug Report: 11.04 kernel 2.6.38-8-generic "df" reports wrong availiable space

    Originally posted by uy


    Code:
    # df -h
    Filesystem      Size Used Avail Use% Mounted on
    /dev/sdd1       13G 4.6G 7.7G 38% /
    none         7.6G 796K 7.6G  1% /dev
    none         7.7G   0 7.7G  0% /dev/shm
    none         7.7G 144K 7.7G  1% /var/run
    none         7.7G   0 7.7G  0% /var/lock
    /dev/sdc2       1.2T 1.1T 1.2G 100% /mnt
    This MUST BE WRONG:
    Filesystem Size Used Avail Use% Mounted on
    /dev/sdc2 1.2T 1.1T 1.2G 100% /mnt

    I used up 100% of the partition space in /dev/sdc2 and instead of 0 byte it said 100% 1.2TB available. :-X
    Calculate by hand how many percents span one gig within a space of 1000gig. Then convert result do decimal.

    Also, take into account that filesystem usually holds by default from a free available space (seen as used space) for about 5% for administrative purposes.

    So in your case all is correct - 100% used, 1.2gig (less than 1%) free. Whats do you mean wrong?

    Comment

    Working...
    X