[Bug 220472] 11.1-RC1 kernel panic (zfs recv)
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Jul 7 14:27:31 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220472
--- Comment #3 from John Kennedy <warlock at phouka.net> ---
The basic layout of the problem-pool is a stock ZFS layout with some additions
and boot environment:
# zfs list -r zspin/zroot
NAME USED AVAIL REFER MOUNTPOINT
zspin/zroot 96.6G 370G 96K /zspin/zroot
zspin/zroot/ROOT 10.6G 370G 96K none
zspin/zroot/ROOT/11.0-releng 48K 370G 3.22G /zspin/zroot
zspin/zroot/ROOT/default 10.6G 370G 8.74G /zspin/zroot
zspin/zroot/aux 200K 370G 96K /zspin/zroot/aux
zspin/zroot/aux/aux 104K 370G 96K /zspin/zroot/aux/aux
zspin/zroot/git 136K 370G 96K /zspin/zroot/git
zspin/zroot/release 136K 370G 96K /zspin/zroot/release
zspin/zroot/tmp 1004K 370G 400K /tmp
zspin/zroot/usr 85.9G 370G 96K /usr
zspin/zroot/usr/home 73.2G 370G 73.1G /zspin/zroot/usr/home
zspin/zroot/usr/ports 9.98G 370G 6.73G /usr/ports
zspin/zroot/usr/src 2.77G 370G 2.77G /usr/src
zspin/zroot/var 2.20M 370G 96K /var
zspin/zroot/var/audit 136K 370G 96K /var/audit
zspin/zroot/var/crash 136K 370G 96K /var/crash
zspin/zroot/var/log 1.00M 370G 336K /var/log
zspin/zroot/var/mail 564K 370G 132K /var/mail
zspin/zroot/var/tmp 248K 370G 96K /var/tmp
There are some snapshots. Different filesystems have different stamps on them,
but my current theory is that "aux" is the problem child:
# zfs list -rtall zspin/zroot | fgrep @ | sed -E 's/^[^@]+(@[^ ]+).*$/\1/' |
sort | uniq
@2017-05-18-03:55:20
@20170526
@20170527
@20170528
@20170528-2
@backup
@backup2
# zfs list -rt all zspin/zroot
NAME USED AVAIL REFER MOUNTPOINT
zspin/zroot 96.6G 370G 96K /zspin/zroot
zspin/zroot at backup 8K - 96K -
zspin/zroot at backup2 8K - 96K -
zspin/zroot at 20170526 8K - 96K -
zspin/zroot at 20170527 8K - 96K -
zspin/zroot at 20170528 8K - 96K -
zspin/zroot at 20170528-2 8K - 96K -
...
zspin/zroot/aux 200K 370G 96K
/zspin/zroot/aux
zspin/zroot/aux at 20170528 0 - 96K -
zspin/zroot/aux/aux 104K 370G 96K
/zspin/zroot/aux/aux
zspin/zroot/aux/aux at 20170528 8K - 96K -
zspin/zroot/aux/aux at 20170528-2 0 - 96K -
...
This is how I can reliably panic my system:
zfs destroy -rv zaux/ouroboros/zroot
zfs send -RD zspin/zroot at backup | zfs receive -Fu -dv zaux/ouroboros
zfs send -RD -I zspin/zroot at backup zspin/zroot at 20170527 | zfs receive -Fu -dv
zaux/ouroboros
# panic during this
zfs send -RD -I zspin/zroot at 20170527 zspin/zroot at 20170528 | zfs receive -Fu -dv
zaux/ouroboros
On the zfs receive, the last status message before the panic is receiving
zspin/zroot/aux/aux at 20170528 (#12 below, no summary of received bytes
afterwards).
# zfs send -RD -I zspin/zroot at 20170527 zspin/zroot at 20170528 | zfs receive -Fu
-dvn zaux/ouroboros | cat -n
1 would receive incremental stream of zspin/zroot at 20170528 into
zaux/ouroboros/zroot at 20170528
2 would receive incremental stream of zspin/zroot/var at 20170528 into
zaux/ouroboros/zroot/var at 20170528
3 would receive incremental stream of zspin/zroot/var/audit at 20170528 into
zaux/ouroboros/zroot/var/audit at 20170528
4 would receive incremental stream of zspin/zroot/var/tmp at 20170528 into
zaux/ouroboros/zroot/var/tmp at 20170528
5 would receive incremental stream of zspin/zroot/var/crash at 20170528 into
zaux/ouroboros/zroot/var/crash at 20170528
6 would receive incremental stream of zspin/zroot/var/mail at 20170528 into
zaux/ouroboros/zroot/var/mail at 20170528
7 would receive incremental stream of zspin/zroot/var/log at 20170528 into
zaux/ouroboros/zroot/var/log at 20170528
8 would receive incremental stream of zspin/zroot/tmp at 20170528 into
zaux/ouroboros/zroot/tmp at 20170528
9 would receive incremental stream of zspin/zroot/release at 20170528 into
zaux/ouroboros/zroot/release at 20170528
10 would receive incremental stream of zspin/zroot/git at 20170528 into
zaux/ouroboros/zroot/git at 20170528
11 would receive full stream of zspin/zroot/aux at 20170528 into
zaux/ouroboros/zroot/aux at 20170528
12 would receive full stream of zspin/zroot/aux/aux at 20170528 into
zaux/ouroboros/zroot/aux at 20170528
13 would receive incremental stream of zspin/zroot/ROOT at 20170528 into
zaux/ouroboros/zroot/ROOT at 20170528
14 would receive incremental stream of zspin/zroot/ROOT/default at 20170528
into zaux/ouroboros/zroot/ROOT/default at 20170528
15 would receive incremental stream of zspin/zroot/usr at 20170528 into
zaux/ouroboros/zroot/usr at 20170528
16 would receive incremental stream of zspin/zroot/usr/home at 20170528 into
zaux/ouroboros/zroot/usr/home at 20170528
17 would receive incremental stream of zspin/zroot/usr/ports at 20170528 into
zaux/ouroboros/zroot/usr/ports at 20170528
18 would receive incremental stream of zspin/zroot/usr/src at 20170528 into
zaux/ouroboros/zroot/usr/src at 20170528
19 would receive incremental stream of
zspin/zroot/ROOT/11.0-releng at 20170528 into
zaux/ouroboros/zroot/ROOT/11.0-releng at 20170528
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-fs
mailing list