df does not show free space

Rashkae ubuntu at tigershaunt.com
Fri Aug 22 16:14:25 UTC 2008


Colin Brace wrote:
> 
> Rashkae-2 wrote:
>> Sigh, NM, I see it now, no root.
>>
> 
> Exactly.
> 
> Just now, I used e2label to give /dev/sda1, my root partition, the label
> "ubuntu-root". I then changed the fstab entry to use LABEL instead of UUID,
> like this: 
> 
> # /dev/sda1
> #UUID=22798b82-10e7-4e60-9758-9ae20dba60d7 /               ext3   
> relatime,errors=remount-ro 0       1
> LABEL=ubuntu-root	/	ext3	relatime,errors=remount-ro 0       1
> 
> and rebooted. It now shows up properly:
> 
> $ df -h
> Filesystem            Size  Used Avail Use% Mounted on
> /dev/sda1             7.8G  3.6G  3.9G  49% /
> varrun                886M  124K  886M   1% /var/run
> varlock               886M     0  886M   0% /var/lock
> udev                  886M   68K  886M   1% /dev
> devshm                886M   12K  886M   1% /dev/shm
> lrm                   886M   39M  848M   5%
> /lib/modules/2.6.24-19-generic/volatile
> 
> Something is obviously (still) broken somewhere...
> 
> -----
>   Colin Brace
>   Amsterdam
>   http://lim.nl

Can you give us the contents of your fstab as well as /proc/mounts
/etc/mtab? (err, you'll have to revert the fstab so we can see it
broken)  This problem doesn't appear to be universal by any means.

And bare with me for this train of thought.  have you ever experimented
with xfs filesystem on your root partition?





More information about the ubuntu-users mailing list