I just upgraded from 14.04 to 16.04  4.4.0-64-generic

At first the modprobe zfs seemed to work if done manually after boot.
Once I removed zfsutils-linux, and re-installed it would no longer work.
I tried multiple variations of removing and re-adding ZFS, and did purge all 
old ZFS versions from Trusty install.

The only fix I could get to function was to modify the source for zpl_xattr.c
There were two calls to posix_acl_valid, one in __zpl_xattr_acl_set_access, and 
one in __zpl_xattr_acl_set_default.
I changed them as described above, and did dpkg-reconfigure zfs-dkms

The ZFS kernel module would not load until I rebooted, then it all came
up and mounted my ZFS pools automatically.

It appears this fix is already in the master ZFS on Linux source:
https://github.com/zfsonlinux/zfs/blob/master/module/zfs/zpl_xattr.c

Hopefully this will end up in Ubuntu soon?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1654708

Title:
  Trying to reinstall ZFS on Xenial. Cannot mount existing zpool with
  identifier from /mnt/disk/by-id/xxxx

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/zfs-linux/+bug/1654708/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to