Hi,
I had this message on one box, despite the fact that LVM2 is correctly installed and running.
Turn out this box is running a french locale, and numbers are comma separated, not point separated, so lvs output looks like:
making the regex in the get_lvm_mapping function (line 510 in /usr/sbin/vzdump) miss the line.
changing the regex to the following line fixed the problem for me:
of course, setting the locale back to english should also fix the problem...
I had this message on one box, despite the fact that LVM2 is correctly installed and running.
Turn out this box is running a french locale, and numbers are comma separated, not point separated, so lvs output looks like:
Code:
# lvs
LV VG Attr LSize Origin Snap% Move Log Copy% Convert
backup lvm1 -wi-ao 100,00G
swap lvm1 -wi-ao 6,00G
vz lvm1 -wi-ao 200,00G
changing the regex to the following line fixed the problem for me:
Code:
if ($line =~ m|^\s*(\S+):(\S+):(\d+([\.,]\d+))M$|) {