ZFS Datasets no longer mount

Notice: Page may contain affiliate links for which we may earn a small commission through services like Amazon Affiliates or Skimlinks.

nitrobass24

Moderator
Dec 26, 2010
1,087
131
63
TX
So i recently upgraded from Ubuntu 21.04 to 21.10 and now my ZFS datasets wont mount.

I have tried exporting the pool and re-importing the pool, but even trying it with the Forced options continue to fail.

Code:
root@daviserver:~# zfs mount -af
cannot mount 'ssdpool/sftpsync': Insufficient privileges
cannot mount 'ssdpool/sftpsync': Insufficient privileges
cannot mount 'ssdpool/docker': mount failed
syslog shows the following, but im not sure what it means.
Code:
Oct 17 13:19:21 daviserver kernel: [62900.992374] VFS: "mand" mount option not supported
Oct 17 13:19:21 daviserver kernel: [64689.402851] VFS: "mand" mount option not supported
Oct 17 13:19:21 daviserver kernel: [64689.402930] VFS: "mand" mount option not supported
 

Dlizzz

New Member
Oct 28, 2021
1
0
1
Hi,

This happens with ubuntu 21.10 if you have the "nbmand" (non-blocking mandatory locks) property set to "on" for your dataset. Set it to "off" and you'll be able to mount your dataset again. "nbmand" is needed if you share your dataset with Samba and NFS at the same time.