Unable to access snapshots on datasets listed in ZFS_INITRD_ADDITIONAL_DATASETS under .zfs/snapshot/...
#11563
Labels
Status: Stale
No recent activity for issue
Status: Triage Needed
New issue which needs to be triaged
Type: Defect
Incorrect behavior (e.g. crash, hang)
System information
Describe the problem you're observing
Accessing snapshots on datasets listed in ZFS_INITRD_ADDITIONAL_DATASETS under
.zfs/snapshot/...
is not possible; the only workaround is to explicitly mount them using "mount -zfs <snapshot> <directory>".This does not affect the
rpool/ROOT/ubuntu_XXXXXX
dataset hierarchy (using zstd compression/encrypted) norbpool/BOOT/ubuntu_XXXXXX
(lz4 compression/unencrypted, mounted usingzfs-import-bpool.service
as adopted from the Root on ZFS tutorials for both Ubuntu, Debian).(This looks similar to Issue #9461, but given that I get different error messages and use ZFS_INITRD_ADDITIONAL_DATASETS, this might warrant a separate issue.)
Describe how to reproduce the problem
Just try to access a snapshot on a dataset (either created locally or received from elsewhere) as described above.
Resulting errors differ (note that the second snapshot below has been created locally despite the error message; there are also "zfs-auto-snap" snapshots elsewhere which show the first error upon access, no identifiable pattern here):
Include any warning/errors/backtraces from the system logs
(I don't see any.)
The text was updated successfully, but these errors were encountered: