Ubuntu 16.04.1 Install zfsutils-linux Panic Error, endless loop
Bug #1628553 reported by
Matthew Hillman
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Native ZFS for Linux |
Fix Released
|
Unknown
|
|||
zfs-linux (Ubuntu) |
Won't Fix
|
Medium
|
Colin Ian King |
Bug Description
Fresh install of Ubuntu 16.04.1, installed all updates / upgrades for system before installing zfsutils-linux. The install processes all the way to Reached target Swap then has a PANIC error and loops endlessly.
There is a zpool there already (was) with 3TB of data on it. This only happened after the system upgrade, so I reinstalled the boot drive / OS to see if it was just a issue with that, clearly it's an issue with the zfsutils-linux package for 16.04.1
Package version installed zfsutils-linux 0.6.5.6-0ubuntu12
Screenshot attached as I can't actually do anything once the boot gets to this stage:
Changed in zfs-linux (Ubuntu): | |
status: | Incomplete → Won't Fix |
Changed in zfs: | |
status: | Unknown → Fix Released |
To post a comment you must log in.
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: metadata -o secondarycache=none \ auto-snapshot= false rpool/swap rpool/swap
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=
-o com.sun:
sudo mkswap -f /dev/zvol/
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.