OpenVZ Forum


Home » General » Support » [SOLVED] vzdump snapshot: mode failure - unable to detect lvm volume group (Cannot make a snapshot dump because of bad LVM detection)
get_lvm_mapping regex solved [message #41023 is a reply to message #41022] Thu, 04 November 2010 17:56 Go to previous message
narcisgarcia is currently offline  narcisgarcia
Messages: 41
Registered: May 2009
Member
I'm using vzdump 1.2.4
A patch is needed for function get_lvm_mapping in the file "VZDump.pm":

Change the line:
if ($line =~ m|^\s*(\S+):(\S+):(\d+(\.\d+))M$|) {

For the following:
if ($line =~ m|^\s*(\S+):(\S+):(\d+([\.,]\d+))[mM]$|) {


Then LVM devices will be well-detected worldwide.


Narcis Garcia

[Updated on: Sun, 14 November 2010 13:30]

Report message to a moderator

 
Read Message
Read Message
Previous Topic: Wrong second level quotas for specific users
Next Topic: Can't ping HN from VEs; ssh to VEs connects directly to HN
Goto Forum:
  


Current Time: Fri Jul 25 08:19:57 GMT 2025

Total time taken to generate the page: 0.24122 seconds