From 635dcc697a5caed4faebab384baa78809cf1c7b5 Mon Sep 17 00:00:00 2001 From: jim-p Date: Tue, 7 Nov 2017 10:38:06 -0500 Subject: [PATCH] Check for /bootpool and import the bootpool zfs pool if present. Fixes #8063 --- src/etc/pfSense-rc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/etc/pfSense-rc b/src/etc/pfSense-rc index b76fca9de4..b85f5e6549 100755 --- a/src/etc/pfSense-rc +++ b/src/etc/pfSense-rc @@ -136,6 +136,11 @@ if /sbin/kldstat -qm zfs; then /sbin/zfs set readonly=off $ZFSROOT fi /sbin/zfs mount -a + # If /bootpool is present, then there is an additional zfs pool to import + # See https://redmine.pfsense.org/issues/8063 + if [ -d /bootpool ]; then + /sbin/zpool import -f bootpool + fi fi fi