Multiples home
Hello,
Is possible in cPanel to have multiple home.
For example, i have 3 HDD each HDD is a home so
/dev/sda1 /home
/dev/sdb1 /home
/dev/sdc1 /home
I want to configure in package or user config select user or site in what HDD i want to storage user data for example.
/dev/sda1 /home/user1/
/dev/sdb1 /home/user3/
/dev/sdc1 /home/user2/
or
/dev/sda1 /home/user1/example.com
/dev/sdb1 /home/user3/example3.com
/dev/sdc1 /home/user1/example2.com
I see cPanel can assign automatic when is full /home to other /home2 or select default home directory but this is not what i want if not select the HDD i want to be storage user data in user or domain basic.
Thanks.
-
Hello, It is not possible to add multiple /home but if you want then you can add /home /home1 and /home2 and change the account disk partion through WHM. for example : /dev/sda1 /home/user1/ /dev/sdb1 /home1/user3/ /dev/sdc1 /home2/user2/ 0 -
Hello, There are no native features that will automatically assign a partition based on the package, however you could use package extensions and develop a script that assigns a specific home directory during account creation based on the value of the package extension: Guide to Package Extensions - Software Development Kit - cPanel Documentation Thank you. 0
Please sign in to leave a comment.
Comments
2 comments