Koozali.org: home of the SME Server

Disk space check

Matt Quelch

Disk space check
« on: April 22, 2003, 02:06:04 PM »
Hi,

I hope someone may be able to help. I've tried searching the archive to no avail. I have a pretty simple (I think) problem. My users are all using IMAP accounts, and their mail clients are not letting them move messages or create new folders. It looks like it may be a disk space issue, but I *embarrisingly* have no idea how to check disk space free, used etc in Linux, also the space under each folder. Can anyone point me in the right direction?

Thanks
Matt

Terry Brummell

Re: Disk space check
« Reply #1 on: April 22, 2003, 02:42:39 PM »
Get to a shell prompt and type df -h.

Alternatively there is an addon around somewhere that will show you this info in the server manager, but I forget it's name and don't have it installed.  Sorrry

JeffC

Re: Disk space check
« Reply #2 on: April 22, 2003, 04:16:57 PM »
Go to contribs.org and do a weblinks search for "diskusage".  I think you'll find what you want.

-jeff

tanos

Re: Disk space check
« Reply #3 on: April 22, 2003, 04:48:22 PM »
Hello

you should do  a
 df  -k command .
 or if you want to have infomration around an arborescence you should do
df  -u
bye

Matt Quelch

Re: Disk space check
« Reply #4 on: April 22, 2003, 04:54:15 PM »
Thanks for the help there, I've figured out whats wrong, but unfortunately not how to fix it :-(

It looks as though my RAID setup is somehow wrong, and as a result the server is not using aroung 10GB of space. Basically my setup now is:

sda (sda1, sda2, sda5)
sdb (sdb1)
sdc (sdc1, sdc2 ,sdc5, sdc6)

md0 = sdc5, sdc1
md1 = sdc6, sda5
md2 = sdb1, sda1

It looks like for whatever reason I am not getting sda2 or sdc2 in any of the arrays. I don't have a clue how to fix this, if anyone has any ideas they'd be much appreciated!!

Thanks
Matt