I have an account on our WHM server that is getting large and will soon need more space. I’ve already added a new volume and it shows up in WHM without issue. My question is, can the single account stay where it is and expand on to the new volume as needed, automatically?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Not quite what I was looking for, I did find that before posting. But thank you for your reply. I got my answer though, added below.
No, WHM does not automatically use the added on volume as needed for a single account. You need to move the account to the volume as a whole. To do that, go in the “basic webhost manager setup” and update the “Additional home directories” section to your new volume name after attaching it, I ran the commands they recommend in the “set up volume” dropdown after creation, but not 100% I needed to as it said it was already attached. After that you need to use the “rearrange account” tool to move the data to the new disk.
Helped from the cPanel message forum https://forums.cpanel.net/threads/volume-addition-for-a-large-account-on-whm-how-does-it-work.700673/
There was a similar question asked here:
The solution as suggested by @alexdo was the following:
Login to WHM –> Basic WebHost Manager® Setup –> set /home2 directory instead of /home
By default all directories matching the “Home Directory Prefix” are checked for available disk space and the directory with the most free space will be used.
Additional home directories matching the following value will also be used for new home directory creations. (Leaving this value blank disables the feature.) Only mount points are considered. This option only takes one value.
You could take the same approach and move the large account to a
/home2directory backed up by block storage.
Hope that this helps.
Want to learn more? Join the DigitalOcean Community!
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Sign up now