Introduction
My server's /
partition is getting full and CloudLinux's /opt/alt
directory is taking up quite a bit of space. What is the procedure for moving /opt/alt
to a partition with more available disk space?
Procedure
CloudLinux recommends moving the data in /opt/alt
and creating a bind mount on a partition with sufficient disk space. Their documentation on this process can be found below:
CloudLinux - How to move /opt/alt
Please note that the example above uses /var
as the example destination for the new location. If /var
also does not have sufficient disk space, or if you would rather relocate /opt/alt
to a partition other than /var
, be sure to tailor the commands to meet your specific needs.