Date: Fri, 08 Aug 2014 22:27:15 -0400 From: Allan Jude <allanjude@freebsd.org> To: freebsd-current@freebsd.org Subject: Re: Problems with zpool upgrade embedded_data, and rebooting Message-ID: <53E58703.1050602@freebsd.org> In-Reply-To: <20140808232316.GA83475@funkthat.com> References: <CA%2ByaQw9hEh2cxRqFWGJExk2NnetJzYOekrn-h3dixyvCdZLhvg@mail.gmail.com> <20140808232316.GA83475@funkthat.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --B8n0V4Bxn9WpfU1EiC3g3sSn9CJFL95X4 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 2014-08-08 19:23, John-Mark Gurney wrote: > Daniel Peyrolon wrote this message on Sat, Aug 09, 2014 at 00:41 +0200:= >> Hello everyone, >> >> I just would like to gratuitously rant about something that happened o= n my >> machine. >> >> Basically, I upgraded my zpool to use embedded_data, since it would be= more >> efficient, and rebooted. (I installed the system with zfs using bsdins= tall). >> It turned out that gptzfsboot wasn't able to load that filesystem, so = I >> tried to get it working from a live system that I have on a USB drive.= >> It didn't work on that particular live system, but, fortunately, someo= ne >> could do me a favor and download the latest snapshot, and burn it to m= y USB >> drive. >> >> >From there, it was a matter of importing zroot, mounting it at /mnt, = and >> taking a look at the code of bsdinstall, trying to find the actual com= mand >> to update the bootloader. >> I could manage to find it, and hopefully, everything worked again. Tha= nks >> to those who helped me :) >> >> What would be the better way to avoid this happening in the future? >=20 > Didn't you get the following warning: > # zpool upgrade -a > This system is currently running ZFS pool version 28. >=20 > Successfully upgraded 'tank' >=20 > If you boot from pool 'tank', don't forget to update boot code. > Assuming you use GPT partitioning and da0 is your boot disk > the following command will do it: >=20 > gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 da0 >=20 > Or something similar? >=20 > If you didn't follow the warnings, how else can we help you? >=20 Yeah, there is a big warning with explicit instructions after you zpool upgrade, warning you about this specific issue. In order to save your self from a rescue system, it'd have to support the embedded_data feature as well. --=20 Allan Jude --B8n0V4Bxn9WpfU1EiC3g3sSn9CJFL95X4 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (MingW32) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBAgAGBQJT5YcGAAoJEJrBFpNRJZKf9P0P/iOVrP3QALzdJSHT+RhPHC8K VpChOxEe8HrB6eLFalya51zkAP6f/Bhg+FhMcjeqIwPuXnH/l2Xi0UXFENeB+k/Y 6KkwMnnKFhx3DEC+m0Ak8tE1aAszm5I9NHZyCmfOFzJssIMr8AxEM5neRePpI21h kX9WvR714J1i7BQchQXg3fEoeBGN6dNZvJdvGIywIWZlh/Z3K6D7RtTgjxSa9z99 FfwHi+sWzWoUfh0bbc+GekUXnPXi5I/Fv9q26MAx2U9uUcQl/r3PzkQp/RChr71L lLb+UcHWIx7aHO1P6Ua2/5FA2AGM1uDTGAoN5fFRTRq5h3nVNv/es7wi3IPIQXEh yB7k0XKtaat+XTKwgCNm0AF15iZGiQuTG+RfWY3xH/5Qu+9foHfKDb8l7W7Lff4h BaAvA6pEGutvfgVdccSInaMYlg241cgBPXzUeLwO+HckDQcJO/MFz43nIMwekoG9 /qe/32MZDoBYfvkjOq+2df71nJaD5My8yBQwTlMVHfhwlkq3XSL6f5NKb/WMUI2k ld13PDmRuzDQTgGkjpcr5LjD1lwZYLnqv14wX3Uskr5308UaGO4DY8HTaqZOwdMb jTEjS5ljc337ux43QwtGWik2edQQQP869Crcq7g57e34DhzM2cnGgO/7QVSWY1ZW 6hrIcXhZiVI+x9BGs9eI =ksV4 -----END PGP SIGNATURE----- --B8n0V4Bxn9WpfU1EiC3g3sSn9CJFL95X4--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53E58703.1050602>