Hi,
I created a volume and it provides me some details like you can see below:
# Create a mount point for your volume:
$ mkdir -p /mnt/home2
# Mount your volume at the newly-created mount point:
$ mount -o discard,defaults,noatime /dev/disk/by-id/scsi-0DO_Volume_home2 /mnt/home2
# Change fstab so the volume will be mounted after a reboot
$ echo '/dev/disk/by-id/scsi-0DO_Volume_home2 /mnt/home2 ext4 defaults,nofail,discard 0 0' | sudo tee -a /etc/fstab
You can see I named the disk home2
, but I can’t figure out how I am supposed to add it to WHM/cPanel to allow me to create cPanel accounts on that disk.
Should I be mounting to /home2/
instead? or should I be creating a symlink from /mnt/home2/ to /home2/?
So when we originally setup this droplet, we accidently chose a Disk, CPU & RAM resize which put the SSD to 60GB…
We want to downsize the disk so we can access some of the other droplet types. For example we want to have the “CPU Optimized Dedicated CPU, 4vCPU, 8GB RAM” droplet.
If we offload 30GB of our files to a volume/block storage which brings us down to 15GB on the main droplet can we create a backup / snapshot of the instance and “downgrade”?
We found out that DigitalOcean just willy nilly provides IP’s that have been abused, are blocked by major email providers and is utterly useless for emails… because our main droplet can’t send emails to several providers.
We had to create a $5 droplet and setup a postfix relay server which works good for now. The server however has 20GB of spare disk space… how can we utilize this space?
Can we mount this disk to the main server?
OR / AND
Is there a way to easily fully migrate everything from our current “main” droplet across to the new droplet (Migrate cPanel/WHM, Railgun, Redis, CloudLinux, Imunify360, ConfigServer, MariaDB… etc) and all the configuration that goes with it.
Instead of having to do loads of manual reconfiguring…
Thanks
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.
Hello, ryanClam
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.
Hope that this helps! Regards, Alex