Help: Partitions for VPS

magic1000

Verified User
Joined
Mar 20, 2009
Messages
19
Location
Ha Noi - Viet Nam
I'm using VPS with 25GB and 512MB Ram
What would be the ideal partition for directadmin?
And if upgrade to 50GB and 1GB Ram?

Thank! :o
 
It matters how many users you are going to have. How busy your server will be. Alot of things factor in for the ideal.
 
On small servers such as VPS servers we generally would set up a 512 MB swap partition, and a two GB /tmp partition (so you can secure it) and leave the rest as a single partition.

You'll have to watch the server carefully to make sure it doesn't fill up.

Minimum if you're going to use separate partitions you might want to try:

/ 500 MB
/var 5 GB
/usr 10 GB
/tmp 2 GB
<swap> 512 MB
/home <balance>

but that gives you a very small server. Which is why I'd do what I mentioned above.

Note: I'm not responsible if you run out of space.

Jeff
 
Since a VPS has poor performance anyway, there is no reason to create multiple partitions.
Even for /tmp I suggest using the loop driver and mount an image, this way if in the future you need more space you will be able to modify the image size easely.
Oh, and remember to create a symlink from /var/tmp and /home/tmp to /tmp too (or create more images), many people forget those :)
 
You are not reading; scsi already said it depends on how busy your server will be. How many visits/second? how many websites, and how large is their database?
 
Only 30-40 user, and using Joomla and phpBB.:o
Maybe there are Wordpress, Xtremedia v.v...

I buy UK VPS but use for Viet Nam.:D
I live in Viet Nam.
 
Back
Top