jonathan920

Member
Aug 10, 2020
6
1
3
Worldwide
cPanel Access Level
Root Administrator
Hi,

What files do I have to edit to manually configure the server to use a different disk partition. Yesterday when i added a new mount & moved the account around mounts, i think it got corrupted. Now the account is on /home2 where the data isn't available , all the data is in /home3.

replace /home2/ /home3/ - /var/cpanel/userdata/$user/*
replace /home2/ /home3/ - /etc/proftpd/$user
replace /home2/$user /home3/$user - /etc/passwd
ln -s /home3/$user /home2/$user
replace /home2/$user /home3/$user - /home3/$user/etc/*/passwd

What other files do I need to edit to manually configure the cpanel account to read from /home3
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,297
1,251
313
Houston
There are a number of threads that go over this: