I've also gotten bitten by this. Upgrading to Ubuntu 21.10 caused weird filesystem issues to be present on my ZFS filesystem, with errors on the command-line such as:
Cannot access 'foobar': No such file or directory
When running ls -l in some directory, I get question marks, like this:
I tried to select the "revert" option in the Grub boot menu to go back to Ubuntu 21.04, and that worked.
I then tried to install a fresh installation of Ubuntu 21.10 from a USB stick, selecting the ZFS option with encryption, and I am getting these errors again.
I only noticed now this note in the release notes:
> The version of the ZFS driver included in the 5.13.0-19 kernel contains a bug 16 that can result in filesystem corruption. Users of ZFS are advised to wait until the first Stable Release Update of the kernel in 21.10 before upgrading.
I know that this comment is not that useful to Ubuntu developers, but I'm posting it for the benefit of those searching for this issue in their favourite search engine.
I've also gotten bitten by this. Upgrading to Ubuntu 21.10 caused weird filesystem issues to be present on my ZFS filesystem, with errors on the command-line such as:
Cannot access 'foobar': No such file or directory
When running ls -l in some directory, I get question marks, like this:
-????????? ? ? ? ? ? enum_binary_ params. hpp
-????????? ? ? ? ? ? enum.hpp
I tried to select the "revert" option in the Grub boot menu to go back to Ubuntu 21.04, and that worked.
I then tried to install a fresh installation of Ubuntu 21.10 from a USB stick, selecting the ZFS option with encryption, and I am getting these errors again.
I only noticed now this note in the release notes:
> The version of the ZFS driver included in the 5.13.0-19 kernel contains a bug 16 that can result in filesystem corruption. Users of ZFS are advised to wait until the first Stable Release Update of the kernel in 21.10 before upgrading.
I know that this comment is not that useful to Ubuntu developers, but I'm posting it for the benefit of those searching for this issue in their favourite search engine.