Date: Fri, 11 Sep 2015 19:17:05 +1000 From: Peter Jeremy <peter@rulingia.com> To: freebsd-fs@freebsd.org Subject: Re: Panic in zfs_blkptr_verify() Message-ID: <20150911091705.GA3087@server.rulingia.com> In-Reply-To: <20150829062743.GA2996@server.rulingia.com> References: <20150829062743.GA2996@server.rulingia.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--UlVJffcvxoiEqYs2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2015-Aug-29 16:27:43 +1000, Peter Jeremy <peter@server.rulingia.com> wro= te: >I'm trying to upgrade my main (amd64) server from 10-stable r276177 to >r287251 but the new kernel consistently panics: > >panic: Solaris(panic): blkptr at 0xfffff80015961848 DVA 0 has invalid OFFS= ET 15724224479232 After wasting a lot of time working on the assumption that I had a corrupt blkptr_t, I worked out that problem was actually a corrupt vdev asize. It seems that the vdev and details had been read from /boot/zfs/zpool.cache without any sanity checks and (for unknown reasons) my zpool.cache hadn't been updated for about 18 months - during which time, I'd expanded the pool from 12TB to 16TB. Manually updating my cache with zpool set cachefile=3D/boot/zfs/zpool.cache zroot zpool set cachefile=3D/boot/zfs/zpool.cache tank seems to have solved the problem. (And my zpool.cache is now being automatically updated when I reboot). --=20 Peter Jeremy --UlVJffcvxoiEqYs2 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQJ8BAEBCgBmBQJV8pwRXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRFRUIyOTg2QzMwNjcxRTc0RTY1QzIyN0Ux NkE1OTdBMEU0QTIwQjM0AAoJEBall6Dkogs0x60P/2Ca3qDyzxe7gVdpPp72CBVT 5LOmI9XS8yNg8qea2FjYTbtVzxS1hSfyUUIVivAC48oA/PGyk5xIf/r9kH3O26lX uWtHC0xjg17ZuyMaWzJxDFqv6lI0cIRVK17Zo+xlbIujrkvmmq2D76PrIA60ZIFR 734uy5vjaBAvovvReZmXezhHNbGMImbENX2gaHeD0Hl51xddbq258WC/ML3OHKn3 zDMzKMOLJcwHe8kNd6rennUDbT7/IBAr/r9UsnDyWNqYig4qBm3mI6pk1Sqdsgcv qdUtsizQd8VsxslhaAJQWtBl/QugCAv01ENPNFiKa/tYH37zgwamnj01GcaHvSHr WrklKKa41CVyX3DB7Fqln+WdlFBV66dStazeFG+hfHHZpIlHqYdn4TwsQl3TZy2y FbVROyDkPqmn91DMhxSOINThsXo2AGoJCM+cKHUixMfb1Kl13fDyqzLG0V0WdoMr vLZxSuCG9aPrIIwwnOXa61lbr4me9W3HV3Hz8NnDjncviGtaFR/JIxgFcYU+CsCd 7P3/92rRtlJoXY+OPm0hC/39rDBhxbny2zgNOZLCOiQe0uaZOl0Zw/+pL66SLhWA lQOxv2v4ME4yXk7j0YxZRdBlGB5oHNINVG80c8lFaY38RHYv4VT+7V6KdWdY3W1d C/0l/FNKxyWwVZlyCa+z =NqYX -----END PGP SIGNATURE----- --UlVJffcvxoiEqYs2--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150911091705.GA3087>