Skip to content

dracut: zfs_force=1 has no effect #11403

Closed
@rkitover

Description

@rkitover

System information

Type Version/Name
Distribution Name Gentoo
Distribution Version unstable profile default/linux/amd64/17.1/desktop/plasma/systemd
Linux Kernel 5.9
Architecture amd64
ZFS Version git master
SPL Version git master

Describe the problem you're observing

When my zfs pool needs to be force-imported because I booted freebsd on it, the kernel commandline option I added zfs_force=1 does not have any effect, and I have to do a zpool import -f from the dracut rescue shell.

Describe how to reproduce the problem

Add zfs_force=1 to GRUB_CMDLINE_LINUX in /etc/default/grub and regen grub config.

Do something that would require force-importing the pool, in my case that is booting FreeBSD on it.

When you boot linux, you will see dracut fail to import the pool and drop you into the emergency shell.

Include any warning/errors/backtraces from the system logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions