We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
Change Vestacp /home directory Mount Location - Disk Full Error
Change Vestacp /home directory Mount Location - Disk Full Error
Hi all,
I have installed my vestacp in digitalocean centos 7 40gb version.
here is the default HOME directory Location /home
df -h shows:
Filesystem Size Used Avail Use% Mounted on
/dev/vda1 40G 39G 1G 97.5% /
rightnow, the disk space is full at /dev/vda1
so using Volumes option i've added another 50gb to my hosting.
df -h shows
/dev/sda 50G 53M 47G 1% /mnt/volume-nyc1-04
is there anyway, i can point and move everything from
/home
to
/mnt/volume-nyc1-04/home ?
I have installed my vestacp in digitalocean centos 7 40gb version.
here is the default HOME directory Location /home
df -h shows:
Filesystem Size Used Avail Use% Mounted on
/dev/vda1 40G 39G 1G 97.5% /
rightnow, the disk space is full at /dev/vda1
so using Volumes option i've added another 50gb to my hosting.
df -h shows
/dev/sda 50G 53M 47G 1% /mnt/volume-nyc1-04
is there anyway, i can point and move everything from
/home
to
/mnt/volume-nyc1-04/home ?
Re: Change Vestacp /home directory Mount Location - Disk Full Error
try with symbolic linking:
mv /home /mnt/volume-nyc1-04
ln -s /home /mnt/volume-nyc1-04/home
mv /home /mnt/volume-nyc1-04
ln -s /home /mnt/volume-nyc1-04/home
Re: Change Vestacp /home directory Mount Location - Disk Full Error
Thank you for the quick reply.dpeca wrote:try with symbolic linking:
mv /home /mnt/volume-nyc1-04
ln -s /home /mnt/volume-nyc1-04/home
I'm getting following error, while try to do move statement.
mv: cannot remove ‘/home/admin/conf/dns’: Permission denied
mv: cannot remove ‘/home/admin/conf/mail’: Permission denied
mv: cannot remove ‘/home/admin/conf/web’: Permission denied
Re: Change Vestacp /home directory Mount Location - Disk Full Error
you are doing this as root?
try to stop nginx and apache first.
try to stop nginx and apache first.
Re: Change Vestacp /home directory Mount Location - Disk Full Error
Or second way - he can rename home, make folder home and mount disk as /home and move content back.dpeca wrote:try with symbolic linking:
mv /home /mnt/volume-nyc1-04
ln -s /home /mnt/volume-nyc1-04/home
(and make record in /etc/fstab)