3 Day Snapshot Retention for Ceph RBD Storage

cph-cvm

New Member
Nov 1, 2024
3
0
1
We are still investigating if Ceph will be good for our production storage. We love the high availability and speed of Ceph, but there are certain aspects that we miss from VMWare and iSCSI storage.

One of them being snapping a storage pool. We know this would be possible with Ceph if Proxmox supported CephFS as VM Storage. We also understand the underlying issue with Ceph where if we were to do temporary snapshots for a VM with RBD disks, we should definitely not snapshot the storage pool as well, as there could be issues.

What I am looking to find out is if we were to setup a script to schedule snapshots with the Proxmox API, and keep a retention of 3 for 3 days, would there be any significant issues? From my quick testing the performance difference does not seem to be much different, but I am mostly worried about Proxmox Backup and the Fleecing option, as we use this option for all of our backups.

Any insight would be greatly appreciated.
 
You can mount your cephfs on all nodes and define in datacenter storage dir shared to reach that. Do test vm's and lxc's, take multiple snapshots, backup's and even test restores.
 
Ended up not working, the snaps of the running VM's would break the snapped vm disk, would not boot correctly for Ubuntu Linux or Windows 11, legacy and UEFI.
 
Hey @cph-cvm, try instead for vm "qm suspend <vmid>", do ceph snapshot (see manual) of and "qm resume <vmid>" after, for lxc do analog "lxc-freeze -n <vmis>" and "lxc-unfreeze -n <vmid>" !!
 
Ceph if Proxmox supported CephFS as VM Storage.
you CAN do that, but its really not a good idea when RBD exists.

try instead for vm "qm suspend <vmid>", do ceph snapshot (see manual) of and "qm resume <vmid>" after,
When using the pve api, that is the sequence that happens; @cph-cvm did you issue the snapshots from the proxmox interface? if so, post the task log.
 

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!