partition debian server and boa

Events happening in the community are now at Drupal community events on www.drupal.org.
yazzou's picture

Hello,
After successfull transfer of some of my sites, i have been running them during 2 days. They were loading perfectly with barracuda. I have run octopus script which generated an aegir instance, where i have added these sites. As explained in the manual i have transferred to the static directory the full drupal code of the sites.
My partition got full after 2days and i have a white screen while loading the site...the command df -h gives me thee following :

Filesystem Size Used Avail Use% Mounted on
/dev/md1 20G 20G 0 100% /
tmpfs 996M 12K 996M 1% /lib/init/rw
udev 10M 204K 9.9M 2% /dev
tmpfs 996M 0 996M 0% /dev/shm
/dev/md2 49G 180M 46G 1% /home
/dev/md3 366G 7.0G 340G 3% /var
/dev/md5 26G 182M 24G 1% /tmp

I am not an expert in server admin, i have some knowledge but i wonder if have to reinstall everything giving more space to the partition welcoming the sites. I hope i can do it without a full reinstall. What is the best partition to opt for while having a dedicated server running barracuda and octopus ?

Thanks

Comments

first thing to check - how

thedavidmeister's picture

first thing to check - how often are you running backups on your sites managed by aegir? If you're running automated backups every hour (for example) you could easily kill your server in two days.

second thing to check - what are your backup garbage collection rules? I initially had some troubles with my own aegir instances where the backup garbage collection rules would reset themselves periodically until i hardcoded them in override.global.inc so maybe you're going through something similar.

firstly with partitions,

geofftech's picture

firstly with partitions, these days i am not a fan on separate partitions. just one big one. I don't think the need to partition like the good old days exists any more.

second. octopus creates a /data folder. this is part of your root (20G) partition at the moment. i would mount my largest partition here. normally this would be /home - but in BOA it is /data - where all the client data is.

I suppose that there is no

yazzou's picture

I suppose that there is no way to change the partition size without reinstalling everything . I have put maximum space on the var folder as sites were generally hosted on the /var/www folder. I also chacked the backup folder, i think, it is full of backups...maybe i should disable these automatic backups. I have another script running and making daily backups, and sending them to another server...in case something wrong happens

If you are stuck with those

geofftech's picture

If you are stuck with those partitions, then you can easily move some around. The largest is needed for your client data and BOA platforms (/data) and second largest for your MySQL (/var somewhere)

So mount /dev/md3 (366GB) to /data and /dev/md2 (20GB) to /var - of course you will need to do some file moving back and forth..

Also, use s3fs for your backup path. s3fs is a tool that mounts a folder to a Amazon S3 bucket. This both removes the data from your server freeing space and also keeps them off server for recovery if your server is stolen by aliens. (here are my notes on s3fs if they help http://redronin.com/content/setup-backup-folder-ubuntu-using-amazon-s3)

BOA

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: