comptech520

Well-Known Member
Feb 23, 2006
62
0
156
Hi,

Just a couple quick questions from a new user.

So I have the file structure correct:



Is this where all of the websites are located? /dev/mapper/vg00-home MOUNT POINT /home?




What are these other drives, and mount points?

/dev/mapper/vg00-usr
MOUNT POINT /usr

/dev/mapper/vg00-var
MOUNT POINT /var

/dev/md1
MOUNT POINT /

Thanks so much!
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
38
248
somewhere over the rainbow
cPanel Access Level
Root Administrator
Hello,

The cPanel accounts are typically located in /home partition, right. They will be labelled as /home/username where username represents the cPanel username you use when you create an account in WHM > Account Functions > Create a New Account area.

For /usr, this is where Apache and a lot of the cPanel data is stored as well as libraries. Apache is at /usr/local/apache, cPanel is at /usr/local/cpanel, and libraries are in /usr/lib or /usr/local/lib

For /var, this is where many logs are stored in /var/logs location such as /var/log/exim_mainlog for the exim processing log. /var/lib/mysql contains the MySQL databases. There are also crons stored in /var/spool/cron/root, while exim mails are stored in /var/spool/exim

The / partition is root level and contain the other non-mounted partitions such as /tmp for the temporary files (PHP sessions stored there), /lib for any libraries not in /usr, /boot for the kernel and any boot options, /proc for the system processes, and a few others.

Thanks!
 

comptech520

Well-Known Member
Feb 23, 2006
62
0
156
What do you recommend the space sizes to be of the above, I know that the /home should be a lot.
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
38
248
somewhere over the rainbow
cPanel Access Level
Root Administrator
We have documentation on our recommendations for each partition:

Advanced Options: Pre-Installation

/home should be 15GB or more, since it contains the user accounts