Panic in zfs_blkptr_verify()

Peter Jeremy peter at rulingia.com
Fri Sep 11 09:27:11 UTC 2015


On 2015-Aug-29 16:27:43 +1000, Peter Jeremy <peter at server.rulingia.com> wrote:
>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 OFFSET 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=/boot/zfs/zpool.cache zroot
  zpool set cachefile=/boot/zfs/zpool.cache tank
seems to have solved the problem.  (And my zpool.cache is now being
automatically updated when I reboot).

-- 
Peter Jeremy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 949 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20150911/8c66ca03/attachment.bin>


More information about the freebsd-fs mailing list