• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Centos-5 recommended setup

CruzMark

Regular Pleskian
Hey all,

I've been running Plesk on FreeBSD systems for several years now, but am looking into switching new boxes over to Centos-5.

Can anyone give me some recommendations for how to set the disk geometry on said box? I'm not sure where Plesk drops files on Linux. One big partition? Several partitions? If so, recommended sizes?

These boxes generally run a /24 block and have a couple of hundred client accounts on them.

Thanks in advance for the advice.

Mark
 
CruzMark,

There are no specific recommendation for Linux partition for Plesk. I think that it may be common Linux solutions for better performance. I suppose that it would be better if you place vhosts on separate partition. Place for vhosts is defined here:

[root@plesk902 /]# cat /etc/psa/psa.conf | grep HTTPD_VHOSTS_D
HTTPD_VHOSTS_D /var/www/vhosts
 
Multiple partitions on the same physical disk wouldn't really give you a performance increase. In fact it could even be (slightly) less efficient, depending on where it was.

I would recommend:

partition 1: /boot, 256M (reason: Some older bios's can have issues with /boot being over 1024 cylinders. Some file systems like ext4 are not supported by grub, its a more reliable RAID-0 configuration, etc)

partition 2: swap, x2 of ram is a good rule of thumb. (reason: keep swap close to the faster part of the disk. The physical distance the disk has to go to seek a sector is shorter here)

partition 3: /, everything else. (reason: more efficient use of space, and less work to do in the long run)
 
Would you recommend going with LVM, or not?

The machine actually has one 146GB disk and one 350GB disk. I was going to use the big disk for customer data, mounting it as /var, I guess.
 
Back
Top