Web Hosting Talk







View Full Version : [newbie question] :: Hard Drive Space Allocation on a server?


raine
08-02-2002, 04:51 PM
OK, So I'm in WHM and here's what I see:

Filesystem Type Size Used Avail Use% Mounted on
/dev/hda6 ext3 1011M 206M 754M 22% /
/dev/hda1 ext3 30M 5.5M 23M 19% /boot
/dev/hda8 ext3 47G 1.2G 43G 3% /home
none tmpfs 235M 0 235M 0% /dev/shm
/dev/hda7 ext3 494M 8.1M 460M 2% /tmp
/dev/hda2 ext3 3.9G 3.3G 479M 88% /usr
/dev/hda3 ext3 2.0G 190M 1.6G 10% /var
/dev/hdc1 ext3 55G 1.5G 50G 3% /backup


So here's what I don't understand... WHO sets the available sizes?

and why are there so many hdas on my server?

I always get warnings via e-mail saying that my hda2 is getting full - but to my knowledge, my websites only take up roughly 1gig... so what's the other 2gigs?

I should have 60gig on my hdd, and 55 of it is for backups =)... how do I allocate it such that it's spread out? I'm a complete unix idiot, is there anyway of doing this within WHM?

Thanks for the help again... yet another set of newbie questions...

akashik
08-02-2002, 07:11 PM
your websites should be under /home not /usr

/usr fills up because it has the log files in it amongst other things. A quick fix you might try when it gets close to full is to go to:
/usr/local/apache/logs
and delete the error log and access log.

You can also go to
/usr/local/apache/domlogs
and remove some of the larger domain logs in there.

Just restart apache afterwards and they should be recreated again.

Greg Moore