As many people here, I upgraded my encrypted ZFS Ubuntu system to 21.10,
unaware of the issues with ZFS,

I only used 5.13.0-19 for a day, and began to notice odd things, like: 
incapacity to suspend to RAM, freezes, some process were impossible to kill.
I updated my kernel to 5.13.0-20 and then 5.13.0-21, but I still have issues 
with my ZFS encrypted filesystem. It seems the kernel update does not fix 
everything.

Even now it is unable to suspend (it says some process refuse to suspend), 
which is really annoying for a laptop. Moreoever, automatically scheduled 
"updatedb" and "apt update" get stuck.
Even system shutdown often takes a long time, to the point I have to force it 
with power button. Many times it seems to get stuck waiting for AppArmor.
In addition I keep getting errors with stack traces in dmesg, I put an example 
in attachment.

Now I am wondering what I should do to repair it ? I considered trying
to downgrade my kernel to 5.11.0-37 which was my version before
upgrading to 21.10, but it was automatically removed, and it does not
seem very easy to put it back. I am wondering if it is worth the hassle.

Besides, the ZFS version was also upgraded in the process, and it is not clear 
to me whether I could keep the new version with the old kernel, or not. It 
seems to have evolved from 0.8.4-1ubuntu11.3 to 2.0.2-1ubuntu5.1, and then 
2.0.2-1ubuntu5.2, and 2.0.6-1ubuntu2 (though oddly I cannot find any trace of 
this last version being installed in apt logs).
I am wondering if rolling back to 0.8.4 can do any good ?

My whole system is based on ZFS, if I have to reinstall it all, it will take me 
days to put everything back. Is there a real corruption on the filesystem, 
which would be interpreted as such by an older ZFS version, or is it just new 
2.0.x versions that are disturbed by it ?
Would there be a way to fix the corruption ? Deleting some files or changing 
meta-data ?

Any help would be greatly appreciated !
Thank you.

** Attachment added: "zfs_panic_trace_20211115.log"
   
https://bugs.launchpad.net/ubuntu/+source/zfs-linux/+bug/1906476/+attachment/5540947/+files/zfs_panic_trace_20211115.log

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

Title:
  PANIC at zfs_znode.c:335:zfs_znode_sa_init() // VERIFY(0 ==
  sa_handle_get_from_db(zfsvfs->z_os, db, zp, SA_HDL_SHARED,
  &zp->z_sa_hdl)) failed

To manage notifications about this bug go to:
https://bugs.launchpad.net/zfs/+bug/1906476/+subscriptions


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

Reply via email to