Gandi Wiki


You are on a question's page

How to know the disk usage ?
new

Question "check data disk usage", by Stan O.

When running df- h it shows only the system disk, not the data disk attached

# df -h

Filesystem Size Used Avail Use% Mounted on

/dev/xvda1 2.4G 951M 1.4G 42% /

/dev 129M 88K 129M 1% /dev

none 129M 0 129M 0% /dev/shm

none 129M 40K 129M 1% /var/run

none 129M 0 129M 0% /var/lock

none 129M 0 129M 0% /lib/init/rw

how do I show the size and remaining available space of all disks ?

Answer, by francois d.

df -m /srv/diskname

Last modified: 07 Jan 2012 at 14:33 by francois d.