Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Mar 2014 12:50:16 -0500
From:      Karl Denninger <karl@denninger.net>
To:        freebsd-stable@freebsd.org
Subject:   ZFS cautions (pool flag additions committed)
Message-ID:  <532F1ED8.8010004@denninger.net>

next in thread | raw e-mail | index | archive | help
This is a cryptographically signed message in MIME format.

--------------ms080807090508010200070500
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable

When ZFS code imports are brought forward that add feature flags there=20
is a potential time bomb for existing users in that creation of a new=20
pool becomes non-revertible (except read-only!) with regard to mounting=20
on older revisions of the code.

The same thing happens if you do a "zpool upgrade" of course, but at=20
least that's an explicit act.  You might not realize that you're at risk =

on a pool create, however, unless you **carefully** scrutinize the flags =

that were on the last version compared against the current one.

The primary "gotcha" here occurs if you don't upgrade your emergency=20
boot media and for some reason you need to boot from a CD or USB key --=20
you can be left SEVERELY screwed, and since -RELEASE is typically not=20
rebuilt when this happens if you don't have a second machine laying=20
around on which you can build a RELEASE image....

I've caught this twice now since 10.0-RELEASE shipped and, while I=20
haven't been bit by it, it serves as a caution because eventually=20
someone tracking -STABLE is going to get badly hurt and be left with an=20
unrepairable system.  IMHO there should be some sort of notice on the=20
list when new zpool feature flags show up so you're fairly warned that=20
building a new emergency boot media copy is required if you intend to=20
track -STABLE on a continuing basis.

--=20
-- Karl
karl@denninger.net



--------------ms080807090508010200070500
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIFTzCC
BUswggQzoAMCAQICAQgwDQYJKoZIhvcNAQEFBQAwgZ0xCzAJBgNVBAYTAlVTMRAwDgYDVQQI
EwdGbG9yaWRhMRIwEAYDVQQHEwlOaWNldmlsbGUxGTAXBgNVBAoTEEN1ZGEgU3lzdGVt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a0Kvo/fJJ35uheJbNikIxKz5IC+xKsVMVUPDOxLtPwHZm7ErxQfcWzXLMBFzVFv
CwjYhOi0E4UyJXunwfsDVxe0zHksMK0AtyxRuJk5rK59Ksl5ZnskN7UJ5fWljV4Ew8+hqfbN
8KVaxL55A5MZmqWJ9LPdQk+l84V1fDxuvttK5v/Hzj7PiztQqf9E76yHXWnDpMXpE8RjHsJD
jT4G5j2+hv4RerJktIBWhKo92OjippyGycr3bac/U3sGfXZQpP/vrVFq3BcO5C4YKZv/E3Qy
ESEW5pMAAAAAAAA=
--------------ms080807090508010200070500--





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?532F1ED8.8010004>