If you are moving the VE storage to another device, make sure to move both the private and root directories.
mount /mnt/newlocation
ln -s /mnt/newlocation/private/999 /var/lib/vz/private/999
ln -s /mnt/newlocation/root/999 /var/lib/vz/root/999
Otherwise you'll be getting this erronous error message:
> vzctl start 999
Starting VPS ...
vzquota : (error) Quota on syscall for 999: Device or resource busy
vzquota on failed [3]
No comments:
Post a Comment