Skip to content

Commit

Permalink
initramfs: Skip lvm scan before boot pool import
Browse files Browse the repository at this point in the history
TrueNAS SCALE doesn't boot from pools on top of LVM, and the scan can
take a significant amount of time on systems with a large number of
disks.

Skip the lvm commands in our local-top/zfs script.

Signed-off-by: Ryan Moeller <[email protected]>
  • Loading branch information
Ryan Moeller authored and Ryan Moeller committed Jun 29, 2022
1 parent 5736956 commit 0f517f7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion contrib/initramfs/scripts/local-top/zfs
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ activate_vg()
}

udev_settle
activate_vg
# TrueNAS SCALE doesn't boot from pools on top of LVM, and the scan can take a
# significant amount of time on systems with a large number of disks. Skip it.
#activate_vg

exit 0

0 comments on commit 0f517f7

Please sign in to comment.