HomeFreeBSD

Rollback before zfs root is mounted

Description

Rollback before zfs root is mounted

On my machines I observe random failures caused by rollback happening
after zfs root is mounted. I've observed two types of failures:

  • zfs-rollback-bootfs.service fails saying that rollback must be done just before mounting the dataset
  • boot process fails and rescue console is entered.

After making this modification and testing it for couple of days
none of those problems have been observed anymore.

I don't know if dracut-mount.service is still needed in the
After directive. Maybe someone else is able to address this?

Reviewed-by: Gregory Bartholomew <gregory.lee.bartholomew@gmail.com>
Signed-off-by: Wojciech Małota-Wójcik <59281144+outofforest@users.noreply.github.com>
Closes #15025

Details

Provenance
Wojciech Małota-Wójcik <59281144+outofforest@users.noreply.github.com>Authored on Jul 20 2023, 4:55 PM
GitHub <noreply@github.com>Committed on Jul 20 2023, 4:55 PM
Parents
rG7d0df5422c14: Do not request data L1 buffers on scan prefetch.
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rGe6ea31de9f15: Rollback before zfs root is mounted (authored by Wojciech Małota-Wójcik <59281144+outofforest@users.noreply.github.com>).Jul 20 2023, 4:55 PM