[SOLVED] cannot snapshot EFI disk

kifeo

Active Member
Oct 28, 2019
108
10
38
Hello,

I wanted to test proxmox before migrating from XCP-ng.
I installed a ceph cluster with it, and installed ubuntu server in a VM in UEFI with the EFI disk on the ceph pool.

I ended up with the following error when performing a non-RAM included snapshot :
Task Failed :
qmp command 'blockdev-snapshot-internal-sync' failed - Cannot find device=drive-efidisk0 nor node_name=drive-efidisk0

Would someone please help ?

Thanks
Regards
 
how does the vmconfig look like? (qm config ID)
 
root@proxmox1:~# qm config 102
bootdisk: scsi0
cores: 32
efidisk0: vmpool:vm-102-disk-1,size=128K
ide2: none,media=cdrom
memory: 4096
name: ubuntu1
net0: virtio=00:0c:29:b2:72:fa,bridge=vmbr0,firewall=1
numa: 0
onboot: 1
ostype: l26
scsi0: vmpool:vm-102-disk-0,size=80G
scsihw: virtio-scsi-pci
smbios1: uuid=29a244ed-66a7-4407-9abf-6badb3863767
sockets: 1
vmgenid: a614a0da-947e-41bf-944a-c68ff48514c4
 
and your 'pveversion -v' and '/etc/pve/storage.cfg' ?
also the output of "ps ax | grep -- '-id 102'"
 
root@proxmox1:~# pveversion -v
proxmox-ve: 6.0-2 (running kernel: 5.0.15-1-pve)
pve-manager: 6.0-4 (running version: 6.0-4/2a719255)
pve-kernel-5.0: 6.0-5
pve-kernel-helper: 6.0-5
pve-kernel-5.0.15-1-pve: 5.0.15-1
ceph: 14.2.4-pve1
ceph-fuse: 14.2.4-pve1
corosync: 3.0.2-pve2
criu: 3.11-3
glusterfs-client: 5.5-3
ksm-control-daemon: 1.3-1
libjs-extjs: 6.0.1-10
libknet1: 1.10-pve1
libpve-access-control: 6.0-2
libpve-apiclient-perl: 3.0-2
libpve-common-perl: 6.0-2
libpve-guest-common-perl: 3.0-1
libpve-http-server-perl: 3.0-2
libpve-storage-perl: 6.0-5
libqb0: 1.0.5-1
lvm2: 2.03.02-pve3
lxc-pve: 3.1.0-61
lxcfs: 3.0.3-pve60
novnc-pve: 1.0.0-60
proxmox-mini-journalreader: 1.1-1
proxmox-widget-toolkit: 2.0-5
pve-cluster: 6.0-4
pve-container: 3.0-3
pve-docs: 6.0-4
pve-edk2-firmware: 2.20190614-1
pve-firewall: 4.0-5
pve-firmware: 3.0-2
pve-ha-manager: 3.0-2
pve-i18n: 2.0-2
pve-qemu-kvm: 4.0.0-3
pve-xtermjs: 3.13.2-1
qemu-server: 6.0-5
smartmontools: 7.0-pve2
spiceterm: 3.1-1
vncterm: 1.6-1
zfsutils-linux: 0.8.1-pve1
root@proxmox1:~# more /etc/pve/storage.cfg
dir: local
path /var/lib/vz
content iso,backup,vztmpl

zfspool: local-zfs
pool rpool/data
content images,rootdir
sparse 1

rbd: vmpool
content images,rootdir
krbd 0
pool vmpool

root@proxmox1:~# ps ax | grep -- 'id 102'
1372986 pts/0 S+ 0:00 grep -- id 102
1921010 ? Sl 298:11 /usr/bin/kvm -id 102 -name ubuntu1 -chardev socket,id=qmp,path=/var/run/qemu-server/102.qmp,server,nowait -mon chardev=qmp,mode=control -chardev socket,id=qmp-event,path=/var/run/qmeventd.sock,reconnect=5 -mon chardev=qmp-event,mode=control -pidfile /var/run/qemu-server/102.pid -daemonize -smbios type=1,uuid=29a244ed-66a7-4407-9abf-6badb3863767 -smp 32,sockets=1,cores=32,maxcpus=32 -nodefaults -boot menu=on,strict=on,reboot-timeout=1000,splash=/usr/share/qemu-server/bootsplash.jpg -vnc unix:/var/run/qemu-server/102.vnc,password -cpu kvm64,+lahf_lm,+sep,+kvm_pv_unhalt,+kvm_pv_eoi,enforce -m 4096 -device pci-bridge,id=pci.2,chassis_nr=2,bus=pci.0,addr=0x1f -device pci-bridge,id=pci.1,chassis_nr=1,bus=pci.0,addr=0x1e -device vmgenid,guid=a614a0da-947e-41bf-944a-c68ff48514c4 -device piix3-usb-uhci,id=uhci,bus=pci.0,addr=0x1.0x2 -device usb-tablet,id=tablet,bus=uhci.0,port=1 -device VGA,id=vga,bus=pci.0,addr=0x2 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3 -iscsi initiator-name=iqn.1993-08.org.debian:01:6cc5342d92a8 -drive file=/var/lib/vz/template/iso/ubuntu-18.04.3-live-server-amd64.iso,if=none,id=drive-ide2,media=cdrom,aio=threads -device ide-cd,bus=ide.1,unit=0,drive=drive-ide2,id=ide2,bootindex=200 -device virtio-scsi-pci,id=scsihw0,bus=pci.0,addr=0x5 -drive file=rbd:vmpool/vm-102-disk-0:conf=/etc/pve/ceph.conf:id=admin:keyring=/etc/pve/priv/ceph/vmpool.keyring,if=none,id=drive-scsi0,format=raw,cache=none,aio=native,detect-zeroes=on -device scsi-hd,bus=scsihw0.0,channel=0,scsi-id=0,lun=0,drive=drive-scsi0,id=scsi0,bootindex=100 -netdev type=tap,id=net0,ifname=tap102i0,script=/var/lib/qemu-server/pve-bridge,downscript=/var/lib/qemu-server/pve-bridgedown,vhost=on -device virtio-net-pci,mac=00:0c:29:b2:72:fa,netdev=net0,bus=pci.0,addr=0x12,id=net0,bootindex=300 -machine type=pc
root@proxmox1:~#
 
you did not set the vms bios to ovmf, without this, the efidisk will not be included in the qemu command and cannot be snapshotted..
if you do not need ovmf, you also do not need an efidisk
 
Thanks !
Indeed I detached the disk, rebooted the VM and this was not used.
I suppose I wanted to install the vm in UEFI but then reverted to a BIOS without removing the disk.

Then I removed the EFI disk and I could snapshot the VM.

Best Regards,
Kifeo
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!