[Pkg-zfsonlinux-devel] Bug#1040183: zfs-initramfs: snapshots for rootfs mounted in /root/.zfs/snapshot
Richard van den Berg
richard at vdberg.org
Sun Jul 2 23:19:56 BST 2023
Package: zfs-initramfs
Version: 2.1.11-1
Severity: normal
I have ZFS setup with rootfs which is mounted at boot in /root by initramfs.
This causes the ZFS snapshots to be mounted in /root/.zfs/snapshot instead
of /.zfs/snapshot
Accessing any snapshot in /.zfs/snapshot gives this error:
Too many levels of symbolic links
The root cause is explained at https://github.com/openzfs/zfs/issues/9461#issuecomment-1376162949
-- System Information:
Debian Release: 12.0
APT prefers stable-security
APT policy: (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.1.0-9-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=C.UTF-8, LC_CTYPE=UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to C.UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages zfs-initramfs depends on:
ii busybox 1:1.35.0-4+b3
ii initramfs-tools 0.142
ii zfs-dkms [zfs-modules] 2.1.11-1
ii zfsutils-linux 2.1.11-1
zfs-initramfs recommends no packages.
zfs-initramfs suggests no packages.
-- no debconf information
More information about the Pkg-zfsonlinux-devel
mailing list