Solved: ZFS snapshot - Unable to automount

grassu

Renowned Member
Jun 6, 2013
2
0
66
Hi,

I receive this warning
Jul 27 20:56:35 backup kernel: [87320.997852] WARNING: Unable to automount /var/backup/.zfs/snapshot/2016-07-27-190000/rpool/fkdms/subvol-100-disk-1@2016-07-27-190000: 512
while trying to access a zfs snapshot inside an lxc container.

The zfs dataset is bind mounted readonly to the container.
Snapshots are regularly created with znapzend on the proxmox host.

Any help is welcome.

grassu

edit: tried it again with disabled AppArmor with no success
 
Last edited:
Works now. Obviously it was an path configuration error. I had to bind mount the zfs dataset in the lxc container to the same path as in the host.
 
Hi Grassu,
Could you give some more specific explanations on how you achieved this ?
I simply had the .zfs seen in the rootdir in the container (zfs set snapdir=visible) but suddenly it disappeared.
thanks !
 

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!