S schoeppi Member Proxmox Subscriber Jun 1, 2023 35 14 13 Jun 25, 2025 #1 Is it possible to read-only mount a ZFS snapshot of a running VM? There is Linux running on the snapshotted VM, if that matters. We need to perform virus scanning on all our Linux VMs and I thought this could be a way to do it.
Is it possible to read-only mount a ZFS snapshot of a running VM? There is Linux running on the snapshotted VM, if that matters. We need to perform virus scanning on all our Linux VMs and I thought this could be a way to do it.
LnxBil Distinguished Member Feb 21, 2015 10,293 2,377 303 Saarland, Germany Jun 25, 2025 #2 Yes, a snapshot is per-se read only. You may need to clone it (make it writeable) to mount some filesystems with a journal. There is also this interessting looking project still on my todo list: https://github.com/abbbi/pbsav This does the same but uses backups from PBS. Reactions: Kingneutron
Yes, a snapshot is per-se read only. You may need to clone it (make it writeable) to mount some filesystems with a journal. There is also this interessting looking project still on my todo list: https://github.com/abbbi/pbsav This does the same but uses backups from PBS.