/dev/md1 nearly full - how do I work out which files/directories are on that disk?
I have Plesk 8.2 running on a Linux webserver at 1&1 Internet. I recently noticed that the /dev/md1 device is showing as nearly full (1GB partition, 700MB+ used) and I figured I'd better work out what was eating all that space.
By issuing "mount" I have learned that it's the "/" directory and I'm aware that "du -h" will give me a listing of all file sizes beneath that in the directory tree, however it's including everything under "/" which is the entire server. "du -s --si /*" shows me the size of each directory, but how do I limit this to just that one device /dev/md1 so that I can work out what's eating the space?
"mount" gives:
/dev/md1 on / type ext3 (rw)
none on /proc type proc (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/md5 on /usr type xfs (rw)
/dev/md7 on /var type xfs (rw,usrquota)
/dev/md6 on /home type xfs (rw,usrquota)
none on /tmp type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
/proc on /var/named/run-root/proc type none (rw,bind)
"du -s --si /*" gives:
6,1M /bin
8,6M /boot
111k /dev
51M /etc
4,1k /hlds_l
50k /home
74M /lib
19M /lib64
29k /lost+found
4,1k /mnt
4,1k /opt
1,1G /proc
586M /root
18M /sbin
0 /sys
230k /tmp
1,4G /usr
6,5G /var
I'd be grateful for any suggestions!
Thank you,
Jeremy Solly
|