[Pkg-zfsonlinux-devel] Bug#962424: zfsutils-linux: systemd zfs-mount-generator breaks boot if multiple datasets have the same mountpoint
Richard Laager
rlaager at wiktel.com
Tue Jun 9 23:06:20 BST 2020
On 6/7/20 3:12 PM, wxcafe wrote:
> The systemd zfs-mount-generator script
> (/lib/systemd/system-generators/zfs-mount-generator) can break system
> boot if there are multiple datasets with the same mountpoint, because it
> ignores the zfs property canmount=noauto.
It certainly does not "ignore" canmount=noauto. There's all kinds of
logic in the generator to deal with canmount=noauto.
> I store backups on my system and after upgrading the system wouldn't
> boot anymore because while my backups are canmount=noauto, the generator
> was trying to mount multiple datasets to the same mountpoints (/, /usr/,
> ...) which obviously breaks... everything.
If you have datasets marked as canmount=on, they should take precedence
over any marked canmount=noauto for the same mountpoint.
Are there multiple pools involved here, or just one?
Can you provide a copy of your cache file(s) from /etc/zfs/zfs-list.cache?
--
Richard
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-zfsonlinux-devel/attachments/20200609/0f0c3b53/attachment-0001.sig>
More information about the Pkg-zfsonlinux-devel
mailing list