diff options
author | Cy Schubert <cy@FreeBSD.org> | 2020-08-26 13:13:57 +0000 |
---|---|---|
committer | Cy Schubert <cy@FreeBSD.org> | 2020-08-26 13:13:57 +0000 |
commit | 74e2b24f2c369ffdff2f54fa9f96427cc45ef3a6 (patch) | |
tree | c9c703e3048da92a1e6f9ffa49771a72a47422f7 /libexec/rc/rc.d/zvol | |
parent | 1e9a0b391d88e0f9a9cb5b1d49aba61f80ae97f5 (diff) | |
download | src-74e2b24f2c369ffdff2f54fa9f96427cc45ef3a6.tar.gz src-74e2b24f2c369ffdff2f54fa9f96427cc45ef3a6.zip |
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
Notes
Notes:
svn path=/head/; revision=364817
Diffstat (limited to 'libexec/rc/rc.d/zvol')
-rwxr-xr-x | libexec/rc/rc.d/zvol | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/rc/rc.d/zvol b/libexec/rc/rc.d/zvol index 06530347946a..e8cfc203b481 100755 --- a/libexec/rc/rc.d/zvol +++ b/libexec/rc/rc.d/zvol @@ -4,7 +4,7 @@ # # PROVIDE: zvol -# REQUIRE: hostid +# REQUIRE: zpool # BEFORE: dumpon # KEYWORD: nojail |