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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mike

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

[root@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@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@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@nebula temp# du -h -s /boot
> > 4.1M    /boot
> > root@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@xxxxxxxxxxxxxxxxx
> 
> with a message of: 
> 
> subscribe
-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux