]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
As of r364746 (OpenZFS import) existing ZPOOLs are not imported
authorcy <cy@FreeBSD.org>
Wed, 26 Aug 2020 13:13:57 +0000 (13:13 +0000)
committercy <cy@FreeBSD.org>
Wed, 26 Aug 2020 13:13:57 +0000 (13:13 +0000)
commit78bf7a79ba95cc70344f286b188897879dabe3e7
treec9c703e3048da92a1e6f9ffa49771a72a47422f7
parent8d1843da40016524e1a793640d1748a4d0cbb2ed
As of r364746 (OpenZFS import) existing ZPOOLs are not imported
prior to zvol and mountcritlocal resulting in ZVOLs (swap and
virtual machine UFS filesystems) being unavailable, leading to
boot failures.

We move the zpool import from zfs to a new zpool script, with the
-N option to avoid mounting datasets while making the ZPOOL's
datasets available for "legacy" mount (mountpoint=legacy) and ZVOLs
available for subsequent use for swap (in the zvol rc sript) or
for UFS or other filesystems in fstab(5), mounted by mountcritlocal.

Reviewed by: freqlabs (previous version)
Differential Revision: https://reviews.freebsd.org/D26185
libexec/rc/rc.d/Makefile
libexec/rc/rc.d/mountcritlocal
libexec/rc/rc.d/zfs
libexec/rc/rc.d/zpool [new file with mode: 0755]
libexec/rc/rc.d/zvol