Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F132992421
D29101.id85335.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
989 B
Referenced Files
None
Subscribers
None
D29101.id85335.diff
View Options
Index: libexec/rc/rc.d/dumpon
===================================================================
--- libexec/rc/rc.d/dumpon
+++ libexec/rc/rc.d/dumpon
@@ -42,6 +42,7 @@
[Nn][Oo] | '')
;;
[Aa][Uu][Tt][Oo])
+ root_hold_wait
dev=$(/bin/kenv -q dumpdev)
if [ -n "${dev}" ] ; then
dumpon_try "${dev}"
@@ -56,6 +57,7 @@
return 1
;;
*)
+ root_hold_wait
dumpon_try "${dumpdev}"
;;
esac
Index: libexec/rc/rc.d/zpool
===================================================================
--- libexec/rc/rc.d/zpool
+++ libexec/rc/rc.d/zpool
@@ -22,7 +22,14 @@
for cachefile in /etc/zfs/zpool.cache /boot/zfs/zpool.cache; do
if [ -r $cachefile ]; then
- zpool import -c $cachefile -a -N && break
+ zpool import -c $cachefile -a -N
+ if [ $? -ne 0 ]; then
+ echo "Import of zpool cache ${cachefile} failed," \
+ "will retry after root mount hold release"
+ root_hold_wait
+ zpool import -c $cachefile -a -N
+ fi
+ break
fi
done
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Oct 22, 9:35 PM (4 h, 41 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
24068755
Default Alt Text
D29101.id85335.diff (989 B)
Attached To
Mode
D29101: wait for device mounts in zpool and dumpon
Attached
Detach File
Event Timeline
Log In to Comment