[Users] ERROR: unable to detect lvm volume group, using 'suspend'
mode
Nicolas Gorguès
nicolas.gorgues at siloh.fr
Sat Sep 5 08:16:48 EDT 2009
Thanks a lot! it perfectly works now:
# env LANG=C vzdump --dumpdir /backup --snapshot 101
INFO: Starting new backup job - vzdump --dumpdir /backup --snapshot 101
INFO: Starting Backup of VM 101 (openvz)
INFO: status = CTID 101 exist mounted running
INFO: creating lvm snapshot of /dev/mapper/vg0-vz ('/dev/vg0/vzsnap')
INFO: Logical volume "vzsnap" created
INFO: mounting lvm snapshot
INFO: creating archive '/backup/vzdump-101.dat' (/mnt/vzsnap/private/101)
INFO: Total bytes written: 817643520 (780MiB, 9.8MiB/s)
INFO: file size 779MB
INFO: Logical volume "vzsnap" successfully removed
INFO: Finished Backup of VM 101 (00:01:32)
(my LANG setting is fr_FR-UTF8)
Nicolas.
Dietmar Maurer a écrit :
> Sorry, forget my last answer. I guess the problem is your locale setting. Try to run with LANG=C
>
> - Dietmar
>
>
>> -----Original Message-----
>> From: users-bounces at openvz.org [mailto:users-bounces at openvz.org] On
>> Behalf Of Dietmar Maurer
>> Sent: Mittwoch, 02. September 2009 15:59
>> To: users at openvz.org
>> Subject: RE: [Users] ERROR: unable to detect lvm volume group, using
>> 'suspend' mode
>>
>> The problem is the '-' in the volume group name. I will fix that bug in
>> the next vzdump release (soon).
>>
>>
>>> -----Original Message-----
>>> From: users-bounces at openvz.org [mailto:users-bounces at openvz.org] On
>>> Behalf Of Nicolas Gorguès
>>> Sent: Dienstag, 18. August 2009 11:32
>>> To: users at openvz.org
>>> Subject: RE: [Users] ERROR: unable to detect lvm volume group, using
>>> 'suspend' mode
>>>
>>> Hello,
>>>
>>> I have the same problem here, under Debian Lenny:
>>>
>>> # uname -a
>>> Linux breizh.siloh.net 2.6.24-7-pve #1 SMP PREEMPT Mon Aug 17
>>>
>> 10:37:00
>>
>>> CEST 2009 x86_64 GNU/Linux
>>>
>>> # vzctl --help | grep version
>>> vzctl version 3.0.23-1pve3
>>>
>>> #apt-cache show vzdump | grep Version
>>> Version: 1.1-2
>>>
>>> # df -h
>>> Sys. de fich. Tail. Occ. Disp. %Occ. Monté sur
>>> /dev/sda1 9,7G 740M 8,5G 8% /
>>> tmpfs 1000M 0 1000M 0% /lib/init/rw
>>> udev 10M 48K 10M 1% /dev
>>> tmpfs 1000M 0 1000M 0% /dev/shm
>>> /dev/sda3 440G 5,8G 412G 2% /backup
>>> /dev/mapper/vg0-vz 453G 3,3G 427G 1% /var/lib/vz
>>>
>>> # vzdump --dumpdir /backup --snapshot 101
>>> INFO: Starting new backup job - vzdump --dumpdir /backup --snapshot
>>>
>> 101
>>
>>> INFO: Starting Backup of VM 101 (openvz)
>>> INFO: status = CTID 101 exist mounted running
>>> ERROR: unable to detect lvm volume group, using 'suspend' mode
>>> INFO: starting first sync /var/lib/vz/private/101 to
>>> /backup/tmp/vzdumptmp29021
>>>
>>> # lvdisplay
>>> --- Logical volume ---
>>> LV Name /dev/vg0/vz
>>> VG Name vg0
>>> LV UUID cObdzd-ht4E-l3S5-SLeS-g7Lg-bWA2-7nOWb6
>>> LV Write Access read/write
>>> LV Status available
>>> # open 1
>>> LV Size 460,00 GB
>>> Current LE 29440
>>> Segments 1
>>> Allocation inherit
>>> Read ahead sectors auto
>>> - currently set to 256
>>> Block device 254:0
>>>
>>> # vgdisplay
>>> --- Volume group ---
>>> VG Name vg0
>>> System ID
>>> Format lvm2
>>> Metadata Areas 1
>>> Metadata Sequence No 10
>>> VG Access read/write
>>> VG Status resizable
>>> MAX LV 0
>>> Cur LV 1
>>> Open LV 1
>>> Max PV 0
>>> Cur PV 1
>>> Act PV 1
>>> VG Size 465,75 GB
>>> PE Size 16,00 MB
>>> Total PE 29808
>>> Alloc PE / Size 29440 / 460,00 GB
>>> Free PE / Size 368 / 5,75 GB
>>> VG UUID 34LpzH-k8Ym-a6Mi-GTrO-OYDh-awIJ-rWqd4p
>>>
>>> I can't see where I got wrong.... Any idea?
>>>
>>> Regards,
>>>
>>> Nicolas.
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at openvz.org
>>> https://openvz.org/mailman/listinfo/users
>>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at openvz.org
>> https://openvz.org/mailman/listinfo/users
>>
>
>
>
> _______________________________________________
> Users mailing list
> Users at openvz.org
> https://openvz.org/mailman/listinfo/users
>
More information about the Users
mailing list