There is a PR in the notes for
https://jira.ixsystems.com/browse/NAS-113052,
https://github.com/truenas/middleware/pull/7796, which I manually applied. It fixes the issue for me.
Code:
--- a/usr/lib/python3/dist-packages/middlewared/plugins/pool.py
+++ b/usr/lib/python3/dist-packages/middlewared/plugins/pool.py
@@ -1852,7 +1852,9 @@ def import_on_boot(self, job):
'Failed to inherit mountpoints for %s', pool['name'], exc_info=True,
)
- unlock_job = self.middleware.call_sync('pool.dataset.unlock', pool['name'], {'recursive': True})
+ unlock_job = self.middleware.call_sync(
+ 'pool.dataset.unlock', pool['name'], {'recursive': True, 'toggle_attachments': False}
+ )
unlock_job.wait_sync()
if unlock_job.error or unlock_job.result['failed']:
failed = ', '.join(unlock_job.result['failed']) if not unlock_job.error else ''
To apply this patch, boot back into your working 21.08-BETA.2. Save the patch into a file (for example, ~root/7796.patch) Then, on the command line,
Code:
$ sudo bash
# mkdir /mnt/2202
# mount -t zfs boot-pool/ROOT/22.02-RC.1 /mnt/2202
# cd /mnt/2202
# patch -p1 < 7796.patch
# cd /
# umount /mnt/2202
# rmdir /mnt/2202
You can now reboot into 22.02-RC.1.