[PVE-User] vzdump bug with different than C (fr_FR at euro in my case) locales

Martin Maurer martin at proxmox.com
Mon Feb 27 10:38:44 CET 2012


Pls file a bug on http://bugzilla.proxmox.com

Martin

> -----Original Message-----
> From: pve-user-bounces at pve.proxmox.com [mailto:pve-user-
> bounces at pve.proxmox.com] On Behalf Of Laurent CARON
> Sent: Dienstag, 21. Februar 2012 12:33
> To: pve-user at pve.proxmox.com
> Subject: [PVE-User] vzdump bug with different than C (fr_FR at euro in my case)
> locales
> 
> Hi,
> 
> While backing up VMs, I see that the backups are always done using suspend
> instead of snapshots:
> 
> # vzdump --mode snapshot --mailto admin-proxmox at lncsa.fr --all 1 --node
> proxmox-vty-001 --maxfiles 2 --storage backups_tmm
> INFO: starting new backup job: vzdump --mailto admin-proxmox at lncsa.fr --
> mode snapshot --maxfiles 2 --storage backups_tmm --node proxmox-vty-001 --
> all 1
> INFO: Starting Backup of VM 701 (qemu)
> INFO: status = running
> INFO: mode failure - unable to detect lvm volume group
> INFO: trying 'suspend' mode instead
> INFO: backup mode: suspend
> INFO: ionice priority: 7
> INFO: suspend vm
> INFO: creating archive '/mnt/pve/backups_tmm/dump/vzdump-qemu-701-
> 2012_02_21-12_25_53.tar'
> INFO: adding '/mnt/pve/backups_tmm/dump/vzdump-qemu-701-2012_02_21-
> 12_25_53.tmp/qemu-server.conf' to archive ('qemu-server.conf')
> INFO: adding '/dev/VG_SSD_proxmox-vty-001/vm-701-disk-2' to archive ('vm-
> disk-ide0.raw')
> INFO: Total bytes written: 2147486208 (20.90 MiB/s)
> INFO: archive file size: 2.00GB
> INFO: delete old backup '/mnt/pve/backups_tmm/dump/vzdump-qemu-701-
> 2012_02_21-12_02_51.tar'
> INFO: resume vm
> INFO: vm is online again after 108 seconds
> INFO: Finished Backup of VM 701 (00:01:50)
> INFO: Backup job finished successfully
> 
> When specifying LC_ALL=C I don't experience this behavior (LANG=C is not
> enough)
> 
> # LC_ALL=C vzdump --mode snapshot --mailto admin-proxmox at lncsa.fr --all 1 -
> -node proxmox-vty-001 --maxfiles 2 --storage backups_tmm
> INFO: starting new backup job: vzdump --mailto admin-proxmox at lncsa.fr --
> mode snapshot --maxfiles 2 --storage backups_tmm --node proxmox-vty-001 --
> all 1
> INFO: Starting Backup of VM 701 (qemu)
> INFO: status = running
> INFO: backup mode: snapshot
> INFO: ionice priority: 7
> INFO:   Logical volume "vzsnap-proxmox-vty-001-0" created
> INFO: creating archive '/mnt/pve/backups_tmm/dump/vzdump-qemu-701-
> 2012_02_21-12_24_29.tar'
> INFO: adding '/mnt/pve/backups_tmm/dump/vzdump-qemu-701-2012_02_21-
> 12_24_29.tmp/qemu-server.conf' to archive ('qemu-server.conf')
> INFO: adding '/dev/VG_SSD_proxmox-vty-001/vzsnap-proxmox-vty-001-0' to
> archive ('vm-disk-ide0.raw')
> INFO: Total bytes written: 2147486208 (42.67 MiB/s)
> INFO: archive file size: 2.00GB
> INFO: delete old backup '/mnt/pve/backups_tmm/dump/vzdump-qemu-701-
> 2012_02_21-11_41_49.tar'
> INFO: Finished Backup of VM 701 (00:00:56)
> INFO: Backup job finished successfully
> 
> My locales on this system:
> LANG=C
> LANGUAGE=C
> LC_ALL=fr_FR at euro
> LC_CTYPE=fr_FR at euro
> 
> # pveversion --verbose
> pve-manager: 2.0-28 (pve-manager/2.0/30bb4d33) running kernel: 2.6.32-7-
> pve
> proxmox-ve-2.6.32: 2.0-60
> pve-kernel-2.6.32-6-pve: 2.6.32-55
> pve-kernel-2.6.32-7-pve: 2.6.32-60
> lvm2: 2.02.88-2pve1
> clvm: 2.02.88-2pve1
> corosync-pve: 1.4.1-1
> openais-pve: 1.1.4-1
> libqb: 0.10.1-2
> redhat-cluster-pve: 3.1.8-3
> resource-agents-pve: 3.9.2-3
> fence-agents-pve: 3.1.7-1
> pve-cluster: 1.0-22
> qemu-server: 2.0-17
> pve-firmware: 1.0-15
> libpve-common-perl: 1.0-14
> libpve-access-control: 1.0-11
> libpve-storage-perl: 2.0-11
> vncterm: 1.0-2
> vzctl: 3.0.30-2pve1
> vzprocps: 2.0.11-2
> vzquota: 3.0.12-3
> pve-qemu-kvm: 1.0-3
> ksm-control-daemon: 1.1-1
> 
> _______________________________________________
> pve-user mailing list
> pve-user at pve.proxmox.com
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user





More information about the pve-user mailing list