initramfs: Skip lvm scan before boot pool import

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 <ryan@iXsystems.com>
This commit is contained in:
Ryan Moeller 2022-06-29 14:22:23 +00:00 committed by Ameer Hamza
parent 08b7bccff4
commit 457bcb08d8
1 changed files with 3 additions and 1 deletions

View File

@ -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