On Mon, 7 Apr 2014 11:30-0400, Chris Nehren wrote:
> On Mon, Apr 07, 2014 at 17:05:32 +0200, Trond Endrest=F8l wrote:
> > See:
> > =
> > http://svnweb.freebsd.org/base/stable/10/cddl/contrib/opensolaris/cmd/z=
pool/zpool_main.c?view=3Dmarkup#l4992
> > =
> > Consider this a lesson learned. Yes, I too was bitten by this once, =
> > but never again. ;-) Luckily, I recovered using a snapshot image.
> =
> That's funny, because I *specifically* noted the absence of that =
> message when I upgraded my pool and spent about 5 minutes wondering =
> if it was needed or not.
Browsing through the code, it appears that the message will only be =
shown if the current root fs is on one of the zpools you are =
upgrading.
I chased this chain in zpool_main.c:
zpool_do_upgrade()
for_each_pool()
upgrade_one() (used as a callback function by for_each_pool())
root_pool_upgrade_check()
is_root_pool()
Maybe the message should be shown unconditionally after the fact when =
all zpool upgrades has taken place, to warn the novice user and =
friendly remind the seasoned user.
> Either way, I think I'll opt to doing the bootcode thing every time =
> as well.
(Y)
-- =
+-------------------------------+------------------------------------+
| Vennlig hilsen, | Best regards, |
| Trond Endrest=F8l, | Trond Endrest=F8l, |
| IT-ansvarlig, | System administrator, |
| Fagskolen Innlandet, | Gj=F8vik Technical College, Norway, |
| tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, |
| sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. |
+-------------------------------+------------------------------------+
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"