Re: [Users] ERROR: unable to detect lvm volume group, using 'suspend' mode
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-boun...@openvz.org [mailto:users-boun...@openvz.org] On Behalf Of Dietmar Maurer Sent: Mittwoch, 02. September 2009 15:59 To: users@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-boun...@openvz.org [mailto:users-boun...@openvz.org] On Behalf Of Nicolas Gorguès Sent: Dienstag, 18. August 2009 11:32 To: users@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% / tmpfs1000M 0 1000M 0% /lib/init/rw udev 10M 48K 10M 1% /dev tmpfs1000M 0 1000M 0% /dev/shm /dev/sda3 440G 5,8G 412G 2% /backup /dev/mapper/vg0-vz453G 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 Namevg0 LV UUIDcObdzd-ht4E-l3S5-SLeS-g7Lg-bWA2-7nOWb6 LV Write Accessread/write LV Status available # open 1 LV Size460,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 Formatlvm2 Metadata Areas1 Metadata Sequence No 10 VG Access read/write VG Status resizable MAX LV0 Cur LV1 Open LV 1 Max PV0 Cur PV1 Act PV1 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@openvz.org https://openvz.org/mailman/listinfo/users ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
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% / tmpfs1000M 0 1000M 0% /lib/init/rw udev 10M 48K 10M 1% /dev tmpfs1000M 0 1000M 0% /dev/shm /dev/sda3 440G 5,8G 412G 2% /backup /dev/mapper/vg0-vz453G 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 Namevg0 LV UUIDcObdzd-ht4E-l3S5-SLeS-g7Lg-bWA2-7nOWb6 LV Write Accessread/write LV Status available # open 1 LV Size460,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 Formatlvm2 Metadata Areas1 Metadata Sequence No 10 VG Access read/write VG Status resizable MAX LV0 Cur LV1 Open LV 1 Max PV0 Cur PV1 Act PV1 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@openvz.org https://openvz.org/mailman/listinfo/users
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% / tmpfs1000M 0 1000M 0% /lib/init/rw udev 10M 48K 10M 1% /dev tmpfs1000M 0 1000M 0% /dev/shm /dev/sda3 440G 5,8G 412G 2% /backup /dev/mapper/vg0-vz453G 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 Namevg0 LV UUIDcObdzd-ht4E-l3S5-SLeS-g7Lg-bWA2-7nOWb6 LV Write Accessread/write LV Status available # open 1 LV Size460,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 Formatlvm2 Metadata Areas1 Metadata Sequence No 10 VG Access read/write VG Status resizable MAX LV0 Cur LV1 Open LV 1 Max PV0 Cur PV1 Act PV1 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@openvz.org https://openvz.org/mailman/listinfo/users
RE: [Users] ERROR: unable to detect lvm volume group, using 'suspend' mode
Sorry, forget my last answer. I guess the problem is your locale setting. Try to run with LANG=C - Dietmar -Original Message- From: users-boun...@openvz.org [mailto:users-boun...@openvz.org] On Behalf Of Dietmar Maurer Sent: Mittwoch, 02. September 2009 15:59 To: users@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-boun...@openvz.org [mailto:users-boun...@openvz.org] On Behalf Of Nicolas Gorguès Sent: Dienstag, 18. August 2009 11:32 To: users@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% / tmpfs1000M 0 1000M 0% /lib/init/rw udev 10M 48K 10M 1% /dev tmpfs1000M 0 1000M 0% /dev/shm /dev/sda3 440G 5,8G 412G 2% /backup /dev/mapper/vg0-vz453G 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 Namevg0 LV UUIDcObdzd-ht4E-l3S5-SLeS-g7Lg-bWA2-7nOWb6 LV Write Accessread/write LV Status available # open 1 LV Size460,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 Formatlvm2 Metadata Areas1 Metadata Sequence No 10 VG Access read/write VG Status resizable MAX LV0 Cur LV1 Open LV 1 Max PV0 Cur PV1 Act PV1 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@openvz.org https://openvz.org/mailman/listinfo/users ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
RE: [Users] ERROR: unable to detect lvm volume group, using 'suspend' mode
vzvdump snapshot doesn't work at fresh proxmox install : proxmox:~# vzdump --snapshot --compress --dumpdir /backup 101 INFO: Starting new backup job - vzdump --snapshot --compress --dumpdir /backup 101 INFO: Starting Backup of VM 101 (qemu) INFO: status = running ERROR: unable to detect lvm volume group, using 'suspend' mode INFO: starting first sync /var/lib/vz/images/101 to /var/tmp/vzdumptmp9788 So it works - using 'suspend' instead of 'snapshot' mode. Snapshot mode only works if you use LVM2 on /var/lib/vz. What is the output of: # df /var/lib/vz Also, please use the proxmox forum to post proxmox related problems. Regards, - Dietmar ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users