The command "df -h" no show me the size of partition true!

Alessandro Viana alessandro at automatos.com
Fri Nov 5 13:56:11 UTC 2004


Mike

Alright, but in this case nothing functioned! Look below:

[root at server1 cfg]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda2             2.0G  510M  1.3G  27% /
/dev/sda1             152M   19M  125M  14% /boot
/dev/sda10             19G  3.9G   13G  23% /data
/dev/sda6             1.0G  915M   67M  94% /home
/dev/sda9             4.9G  839M  3.7G  18% /opt
none                  2.0G     0  1.9G   0% /dev/shm
/dev/sda7             1.0G  107M  875M  11% /tmp
/dev/sda3             2.0G  1.1G  893M  54% /usr
/dev/sda5             2.0G  695M  1.1G  37% /var
server6:/backup/server1
                      166G   98G   60G  62% /backup
[root at server1 cfg]# du -h -s -L /home/
357M    /home


- - 
Alessandro


On Fri, 2004-11-05 at 03:06, Mike Burger wrote:

> On Thu, 4 Nov 2004, Pete Nesbitt wrote:
> 
> > try using -L with df.
> > 
> > example:
> > root at nebula temp# df -h
> > Filesystem            Size  Used Avail Use% Mounted on
> > /dev/hde3              15G  7.1G  7.0G  51% /
> > /dev/hde1              99M  8.1M   86M   9% /boot
> > [output trimmed]
> > 
> > root at nebula temp# du -h -s /boot
> > 4.1M    /boot
> > root at nebula temp# du -h -s -L /boot
> > 8.2M    /boot
> 
> -L isn't an option for df...it is for du, as you note, but not for df, as 
> you suggest.
> -- 
> Mike Burger
> http://www.bubbanfriends.org
> 
> Visit the Dog Pound II BBS
> telnet://dogpound2.citadel.org or http://dogpound2.citadel.org
> 
> To be notified of updates to the web site, visit 
> http://www.bubbanfriends.org/mailman/listinfo/site-update, or send a 
> message to:
> 
> site-update-request at bubbanfriends.org
> 
> with a message of: 
> 
> subscribe



More information about the redhat-list mailing list