add new hdd and move whole /home directory

Mohsen Sadr

Member
Sep 7, 2015
12
0
1
germany
cPanel Access Level
Root Administrator
hello;
i have 30GB /home non-LVM
i added new 100GB LVM and mounted (temporary) as /home2, (once copying completed i`l mount new LVM as /home !)


**problem:
i see virtfs become larger after copy,
i use command for copy: rsync -ah --progress /home/* /home2
**

please give me advise for copy whole /home to /home2 and also keep all chown and chmod - and copy everything like what it is__.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,241
363
Hello,

I'm happy to see you were able to address the issue. Please note the following document regarding VirtFS:

cPanel - VirtFS

Thanks!
 

Mohsen Sadr

Member
Sep 7, 2015
12
0
1
germany
cPanel Access Level
Root Administrator
unfortunately i found my php mail not working now, i know virtfs contain systems file so should not be removed, but actualy i havent copied virtfs at all,
cpanel created virtfs by itself also,
so how to solve this problem now?
im sure nothing else changed except moviing files from old /home to new /home (LVM),
thanks in advance
rejected by non-SMTP ACL: failed to expand ACL string ........dy}}}{1}{0}}": Undefined subroutine &main::user2uid called.
all website those earlier have php mail enabled now can not send mail,
 
Last edited:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,241
363
I'm happy to see updating cPanel addressed the issue. Another potential workaround is to enable jailed shell access for the account, access SSH as the account username, and then logout. Thank you for updating us with the outcome.