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

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to