zfs no snapshots available

openaspace

Active Member
Sep 16, 2019
483
10
38
Italy
Hello
I mount zfs not local-zfs path and snapshot isn't available, how i can solve?

prx1-Proxmox-Virtual-Environment(2).png

also snapshots aren't available for btrfs.
thank you for the support
 
...if i covert vps on zfs to qcow snapshot is on, but if i try to move to btrfs it give me only raw option without snapshot, it's normal?
..also CT on zfs are with snapshot disabled...why?

could be the additional mount point on the container pointing to other disk folder? no .. i think.. other CT are without mountpoint and..snapshot isn't available.
 
Last edited:
could be the additional mount point on the container pointing to other disk folder? no .. i think.. other CT are without mountpoint and..snapshot isn't available.
When working with mount points and not all mount points support snapshotting, then the whole LXC won't allow you to snapshot.
...if i covert vps on zfs to qcow snapshot is on, but if i try to move to btrfs it give me only raw option without snapshot, it's normal?
Please show us your actual storage config: cat /etc/pve/storage.cfg
Because storing virtual disks as raw-files on a directory storge doesn't support any snapshots, no matter what storage is used below that. If you want raw snapshots you need to use a "ZFSPool" type storage" which will then create zvols or datasets instead of raw files.
 
thank you for the support!
dir: local path /var/lib/vz content rootdir,snippets,images,vztmpl,backup shared 0 btrfs: local-btrfs path /var/lib/pve/local-btrfs content iso dir: zfs-proxmox-data path /zfs-sas/proxmox-data content vztmpl,rootdir,images,snippets prune-backups keep-all=1 shared 0 dir: zfs-sata1-proxmox path /zfs-sata1/proxmox content rootdir,snippets,images,iso,backup,vztmpl prune-backups keep-all=1 shared 0 dir: Da-Hetzner disable path /zfs-sas/file-storage/AAA_HETZNER_PROXMOX content backup,vztmpl,images,snippets,rootdir,iso prune-backups keep-all=1 shared 0
 
Both your "zfs-proxmox-data" and "zfs-sata1-proxmox" are of type "dir" and not "zfspool". So they are both directory storages and directory storages can't make use of features of the underlaying ZFS. So there is no ZFS native snapshot feature and therefore no snapshotting of "raw" format virtual disks.
If you want to use snapshotting with "raw" you need to use a "zfspool" storage.
 
thank you.

You mean that i need to create dedicated zfs file system ? but will be always a directory for proxmox?
or it need direct formatted zfs hd ?
 
Last edited:
zpool list
NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
zfs-sas 7.25T 5.94T 1.31T - - 11% 81% 1.00x ONLINE -
zfs-sata1 2.72T 2.28T 453G - - 1% 83% 1.00x ONLINE -

zfs list
NAME USED AVAIL REFER MOUNTPOINT
zfs-sas 5.94T 1.18T 120K /zfs-sas
zfs-sas/file-storage 1.90T 1.18T 1.90T /zfs-sas/file-storage
zfs-sas/vztmp 96K 1.18T 96K /mnt/vztmp
zfs-sata1 2.28T 367G 325G /zfs-sata1
zfs-sata1/file-storage 1.96T 367G 1.96T /zfs-sata1/file-storage
 
Last edited:
I mean you need to create a storage of type "zfspool" pointing to a pool or a dataset (I would prefer a dataset).
See PVE webUI: Datacenter -> Storage -> Add -> ZFS
 
Last edited:

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!