OpenVZ Forum


Home » General » Support » vzdump fix: ERROR: wrong lvm mount point
vzdump fix: ERROR: wrong lvm mount point [message #35124] Tue, 03 March 2009 14:41 Go to previous message
denver is currently offline  denver
Messages: 1
Registered: March 2009
Junior Member
I have recently come across a problem with vzdump in which whenever i tried to backup one of out VMs using --snapshot, the following error would apear:

~# vzdump --size 1000 --dumpdir /backup/ --snapshot 104
INFO: Starting new backup job - vzdump --size 1000 --dumpdir /backup/ --snapshot 104
INFO: Starting Backup of VM 104 (openvz)
INFO: status = CTID 104 exist mounted running
ERROR: wrong lvm mount point '/var/lib/vz', using 'suspend' mode
INFO: starting first sync /vz/private/104 to /var/tmp/vzdumptmp4093

I am using Ubuntu 8.04.2 and by default OpenVZ uses /var/lib/vz which is symlinked to /vz for storing files and VMs.

The reason, in this case, for the error was that in /etc/vz/conf/104.conf, VE_ROOT and VE_PRIVATE were set to:

VE_ROOT="/vz/root/$VEID"
VE_PRIVATE="/vz/private/$VEID"

but the mount point for the LVM partition in /etc/fstab was:

/var/lib/vz

To fix this problem, i had to edit the to variables in 104.conf to look like this:

VE_ROOT="/var/lib/vz/root/$VEID"
VE_PRIVATE="/var/lib/vz/private/$VEID"

Hope this helps someone.

Regards,
Gabriel
 
Read Message
Read Message
Previous Topic: OOM didn't save the machine
Next Topic: Set a container's clock
Goto Forum:
  


Current Time: Sun Jul 28 10:27:44 GMT 2024

Total time taken to generate the page: 0.02694 seconds