Comment 2 for bug 1628553

Revision history for this message
Richard Laager (rlaager) wrote :

I think I got the numbers right, but in any case, this is the gist of the error:
PANIC: blkptr at ffff88040b993640 DVA 1 has invalid OFFSET 36830022909049856

What was the last version of ZFS-on-Linux (that you were using) that works?

Was that the only version of ZFS you had ever used?

Can you attach the output of:
sudo zpool status
sudo zpool upgrade
sudo zdb

I assume you have swap on ZFS and this is breaking when it tries to access the swap dataset? If so, can you provide this output (substitute for rpool/swap as appropriate), which you should probably compress:
sudo zdb -dvvvv rpool/swap

I'm not sure that'll be enough information (as I'm not expert enough to debug at this level), but it should be a start for me to take this to someone else.

If it is happening with swap, try moving the swap dataset out of the way, and create a new one:
sudo zfs move rpool/swap rpool/swap-broken
sudo zfs create -V 4G -b $(getconf PAGESIZE) -o compression=zle \
      -o logbias=throughput -o sync=always \
      -o primarycache=metadata -o secondarycache=none \
      -o com.sun:auto-snapshot=false rpool/swap
sudo mkswap -f /dev/zvol/rpool/swap

This will hopefully get you working again on the latest ZFS. If you keep the old dataset around, then we may still be able to debug how this happened.