Snapshot VM running on Logical Volume

kcrawford

Renowned Member
Nov 29, 2013
21
2
68
Hello,

I am attempting to snapshot a stopped Virtual Machine. The VM is Windows XP and is powered off during this attempt. The "Take Snapshot" button in the web gui is grayed out in the "Snapshots" tab. I also attempted to snapshot the VM through the cli and received the following error.

Code:
root@proxmox:~# qm snapshot 105 test
snapshot feature is not available at /usr/share/perl5/PVE/QemuServer.pm line 4353.

root@proxmox:~# qm config 105
args: -vnc 0.0.0.0:5
bootdisk: ide0
cores: 1
ide0: container_storage:vm-105-disk-1,size=40G
ide2: cdrom,media=cdrom
memory: 1024
name: winxp-victim
net0: e1000=B6:4F:50:E0:1C:02,bridge=vmbr1
ostype: wxp
sockets: 1

I believe the problem here is that I am using LVM as storage for my disk images. There is no content drop-down menu when editing the LVM group "container_storage".

Is there any way around this? The LVM information is below.

Code:
root@proxmox:~# lvs  
  LV             VG      Attr      LSize   Pool Origin Data%  Move Log Copy%  Convert
  data           pve     -wi-ao---  59.25g                                           
  root           pve     -wi-ao---  29.75g                                           
  swap           pve     -wi-ao---  14.88g                                           
  iso_storage    sky-vol -wi-ao---  30.00g                                           
  splunk_storage sky-vol -wi-ao--- 205.00g                                           
  vm-100-disk-1  sky-vol -wi-a----  40.00g                                           
  vm-101-disk-1  sky-vol -wi-a----  50.00g                                           
  vm-102-disk-1  sky-vol -wi-a---- 500.00g                                           
  vm-103-disk-1  sky-vol -wi-a---- 200.00g                                           
  vm-103-disk-2  sky-vol -wi-a----   1.00t                                           
  vm-104-disk-1  sky-vol -wi-ao---  10.00g                                           
  vm-105-disk-1  sky-vol -wi-a----  40.00g                                           
  vm-107-disk-1  sky-vol -wi-a---- 100.00g                                           
  vm-108-disk-1  sky-vol -wi-a----  32.00g                                           
  vm-109-disk-1  sky-vol -wi-a----  32.00g

Code:
root@proxmox:~# vgs  
  VG      #PV #LV #SN Attr   VSize   VFree 
  pve       1   3   0 wz--n- 118.74g 14.87g
  sky-vol   1  12   0 wz--n-   8.19t  5.98t

Code:
root@proxmox:~# pvs  
  PV         VG      Fmt  Attr PSize   PFree  
  /dev/sda   sky-vol lvm2 a--    8.19t   5.98t
  /dev/sdb2  pve     lvm2 a--  118.74g  14.87g
  /dev/sdc           lvm2 a--  119.24g 119.24g

Regards,

Kris Crawford