vzdump lvm snapshot error [message #35450] |
Thu, 26 March 2009 19:10 |
ugob
Messages: 271 Registered: March 2007
|
Senior Member |
|
|
Hi,
I've been performaing automated backups using vzdump and lvm snapshots for a while, but it stopped working.
Now I get these errors:
Mar 26 09:53:44 ERROR: creating backup for VPS 104 failed (0.10 minutes): command '/usr/sbin/lvcreate --size 500m --snapshot --name vzsnap /dev//' failed with exit code 3 at /usr/bin/vzdump line 290.
It looks like a variable is not populated correctly for the device name.
It works ok with other methods. Any ideas?
Thanks,
Ugo
Please read the manual before asking questions:
http://download.openvz.org/doc/OpenVZ-Users-Guide.pdf
Please have a look at the wiki before asking questions:
http://wiki.openvz.org/Main_Page
[Updated on: Thu, 26 March 2009 19:13] Report message to a moderator
|
|
|
Re: vzdump lvm snapshot error [message #35451 is a reply to message #35450] |
Thu, 26 March 2009 19:13 |
ugob
Messages: 271 Registered: March 2007
|
Senior Member |
|
|
More details:
/dev/dm-5: read failed after 0 of 4096 at 0: Input/output error
INFO: starting backup for VPS 104 (/vz/private/104)
Use of uninitialized value in concatenation (.) or string at /usr/bin/vzdump line 683.
INFO: creating lvm snapshot of /dev/mapper/VolGroup00-LogVol03 ('/dev//vzsnap')
Use of uninitialized value in concatenation (.) or string at /usr/bin/vzdump line 685.
Use of uninitialized value in concatenation (.) or string at /usr/bin/vzdump line 685.
"/dev//": Invalid path for Logical Volume
The origin name should include the volume group.
Run `lvcreate --help' for more information.
umount: /vzsnap: not mounted
/dev/dm-5: read failed after 0 of 4096 at 0: Input/output error
/dev/dm-5: read failed after 0 of 4096 at 41942974464: Input/output error
/dev/dm-5: read failed after 0 of 4096 at 41943031808: Input/output error
/dev/dm-5: read failed after 0 of 4096 at 0: Input/output error
/dev/dm-5: read failed after 0 of 4096 at 4096: Input/output error
/dev/dm-5: read failed after 0 of 4096 at 0: Input/output error
Volume group "vzsnap" not found
ERROR: creating backup for VPS 104 failed (0.08 minutes): command '/usr/sbin/lvcreate --size 500m --snapshot --name vzsnap /dev//' failed with exit code 3 at /usr/bin/vzdump line 290.
Please read the manual before asking questions:
http://download.openvz.org/doc/OpenVZ-Users-Guide.pdf
Please have a look at the wiki before asking questions:
http://wiki.openvz.org/Main_Page
|
|
|