[Pkg-zfsonlinux-devel] Bug#1034022: zfs filesystems are mounted before local filesystems
Dietz Proepper
dietz.debian at scanthis.de
Thu Apr 6 17:04:41 BST 2023
Package: zfsutils-linux
Version: 2.1.9-1~bpo11+1
Severity: important
X-Debbugs-Cc: dietz.debian at scanthis.de
Hi,
I have the following problem:
given:
- a system with mixed zfs/ext4 fses
- /var resides on an ext4 fs
- /var/lib/docker shall be zfs
then:
- first the zfs fses gets mounted (on the root fs)
- then, local fses get mounted, hiding the zfs fs mounted on /var/lib/docker
from root fs.
The reason seems to be, that /lib/systemd/system/zfs-mount.service
contains a "Before=local-fs.target" dependency which can not be overridden.
My workaround here is quite simple, a separate unit for zfs mounts.
But would it perhaps make sense to chang the mount order? *FIRST* the
standard mounts ("local fs") and *THEN* the special ones?
-- System Information:
Debian Release: 11.6
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500,
'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 5.15.99 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE,
TAINT_UNSIGNED_MODULE
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not
set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages zfsutils-linux depends on:
ii init-system-helpers 1.64~bpo11+1
ii libblkid1 2.36.1-8+deb11u1
ii libc6 2.31-13+deb11u5
ii libnvpair3linux 2.1.9-1~bpo11+1
ii libuuid1 2.36.1-8+deb11u1
ii libuutil3linux 2.1.9-1~bpo11+1
ii libzfs4linux 2.1.9-1~bpo11+1
ii libzpool5linux 2.1.9-1~bpo11+1
ii python3 3.9.2-3
Versions of packages zfsutils-linux recommends:
ii lsb-base 11.1.0
ii zfs-dkms [zfs-modules] 2.1.9-1~bpo11+1
ii zfs-zed 2.1.9-1~bpo11+1
Versions of packages zfsutils-linux suggests:
pn nfs-kernel-server <none>
ii samba-common-bin 2:4.17.7+dfsg-1~bpo11+1
ii zfs-initramfs 2.1.9-1~bpo11+1
-- Configuration Files:
/etc/sudoers.d/zfs [Errno 13] Keine Berechtigung: '/etc/sudoers.d/zfs'
-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: This is a digitally signed message part.
URL: <http://alioth-lists.debian.net/pipermail/pkg-zfsonlinux-devel/attachments/20230406/ed06d94c/attachment.sig>
More information about the Pkg-zfsonlinux-devel
mailing list