Moving a mount drive between servers


Aug 31, 2014
cPanel Access Level
Root Administrator
I have a cPanel server that uses a mounted drive for the account files. Apache is failing and as I need to upgrade from CentOS7, at some point, I thought I'd take this opportunity to boot a new server and start fresh. My question is whether I can unmount the drive, mount the drive on the new server and tell cPanel to use that drive for accounts. If I then set the account to use the new drive will it overwrite the existing, matching, accounts home folder or will it recognise it exists and just use it without any issues?

  • Like
Reactions: KARTU Fisik


Well-Known Member
Sep 26, 2006
Virginia Beach, VA
cPanel Access Level
DataCenter Provider
I think some more context is needed. If you're adding a drive and wanting to mount /home off it it, what you need to do is:

1) mount the drive initially as something else, like /home2,
2) rsync all files from /home to /home2
3) unmount /home and /home2
4) remount the new drive as /home

Alternatively, you can just mount it as /home2 and use the WHM "rearrange accounts" function to move the accounts to /home2, and leave them there. This will also update all configurations for users to use /home2, and create a symlink from /home/$user to /home2/$user