mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2025-02-26 16:58:19 +03:00
Force export if it failed the first time
Signed-off-by: Sören Tempel <soeren+git@soeren-tempel.net> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Issue #3109
This commit is contained in:
parent
eda3d4e1de
commit
edbaf2455c
@ -21,7 +21,7 @@ if [ "${root}" = "zfs:AUTO" ] ; then
|
|||||||
ZFS_DATASET="$(find_bootfs)"
|
ZFS_DATASET="$(find_bootfs)"
|
||||||
if [ $? -ne 0 ] ; then
|
if [ $? -ne 0 ] ; then
|
||||||
warn "ZFS: No bootfs attribute found in importable pools."
|
warn "ZFS: No bootfs attribute found in importable pools."
|
||||||
export_all
|
export_all || export_all "-f"
|
||||||
|
|
||||||
rootok=0
|
rootok=0
|
||||||
return 1
|
return 1
|
||||||
|
Loading…
Reference in New Issue
Block a user