This caused me a major headache and a lot of server downtime. I have
written a detailed description of the situation and how I worked around
it on zfs-discuss here https://zfsonlinux.topicbox.com/groups/zfs-
discuss/Ta4f2dccd6172681c/partial-pool-loss-on-ubuntu-22-upgrade and it
may help others.
And, step 3 should be:
=== Step 3: confirm that the module is loaded ===
# cat /sys/module/zfs/version
2.1.5-1ubuntu6~22.04.1+ossomacfix
=== Summarizing for 2.1.5 ===
```
cd /tmp
wget https://bugs.launchpad.net/ubuntu/+source/zfs-
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to zfs-linux in Ubuntu.
https://bugs.launchpad.net/bugs/1987190
Title:
ZFS unrecoverable error after upgrading from 20.04 to 22.04.1
Status in zfs-linux package in Ubuntu:
Confirmed
Bug
Hi,
Attached an up-to-date patch for 2.1.5-1ubuntu6~22.04.1 to be used in
Walter his steps in #4
(editing in launchpad is hard :-( )
** Patch added: "zfs-dkms-2.1.5-1-fix-zero-mac-io-error.patch"
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to zfs-linux in Ubuntu.
https://bugs.launchpad.net/bugs/1987190
Title:
ZFS unrecoverable error after upgrading from 20.04 to 22.04.1
Status in zfs-linux package in Ubuntu:
Confirmed
Bug
By the way, this is fixed in zfs-2.1.7:
$ git log -1 fa7d572a8a3298d446fc4f64a263c125c325b7c8
commit fa7d572a8a3298d446fc4f64a263c125c325b7c8
Author: Rich Ercolani <214141+rincebr...@users.noreply.github.com>
Date: Tue Nov 15 17:44:12 2022 -0500
Handle and detect #13709's unlock regression
Applying the patch to zfs 2.1.5 helped! I am able to mount the dataset.
Thank you very much for your description @Walter !
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to zfs-linux in Ubuntu.
https://bugs.launchpad.net/bugs/1987190
Affected as well, after upgrading from Ubuntu 20.04 to 22.04.
Also an encrypted dataset.
More then 1TB on our production backup server are not mountable. Very funny.
Thankfully we having more backups servers (without ZFS), so I am chilled. :)
Will try the patch tomorrow and report if it is
I have the same problem. It came up because I upgraded from ubuntu 18.04
LTS to 22.04 LTS (via 20.04 and then immediately upgrading again).
Mainly leaving my comment here to indicate that this is an issue that
affects many users.
The github issue at
... and, answering my own questions:
- both the pre-fix and the post-fix datasets are mountable on a 20.04
zfs-0.8.3 pool (zfs recv'd from an affected 22.04);
- after a mount/unmount, the MAC is fixed, and we have no need for the
patched zfs module anymore.
Cheers,
Walter
--
You received this
The attachment "zfs-dkms-2.1.4-fix-zero-mac-io-error.patch" seems to be
a patch. If it isn't, please remove the "patch" flag from the
attachment, remove the "patch" tag, and if you are a member of the
~ubuntu-reviewers, unsubscribe the team.
[This is an automated message performed by a Launchpad
So. I'm affected as well.
Luckily there is a patch already:
https://patch-diff.githubusercontent.com/raw/openzfs/zfs/pull/14161.patch
HOW TO APPLY
-
=== Step 1: get patch ===
(see zfs-dkms-2.1.4-fix-zero-mac-io-error.patch attachment)
=== Step 2: install zfs-dkms and
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: zfs-linux (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to zfs-linux in Ubuntu.
I saw that downgrading the module was not a very realistic option so I
decided to follow a different route.
It seems that the problem is the same as the one described here
https://github.com/openzfs/zfs/issues/13709. The solution that worked
for me is described here:
14 matches
Mail list logo