Snapshot feature not available

jermudgeon

Renowned Member
Apr 7, 2016
33
2
73
46
I'm running the latest PVE with containers backed by CEPH. Somewhere in the past I stopped being able to snapshot containers. Backup jobs *can and do* make snapshots, but external tools are failing — for example,

Code:
INFO: filesystem type on dumpdir is 'ceph' -using /var/tmp/vzdumptmp547208_105 for temporary files
INFO: Starting Backup of VM 105 (lxc)
INFO: Backup started at 2024-03-29 00:00:00
INFO: status = running
INFO: CT Name: grafana01
INFO: including mount point rootfs ('/') in backup
INFO: excluding bind mount point mp0 ('/mnt/grafana') from backup (not a volume)
INFO: backup mode: snapshot
INFO: ionice priority: 7
INFO: create storage snapshot 'vzdump'
Creating snap: 10% complete...
Creating snap: 100% complete...done.
/dev/rbd6
INFO: creating vzdump archive '/mnt/pve/cephfs/dump/vzdump-lxc-105-2024_03_29-00_00_00.tar.zst'

but

Code:
# pct snapshot 105 testsnap -description "Testing LXC snapshot on ceph"
snapshot feature is not available

here's the LXC storage config:
rootfs: ceph_vm_rep:vm-105-disk-0,size=16G

and here's the storage config:

Code:
rbd: ceph_vm_rep
        content images,rootdir
        krbd 1
        pool ceph_vm_rep

According to the guide https://pve.proxmox.com/pve-docs/pve-admin-guide.html#chapter_storage ceph should be snapshottable -- and used to be.

Any ideas of where to go from here? Is it a missing attribute in the ceph pool config post upgrade to 17 or 18? I've been using containers for almost 10 years and could snapshot them in the past!
 
Backup snapshot is not the same thing as volume/vm snapshot.
I think the clue is in the backup log - /mnt/graphana is not a volume, so it cant be snapshotted. I believe PVE requires all storage parts of the VM to be able to take snapshot.
Try to snapshot with mp0 removed.



Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
 
  • Like
Reactions: Tmanok
Try to snapshot with mp0 removed.



Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox

100% correct. I found the unimplemented feature request here:
https://bugzilla.proxmox.com/show_bug.cgi?id=1007
and this discussion
https://forum.proxmox.com/threads/why-do-bind-mounts-prevent-snapshots.85495/

Annoyingly, the mount points are cephfs, which supports snapshots. I'm not sure mounting a host directory using lxc.mount.entry, is a good idea, as I'm using lxc.idmap
 
  • Like
Reactions: bbgeek17

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!