Hi all,
I'm running a 2-node cluster of Proxmox VE 2.2 with all the latest patches applied.
I have an iSCSI volume attached an put under LVM control (no direct access possible). Unfortunately whenever I try to create a snapshot of a VM on this storage the task immediately throws an error, e.g.:
TASK ERROR: can't snapshot volume 'lvm-iscsi:vm-210-disk-1'
In the logs it says:
syslog:Feb 13 16:32:42 megasrv02 qm[14704]: <root@pam> starting task UPID:megasrv02:00003971:0009BFA7:511BB21A:qmsnapshot:210:root@pam:
syslog:Feb 13 16:32:42 megasrv02 qm[14704]: <root@pam> end task UPID:megasrv02:00003971:0009BFA7:511BB21A:qmsnapshot:210:root@pam: can't snapshot volume 'lvm-iscsi:vm-210-disk-1'
If I try the qm tool directly I run into the same issue:
root@megasrv02:/var/log# qm snapshot 210 test
can't snapshot volume 'lvm-iscsi:vm-210-disk-1'
Here are the details about th volume group and logical volume:
--- Volume group ---
VG Name vg_images
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 15
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 4
Open LV 1
Max PV 0
Cur PV 1
Act PV 1
VG Size 500.00 GiB
PE Size 4.00 MiB
Total PE 127999
Alloc PE / Size 14336 / 56.00 GiB
Free PE / Size 113663 / 444.00 GiB
VG UUID pzOmFn-wDWp-x48q-FjYm-wc16-YiBS-X3Onqg
--- Logical volume ---
LV Path /dev/vg_images/vm-210-disk-1
LV Name vm-210-disk-1
VG Name vg_images
LV UUID qXDq6E-n20o-BHWg-2meF-OiNi-fq02-5s7Ej8
LV Write Access read/write
LV Creation host, time megasrv02, 2013-01-11 16:17:37 +0100
LV Status available
# open 1
LV Size 8.00 GiB
Current LE 2048
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:6
I can manage snaphost manually, though:
root@megasrv02:/var/log# lvcreate -s /dev/vg_images/vm-210-disk-1 -n snap-210-disk-1 -L2G
Logical volume "snap-210-disk-1" created
root@megasrv02:/var/log# lvremove /dev/vg_images/snap-210-disk-1
Do you really want to remove active logical volume snap-210-disk-1? [y/n]: y
Logical volume "snap-210-disk-1" successfully removed
What am I doing wrong? Digging the forum it get the impresseion that the snapshot funcionality is working for everyone but me!?!?
Any
I'm running a 2-node cluster of Proxmox VE 2.2 with all the latest patches applied.
I have an iSCSI volume attached an put under LVM control (no direct access possible). Unfortunately whenever I try to create a snapshot of a VM on this storage the task immediately throws an error, e.g.:
TASK ERROR: can't snapshot volume 'lvm-iscsi:vm-210-disk-1'
In the logs it says:
syslog:Feb 13 16:32:42 megasrv02 qm[14704]: <root@pam> starting task UPID:megasrv02:00003971:0009BFA7:511BB21A:qmsnapshot:210:root@pam:
syslog:Feb 13 16:32:42 megasrv02 qm[14704]: <root@pam> end task UPID:megasrv02:00003971:0009BFA7:511BB21A:qmsnapshot:210:root@pam: can't snapshot volume 'lvm-iscsi:vm-210-disk-1'
If I try the qm tool directly I run into the same issue:
root@megasrv02:/var/log# qm snapshot 210 test
can't snapshot volume 'lvm-iscsi:vm-210-disk-1'
Here are the details about th volume group and logical volume:
--- Volume group ---
VG Name vg_images
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 15
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 4
Open LV 1
Max PV 0
Cur PV 1
Act PV 1
VG Size 500.00 GiB
PE Size 4.00 MiB
Total PE 127999
Alloc PE / Size 14336 / 56.00 GiB
Free PE / Size 113663 / 444.00 GiB
VG UUID pzOmFn-wDWp-x48q-FjYm-wc16-YiBS-X3Onqg
--- Logical volume ---
LV Path /dev/vg_images/vm-210-disk-1
LV Name vm-210-disk-1
VG Name vg_images
LV UUID qXDq6E-n20o-BHWg-2meF-OiNi-fq02-5s7Ej8
LV Write Access read/write
LV Creation host, time megasrv02, 2013-01-11 16:17:37 +0100
LV Status available
# open 1
LV Size 8.00 GiB
Current LE 2048
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:6
I can manage snaphost manually, though:
root@megasrv02:/var/log# lvcreate -s /dev/vg_images/vm-210-disk-1 -n snap-210-disk-1 -L2G
Logical volume "snap-210-disk-1" created
root@megasrv02:/var/log# lvremove /dev/vg_images/snap-210-disk-1
Do you really want to remove active logical volume snap-210-disk-1? [y/n]: y
Logical volume "snap-210-disk-1" successfully removed
What am I doing wrong? Digging the forum it get the impresseion that the snapshot funcionality is working for everyone but me!?!?
Any