Closed Mitmischer closed 1 year ago
Is the filesystem otherwise working correctly? So you can read/write to zfs datasets? Is it just the zpool status
command that hangs?
Thanks for the prompt reply! The filesystem itself seems to be working file, I can read and write files.
I tried some commands that I think are non-destructive and there might be a pattern to see here:
zpool status, zpool list, zpool iostat, zpool history
all hang.
Interestingly, zpool status tank
and zpool history tank
do NOT hang! zpool iostat tank
does hang though.
zpool wait tank, zfs userspace tank, zfs get all tank, zfs wait tank and zfs list
do not hang.
Is there anything else I should try? I'm afraid of losing data when scrubbing or rebooting the system, but I'm making a backup right now.
What does dmesg say right now? What are the last 100 lines or so in /proc/spl/kstat/zfs/dbgmsg?
I tried some commands that I think are non-destructive and there might be a pattern to see here:
zpool status, zpool list, zpool iostat, zpool history
all hang. Interestingly,zpool status tank
andzpool history tank
do NOT hang!
Have you other pools than tank
? Did you delete any pool recently or did you unplug any device recently?
What does zpool status tank
say?
Thanks again :)
dmesg right now is not exciting:
[8489455.753434] vethc41bc27: renamed from eth0
[8489455.816659] br-3406282d8afe: port 3(veth6922e50) entered disabled state
[8489455.817532] device veth6922e50 left promiscuous mode
[8489455.817538] br-3406282d8afe: port 3(veth6922e50) entered disabled state
[8489515.714172] br-3406282d8afe: port 3(vethdbd0969) entered blocking state
[8489515.714176] br-3406282d8afe: port 3(vethdbd0969) entered disabled state
[8489515.714228] device vethdbd0969 entered promiscuous mode
[8489516.898691] eth0: renamed from vethcb648c0
[8489516.918664] IPv6: ADDRCONF(NETDEV_CHANGE): vethdbd0969: link becomes ready
[8489516.918713] br-3406282d8afe: port 3(vethdbd0969) entered blocking state
[8489516.918716] br-3406282d8afe: port 3(vethdbd0969) entered forwarding state
[8489517.829719] br-3406282d8afe: port 3(vethdbd0969) entered disabled state
[8489517.829799] vethcb648c0: renamed from eth0
[8489517.896646] br-3406282d8afe: port 3(vethdbd0969) entered disabled state
[8489517.897395] device vethdbd0969 left promiscuous mode
[8489517.897400] br-3406282d8afe: port 3(vethdbd0969) entered disabled state
[8489577.841912] br-3406282d8afe: port 3(veth5542d97) entered blocking state
[8489577.841918] br-3406282d8afe: port 3(veth5542d97) entered disabled state
[8489577.841991] device veth5542d97 entered promiscuous mode
[8489579.079104] eth0: renamed from vethf72681e
[8489579.101794] IPv6: ADDRCONF(NETDEV_CHANGE): veth5542d97: link becomes ready
[8489579.101843] br-3406282d8afe: port 3(veth5542d97) entered blocking state
[8489579.101845] br-3406282d8afe: port 3(veth5542d97) entered forwarding state
[8489580.135056] br-3406282d8afe: port 3(veth5542d97) entered disabled state
[8489580.135132] vethf72681e: renamed from eth0
[8489580.187481] br-3406282d8afe: port 3(veth5542d97) entered disabled state
[8489580.187976] device veth5542d97 left promiscuous mode
[8489580.187979] br-3406282d8afe: port 3(veth5542d97) entered disabled state
[8489640.166939] br-3406282d8afe: port 3(veth1573af9) entered blocking state
[8489640.166944] br-3406282d8afe: port 3(veth1573af9) entered disabled state
[8489640.167007] device veth1573af9 entered promiscuous mode
[8489641.398150] eth0: renamed from veth3386a08
[8489641.416973] IPv6: ADDRCONF(NETDEV_CHANGE): veth1573af9: link becomes ready
[8489641.417024] br-3406282d8afe: port 3(veth1573af9) entered blocking state
[8489641.417027] br-3406282d8afe: port 3(veth1573af9) entered forwarding state
[8489642.201908] br-3406282d8afe: port 3(veth1573af9) entered disabled state
[8489642.201986] veth3386a08: renamed from eth0
[8489642.249883] br-3406282d8afe: port 3(veth1573af9) entered disabled state
[8489642.250708] device veth1573af9 left promiscuous mode
[8489642.250712] br-3406282d8afe: port 3(veth1573af9) entered disabled state
[8489702.200708] br-3406282d8afe: port 3(vethc97aaa7) entered blocking state
[8489702.200712] br-3406282d8afe: port 3(vethc97aaa7) entered disabled state
[8489702.200911] device vethc97aaa7 entered promiscuous mode
[8489702.615238] eth0: renamed from vethb36bbf8
[8489702.656185] IPv6: ADDRCONF(NETDEV_CHANGE): vethc97aaa7: link becomes ready
[8489702.656234] br-3406282d8afe: port 3(vethc97aaa7) entered blocking state
[8489702.656237] br-3406282d8afe: port 3(vethc97aaa7) entered forwarding state
[8489703.366442] br-3406282d8afe: port 3(vethc97aaa7) entered disabled state
[8489703.366496] vethb36bbf8: renamed from eth0
[8489703.427369] br-3406282d8afe: port 3(vethc97aaa7) entered disabled state
[8489703.428164] device vethc97aaa7 left promiscuous mode
[8489703.428168] br-3406282d8afe: port 3(vethc97aaa7) entered disabled state
[8489763.360857] br-3406282d8afe: port 3(vethb69b9f3) entered blocking state
[8489763.360861] br-3406282d8afe: port 3(vethb69b9f3) entered disabled state
[8489763.362058] device vethb69b9f3 entered promiscuous mode
[8489764.655523] eth0: renamed from vethd977211
[8489764.679398] IPv6: ADDRCONF(NETDEV_CHANGE): vethb69b9f3: link becomes ready
[8489764.679448] br-3406282d8afe: port 3(vethb69b9f3) entered blocking state
[8489764.679451] br-3406282d8afe: port 3(vethb69b9f3) entered forwarding state
[8489765.413081] br-3406282d8afe: port 3(vethb69b9f3) entered disabled state
[8489765.413176] vethd977211: renamed from eth0
[8489765.482857] br-3406282d8afe: port 3(vethb69b9f3) entered disabled state
[8489765.486836] device vethb69b9f3 left promiscuous mode
[8489765.486841] br-3406282d8afe: port 3(vethb69b9f3) entered disabled state
[8489825.388007] br-3406282d8afe: port 3(vetha7caad9) entered blocking state
[8489825.388012] br-3406282d8afe: port 3(vetha7caad9) entered disabled state
[8489825.388229] device vetha7caad9 entered promiscuous mode
[8489826.946798] eth0: renamed from veth5eb6aea
[8489826.962591] IPv6: ADDRCONF(NETDEV_CHANGE): vetha7caad9: link becomes ready
[8489826.962649] br-3406282d8afe: port 3(vetha7caad9) entered blocking state
[8489826.962652] br-3406282d8afe: port 3(vetha7caad9) entered forwarding state
[8489827.982152] br-3406282d8afe: port 3(vetha7caad9) entered disabled state
[8489827.982239] veth5eb6aea: renamed from eth0
[8489828.056738] br-3406282d8afe: port 3(vetha7caad9) entered disabled state
[8489828.057601] device vetha7caad9 left promiscuous mode
[8489828.057605] br-3406282d8afe: port 3(vetha7caad9) entered disabled state
[8489887.979331] br-3406282d8afe: port 3(veth6244045) entered blocking state
[8489887.979336] br-3406282d8afe: port 3(veth6244045) entered disabled state
[8489887.979407] device veth6244045 entered promiscuous mode
[8489888.710020] eth0: renamed from vethc6f516d
[8489888.725656] IPv6: ADDRCONF(NETDEV_CHANGE): veth6244045: link becomes ready
[8489888.725719] br-3406282d8afe: port 3(veth6244045) entered blocking state
[8489888.725721] br-3406282d8afe: port 3(veth6244045) entered forwarding state
[8489889.502319] br-3406282d8afe: port 3(veth6244045) entered disabled state
[8489889.502382] vethc6f516d: renamed from eth0
[8489889.554411] br-3406282d8afe: port 3(veth6244045) entered disabled state
[8489889.554985] device veth6244045 left promiscuous mode
[8489889.554989] br-3406282d8afe: port 3(veth6244045) entered disabled state
[8489949.456260] br-3406282d8afe: port 3(vethabdd9bd) entered blocking state
[8489949.456264] br-3406282d8afe: port 3(vethabdd9bd) entered disabled state
[8489949.456332] device vethabdd9bd entered promiscuous mode
[8489950.562839] eth0: renamed from veth3ae6187
[8489950.593702] IPv6: ADDRCONF(NETDEV_CHANGE): vethabdd9bd: link becomes ready
[8489950.593758] br-3406282d8afe: port 3(vethabdd9bd) entered blocking state
[8489950.593761] br-3406282d8afe: port 3(vethabdd9bd) entered forwarding state
[8489951.764272] br-3406282d8afe: port 3(vethabdd9bd) entered disabled state
[8489951.764339] veth3ae6187: renamed from eth0
[8489951.829577] br-3406282d8afe: port 3(vethabdd9bd) entered disabled state
[8489951.830135] device vethabdd9bd left promiscuous mode
[8489951.830139] br-3406282d8afe: port 3(vethabdd9bd) entered disabled state
[8490011.725731] br-3406282d8afe: port 3(vethd13fdbe) entered blocking state
[8490011.725736] br-3406282d8afe: port 3(vethd13fdbe) entered disabled state
[8490011.725786] device vethd13fdbe entered promiscuous mode
[8490011.725849] br-3406282d8afe: port 3(vethd13fdbe) entered blocking state
[8490011.725851] br-3406282d8afe: port 3(vethd13fdbe) entered forwarding state
[8490011.726059] br-3406282d8afe: port 3(vethd13fdbe) entered disabled state
[8490013.088324] eth0: renamed from veth7152b4f
[8490013.104079] IPv6: ADDRCONF(NETDEV_CHANGE): vethd13fdbe: link becomes ready
[8490013.104132] br-3406282d8afe: port 3(vethd13fdbe) entered blocking state
[8490013.104135] br-3406282d8afe: port 3(vethd13fdbe) entered forwarding state
[8490014.086772] br-3406282d8afe: port 3(vethd13fdbe) entered disabled state
[8490014.086857] veth7152b4f: renamed from eth0
[8490014.153491] br-3406282d8afe: port 3(vethd13fdbe) entered disabled state
[8490014.154294] device vethd13fdbe left promiscuous mode
[8490014.154298] br-3406282d8afe: port 3(vethd13fdbe) entered disabled state
[8490074.103493] br-3406282d8afe: port 3(vethf1eda82) entered blocking state
[8490074.103497] br-3406282d8afe: port 3(vethf1eda82) entered disabled state
[8490074.103546] device vethf1eda82 entered promiscuous mode
[8490075.260024] eth0: renamed from veth7df9d2b
[8490075.295186] IPv6: ADDRCONF(NETDEV_CHANGE): vethf1eda82: link becomes ready
[8490075.295240] br-3406282d8afe: port 3(vethf1eda82) entered blocking state
[8490075.295242] br-3406282d8afe: port 3(vethf1eda82) entered forwarding state
[8490076.064905] br-3406282d8afe: port 3(vethf1eda82) entered disabled state
[8490076.065426] veth7df9d2b: renamed from eth0
[8490076.121705] br-3406282d8afe: port 3(vethf1eda82) entered disabled state
[8490076.122624] device vethf1eda82 left promiscuous mode
[8490076.122636] br-3406282d8afe: port 3(vethf1eda82) entered disabled state
[8490136.038812] br-3406282d8afe: port 3(veth85a6886) entered blocking state
[8490136.038816] br-3406282d8afe: port 3(veth85a6886) entered disabled state
[8490136.038932] device veth85a6886 entered promiscuous mode
[8490137.003469] eth0: renamed from vethcd06520
[8490137.034319] IPv6: ADDRCONF(NETDEV_CHANGE): veth85a6886: link becomes ready
[8490137.034366] br-3406282d8afe: port 3(veth85a6886) entered blocking state
[8490137.034368] br-3406282d8afe: port 3(veth85a6886) entered forwarding state
[8490137.782380] br-3406282d8afe: port 3(veth85a6886) entered disabled state
[8490137.782463] vethcd06520: renamed from eth0
[8490137.836806] br-3406282d8afe: port 3(veth85a6886) entered disabled state
[8490137.837605] device veth85a6886 left promiscuous mode
[8490137.837609] br-3406282d8afe: port 3(veth85a6886) entered disabled state
[8490197.796161] br-3406282d8afe: port 3(veth05ea919) entered blocking state
[8490197.796166] br-3406282d8afe: port 3(veth05ea919) entered disabled state
[8490197.796243] device veth05ea919 entered promiscuous mode
[8490197.796347] br-3406282d8afe: port 3(veth05ea919) entered blocking state
[8490197.796349] br-3406282d8afe: port 3(veth05ea919) entered forwarding state
[8490197.796553] br-3406282d8afe: port 3(veth05ea919) entered disabled state
[8490198.785525] eth0: renamed from veth7e9f60d
[8490198.813515] IPv6: ADDRCONF(NETDEV_CHANGE): veth05ea919: link becomes ready
[8490198.813572] br-3406282d8afe: port 3(veth05ea919) entered blocking state
[8490198.813575] br-3406282d8afe: port 3(veth05ea919) entered forwarding state
[8490199.614174] br-3406282d8afe: port 3(veth05ea919) entered disabled state
[8490199.614256] veth7e9f60d: renamed from eth0
[8490199.673595] br-3406282d8afe: port 3(veth05ea919) entered disabled state
[8490199.675221] device veth05ea919 left promiscuous mode
[8490199.675234] br-3406282d8afe: port 3(veth05ea919) entered disabled state
The output of dbgmsg (does not hang):
~> sudo tail -100 /proc/spl/kstat/zfs/dbgmsg
1674541104 metaslab.c:3646:metaslab_condense(): condensing: txg 2579025, msp[708] ffff8ce012dde800, vdev id 0, spa tank, smp size 663968, segments 11121, forcing condense=FALSE
1674546465 metaslab.c:2436:metaslab_load_impl(): metaslab_load: txg 2580072, spa tank, vdev_id 0, ms_id 709, smp_length 627192, unflushed_allocs 0, unflushed_frees 0, freed 0, defer 0 + 0, unloaded time 8285462319 ms, loading_time 84 ms, ms_max_size 4294877184, max size error 0, old_weight 7c0000000000001, new_weight 7c0000000000001
1674547069 metaslab.c:2549:metaslab_unload(): metaslab_unload: txg 2580190, spa tank, vdev_id 0, ms_id 686, weight 780000000000001, selected txg 2580072 (604388 ms ago), alloc_txg 2580072, loaded 50732529 ms ago, max_size 2147475456
1674547207 metaslab.c:3646:metaslab_condense(): condensing: txg 2580217, msp[682] ffff8ce012c88000, vdev id 0, spa tank, smp size 545352, segments 25017, forcing condense=FALSE
1674550863 metaslab.c:3646:metaslab_condense(): condensing: txg 2580931, msp[709] ffff8ce012ddf800, vdev id 0, spa tank, smp size 627192, segments 20937, forcing condense=FALSE
1674552327 metaslab.c:3646:metaslab_condense(): condensing: txg 2581217, msp[688] ffff8ce012c99800, vdev id 0, spa tank, smp size 539496, segments 22947, forcing condense=FALSE
1674566151 metaslab.c:2436:metaslab_load_impl(): metaslab_load: txg 2583917, spa tank, vdev_id 0, ms_id 712, smp_length 418464, unflushed_allocs 0, unflushed_frees 0, freed 0, defer 0 + 0, unloaded time 3036237779 ms, loading_time 66 ms, ms_max_size 2154135552, max size error 6537216, old_weight 7c0000000000001, new_weight 7c0000000000001
1674566756 metaslab.c:2549:metaslab_unload(): metaslab_unload: txg 2584035, spa tank, vdev_id 0, ms_id 689, weight 780000000000001, selected txg 2583917 (604377 ms ago), alloc_txg 2583917, loaded 63137794 ms ago, max_size 1073799168
1674572188 metaslab.c:3646:metaslab_condense(): condensing: txg 2585096, msp[690] ffff8ce012c9b000, vdev id 0, spa tank, smp size 552288, segments 28524, forcing condense=FALSE
1674572618 metaslab.c:2436:metaslab_load_impl(): metaslab_load: txg 2585180, spa tank, vdev_id 0, ms_id 713, smp_length 517304, unflushed_allocs 0, unflushed_frees 0, freed 0, defer 0 + 0, unloaded time 8373788327 ms, loading_time 64 ms, ms_max_size 4294950912, max size error 4291477504, old_weight 7c0000000000001, new_weight 7c0000000000001
1674572725 metaslab.c:3646:metaslab_condense(): condensing: txg 2585201, msp[692] ffff8ce012c99000, vdev id 0, spa tank, smp size 559288, segments 32797, forcing condense=FALSE
1674573222 metaslab.c:2549:metaslab_unload(): metaslab_unload: txg 2585298, spa tank, vdev_id 0, ms_id 688, weight 740000000000001, selected txg 2585180 (604455 ms ago), alloc_txg 2585180, loaded 69604324 ms ago, max_size 1073725440
1674578854 metaslab.c:3646:metaslab_condense(): condensing: txg 2586398, msp[704] ffff8ce012dda800, vdev id 0, spa tank, smp size 555968, segments 20787, forcing condense=FALSE
1674581342 metaslab.c:3646:metaslab_condense(): condensing: txg 2586884, msp[683] ffff8ce012c89800, vdev id 0, spa tank, smp size 547464, segments 30910, forcing condense=FALSE
1674582331 metaslab.c:2436:metaslab_load_impl(): metaslab_load: txg 2587077, spa tank, vdev_id 0, ms_id 714, smp_length 343584, unflushed_allocs 0, unflushed_frees 0, freed 0, defer 0 + 0, unloaded time 8383500747 ms, loading_time 76 ms, ms_max_size 4294926336, max size error 4291682304, old_weight 7c0000000000001, new_weight 7c0000000000001
1674582331 metaslab.c:2436:metaslab_load_impl(): metaslab_load: txg 2587077, spa tank, vdev_id 0, ms_id 718, smp_length 310808, unflushed_allocs 0, unflushed_frees 0, freed 0, defer 0 + 0, unloaded time 8383500747 ms, loading_time 99 ms, ms_max_size 4300308480, max size error 4296704000, old_weight 7c0000000000001, new_weight 800000000000001
1674582930 metaslab.c:2549:metaslab_unload(): metaslab_unload: txg 2587194, spa tank, vdev_id 0, ms_id 694, weight 780000000000001, selected txg 2587076 (604169 ms ago), alloc_txg 2587076, loaded 67275039 ms ago, max_size 1599619072
1674582935 metaslab.c:2549:metaslab_unload(): metaslab_unload: txg 2587195, spa tank, vdev_id 0, ms_id 683, weight 780000000000001, selected txg 2587077 (604434 ms ago), alloc_txg 2587077, loaded 80417894 ms ago, max_size 1074012160
1674583385 metaslab.c:2436:metaslab_load_impl(): metaslab_load: txg 2587283, spa tank, vdev_id 0, ms_id 719, smp_length 387200, unflushed_allocs 0, unflushed_frees 0, freed 0, defer 0 + 0, unloaded time 3010008346 ms, loading_time 90 ms, ms_max_size 2147819520, max size error 0, old_weight 7c0000000000001, new_weight 7c0000000000001
1674583580 metaslab.c:2436:metaslab_load_impl(): metaslab_load: txg 2587321, spa tank, vdev_id 0, ms_id 720, smp_length 493888, unflushed_allocs 0, unflushed_frees 0, freed 0, defer 0 + 0, unloaded time 8384750066 ms, loading_time 68 ms, ms_max_size 4296499200, max size error 4292354048, old_weight 7c0000000000001, new_weight 800000000000001
1674583815 metaslab.c:3646:metaslab_condense(): condensing: txg 2587367, msp[629] ffff8ce012b9c000, vdev id 0, spa tank, smp size 871928, segments 52865, forcing condense=FALSE
1674583989 metaslab.c:2549:metaslab_unload(): metaslab_unload: txg 2587401, spa tank, vdev_id 0, ms_id 692, weight 780000000000001, selected txg 2587283 (604364 ms ago), alloc_txg 2587283, loaded 71611589 ms ago, max_size 2147475456
1674584522 metaslab.c:2549:metaslab_unload(): metaslab_unload: txg 2587505, spa tank, vdev_id 0, ms_id 719, weight 7c0000000000001, selected txg 2587387 (604114 ms ago), alloc_txg 1999968, loaded 1136579 ms ago, max_size 2147819520
1674584998 metaslab.c:2436:metaslab_load_impl(): metaslab_load: txg 2587598, spa tank, vdev_id 0, ms_id 719, smp_length 387200, unflushed_allocs 0, unflushed_frees 0, freed 0, defer 0 + 0, unloaded time 476331 ms, loading_time 46 ms, ms_max_size 2147819520, max size error 0, old_weight 7c0000000000001, new_weight 7c0000000000001
1674585014 metaslab.c:2436:metaslab_load_impl(): metaslab_load: txg 2587601, spa tank, vdev_id 0, ms_id 722, smp_length 590088, unflushed_allocs 0, unflushed_frees 0, freed 0, defer 0 + 0, unloaded time 8386183638 ms, loading_time 67 ms, ms_max_size 4294959104, max size error 4289003520, old_weight 7c0000000000001, new_weight 7c0000000000001
1674585602 metaslab.c:2549:metaslab_unload(): metaslab_unload: txg 2587716, spa tank, vdev_id 0, ms_id 682, weight 740000000000001, selected txg 2587598 (604534 ms ago), alloc_txg 2587598, loaded 92199062 ms ago, max_size 1073569792
1674585618 metaslab.c:2549:metaslab_unload(): metaslab_unload: txg 2587719, spa tank, vdev_id 0, ms_id 693, weight 740000000000001, selected txg 2587601 (604464 ms ago), alloc_txg 2587601, loaded 69963025 ms ago, max_size 1073627136
1674585740 metaslab.c:3646:metaslab_condense(): condensing: txg 2587743, msp[722] ffff8ce012dea000, vdev id 0, spa tank, smp size 590088, segments 6759, forcing condense=FALSE
1674590399 metaslab.c:3646:metaslab_condense(): condensing: txg 2588653, msp[720] ffff8ce012dea800, vdev id 0, spa tank, smp size 553488, segments 18373, forcing condense=FALSE
1674592862 metaslab.c:3646:metaslab_condense(): condensing: txg 2589134, msp[701] ffff8ce012ddb000, vdev id 0, spa tank, smp size 528568, segments 18498, forcing condense=FALSE
1674597388 metaslab.c:3646:metaslab_condense(): condensing: txg 2590018, msp[697] ffff8ce012c9e800, vdev id 0, spa tank, smp size 529080, segments 22559, forcing condense=FALSE
1674603635 metaslab.c:2436:metaslab_load_impl(): metaslab_load: txg 2591238, spa tank, vdev_id 0, ms_id 725, smp_length 343328, unflushed_allocs 0, unflushed_frees 0, freed 0, defer 0 + 0, unloaded time 3015053860 ms, loading_time 88 ms, ms_max_size 2147672064, max size error 0, old_weight 7c0000000000001, new_weight 7c0000000000001
1674603635 metaslab.c:2436:metaslab_load_impl(): metaslab_load: txg 2591238, spa tank, vdev_id 0, ms_id 724, smp_length 914944, unflushed_allocs 0, unflushed_frees 0, freed 0, defer 0 + 0, unloaded time 2629918087 ms, loading_time 132 ms, ms_max_size 2148196352, max size error 696320, old_weight 7c0000000000001, new_weight 7c0000000000001
1674603881 metaslab.c:3646:metaslab_condense(): condensing: txg 2591286, msp[724] ffff8ce012dee800, vdev id 0, spa tank, smp size 914944, segments 25579, forcing condense=FALSE
1674604131 metaslab.c:3646:metaslab_condense(): condensing: txg 2591335, msp[706] ffff8ce012dda000, vdev id 0, spa tank, smp size 839272, segments 52435, forcing condense=FALSE
1674604234 metaslab.c:2549:metaslab_unload(): metaslab_unload: txg 2591355, spa tank, vdev_id 0, ms_id 701, weight 780000000000001, selected txg 2591237 (604177 ms ago), alloc_txg 2591237, loaded 71284791 ms ago, max_size 1277517824
1674604239 metaslab.c:2549:metaslab_unload(): metaslab_unload: txg 2591356, spa tank, vdev_id 0, ms_id 698, weight 740000000000001, selected txg 2591238 (604425 ms ago), alloc_txg 2591238, loaded 71289904 ms ago, max_size 1073684480
1674605740 spa_history.c:307:spa_history_log_sync(): txg 2591650 trim vdev=/dev/disk/by-id/nvme-KINGSTON_SA2000M8500G_50026B7684E0D1BE-part3 activated
1674605747 spa_history.c:307:spa_history_log_sync(): txg 2591683 trim vdev=/dev/disk/by-id/nvme-KINGSTON_SA2000M8500G_50026B7684E0D1BE-part3 complete
1674610412 metaslab.c:3646:metaslab_condense(): condensing: txg 2592596, msp[690] ffff8ce012c9b000, vdev id 0, spa tank, smp size 579672, segments 32431, forcing condense=FALSE
1674613960 metaslab.c:3646:metaslab_condense(): condensing: txg 2593289, msp[718] ffff8ce012def000, vdev id 0, spa tank, smp size 561264, segments 21899, forcing condense=FALSE
1674615015 metaslab.c:2436:metaslab_load_impl(): metaslab_load: txg 2593495, spa tank, vdev_id 0, ms_id 726, smp_length 429472, unflushed_allocs 0, unflushed_frees 0, freed 0, defer 0 + 0, unloaded time 3000337346 ms, loading_time 66 ms, ms_max_size 2153291776, max size error 5586944, old_weight 7c0000000000001, new_weight 7c0000000000001
1674615619 metaslab.c:2549:metaslab_unload(): metaslab_unload: txg 2593613, spa tank, vdev_id 0, ms_id 704, weight 780000000000001, selected txg 2593495 (604447 ms ago), alloc_txg 2593495, loaded 78625037 ms ago, max_size 2147459072
1674617355 metaslab.c:2436:metaslab_load_impl(): metaslab_load: txg 2593952, spa tank, vdev_id 0, ms_id 727, smp_length 321360, unflushed_allocs 0, unflushed_frees 0, freed 0, defer 0 + 0, unloaded time 3041742199 ms, loading_time 43 ms, ms_max_size 4279222272, max size error 151379968, old_weight 7c0000000000001, new_weight 7c0000000000001
1674617580 metaslab.c:3646:metaslab_condense(): condensing: txg 2593996, msp[707] ffff8ce012dd8800, vdev id 0, spa tank, smp size 537144, segments 17216, forcing condense=FALSE
1674617959 metaslab.c:2549:metaslab_unload(): metaslab_unload: txg 2594070, spa tank, vdev_id 0, ms_id 706, weight 780000000000001, selected txg 2593952 (604393 ms ago), alloc_txg 2593952, loaded 78911452 ms ago, max_size 1073946624
1674624364 metaslab.c:2436:metaslab_load_impl(): metaslab_load: txg 2595321, spa tank, vdev_id 0, ms_id 728, smp_length 647472, unflushed_allocs 0, unflushed_frees 0, freed 0, defer 0 + 0, unloaded time 2979455479 ms, loading_time 78 ms, ms_max_size 2148188160, max size error 385024, old_weight 7c0000000000001, new_weight 7c0000000000001
1674624553 metaslab.c:3646:metaslab_condense(): condensing: txg 2595358, msp[728] ffff8ce012dec000, vdev id 0, spa tank, smp size 647472, segments 20367, forcing condense=FALSE
1674624968 metaslab.c:2549:metaslab_unload(): metaslab_unload: txg 2595439, spa tank, vdev_id 0, ms_id 695, weight 780000000000001, selected txg 2595321 (604606 ms ago), alloc_txg 2595321, loaded 105960477 ms ago, max_size 1073741824
1674625276 metaslab.c:2436:metaslab_load_impl(): metaslab_load: txg 2595499, spa tank, vdev_id 0, ms_id 730, smp_length 499984, unflushed_allocs 0, unflushed_frees 0, freed 0, defer 0 + 0, unloaded time 8373927882 ms, loading_time 91 ms, ms_max_size 4294787072, max size error 0, old_weight 7c0000000000001, new_weight 7c0000000000001
1674625276 metaslab.c:2436:metaslab_load_impl(): metaslab_load: txg 2595499, spa tank, vdev_id 0, ms_id 729, smp_length 761720, unflushed_allocs 0, unflushed_frees 0, freed 0, defer 0 + 0, unloaded time 3032167980 ms, loading_time 104 ms, ms_max_size 4294811648, max size error 0, old_weight 7c0000000000001, new_weight 7c0000000000001
1674625874 metaslab.c:2549:metaslab_unload(): metaslab_unload: txg 2595616, spa tank, vdev_id 0, ms_id 712, weight 780000000000001, selected txg 2595498 (604125 ms ago), alloc_txg 2595498, loaded 59722121 ms ago, max_size 2102149120
1674625880 metaslab.c:2549:metaslab_unload(): metaslab_unload: txg 2595617, spa tank, vdev_id 0, ms_id 720, weight 780000000000001, selected txg 2595499 (604427 ms ago), alloc_txg 2595499, loaded 42298973 ms ago, max_size 2147418112
1674627984 metaslab.c:3646:metaslab_condense(): condensing: txg 2596028, msp[713] ffff8ce012ddd800, vdev id 0, spa tank, smp size 547680, segments 11142, forcing condense=FALSE
1674629474 metaslab.c:3646:metaslab_condense(): condensing: txg 2596319, msp[729] ffff8ce012ded800, vdev id 0, spa tank, smp size 761720, segments 22900, forcing condense=FALSE
1674636427 metaslab.c:3646:metaslab_condense(): condensing: txg 2597677, msp[629] ffff8ce012b9c000, vdev id 0, spa tank, smp size 926248, segments 57261, forcing condense=FALSE
1674638219 metaslab.c:2436:metaslab_load_impl(): metaslab_load: txg 2598027, spa tank, vdev_id 0, ms_id 731, smp_length 851640, unflushed_allocs 0, unflushed_frees 16384, freed 0, defer 0 + 0, unloaded time 3022317218 ms, loading_time 97 ms, ms_max_size 2147680256, max size error 106496, old_weight 7c0000000000001, new_weight 7c0000000000001
1674638823 metaslab.c:2549:metaslab_unload(): metaslab_unload: txg 2598145, spa tank, vdev_id 0, ms_id 709, weight 740000000000001, selected txg 2598027 (604458 ms ago), alloc_txg 2598027, loaded 92356635 ms ago, max_size 1073733632
1674639314 metaslab.c:3646:metaslab_condense(): condensing: txg 2598241, msp[731] ffff8ce012de9800, vdev id 0, spa tank, smp size 851640, segments 8287, forcing condense=FALSE
1674640405 metaslab.c:3646:metaslab_condense(): condensing: txg 2598454, msp[697] ffff8ce012c9e800, vdev id 0, spa tank, smp size 882520, segments 53325, forcing condense=FALSE
1674642991 metaslab.c:2436:metaslab_load_impl(): metaslab_load: txg 2598959, spa tank, vdev_id 0, ms_id 732, smp_length 137592, unflushed_allocs 0, unflushed_frees 0, freed 0, defer 0 + 0, unloaded time 3054414064 ms, loading_time 64 ms, ms_max_size 4247158784, max size error 210812928, old_weight 7c0000000000001, new_weight 7c0000000000001
1674642991 metaslab.c:2436:metaslab_load_impl(): metaslab_load: txg 2598959, spa tank, vdev_id 0, ms_id 735, smp_length 346576, unflushed_allocs 0, unflushed_frees 0, freed 0, defer 0 + 0, unloaded time 3007389799 ms, loading_time 64 ms, ms_max_size 2147868672, max size error 0, old_weight 7c0000000000001, new_weight 7c0000000000001
1674643590 metaslab.c:2549:metaslab_unload(): metaslab_unload: txg 2599076, spa tank, vdev_id 0, ms_id 719, weight 780000000000001, selected txg 2598958 (604150 ms ago), alloc_txg 2598958, loaded 58590509 ms ago, max_size 1886724096
1674643595 metaslab.c:2549:metaslab_unload(): metaslab_unload: txg 2599077, spa tank, vdev_id 0, ms_id 718, weight 780000000000001, selected txg 2598959 (604498 ms ago), alloc_txg 2598959, loaded 61263295 ms ago, max_size 2147336192
1674643994 metaslab.c:3646:metaslab_condense(): condensing: txg 2599155, msp[690] ffff8ce012c9b000, vdev id 0, spa tank, smp size 610752, segments 36217, forcing condense=FALSE
1674644885 metaslab.c:2436:metaslab_load_impl(): metaslab_load: txg 2599329, spa tank, vdev_id 0, ms_id 736, smp_length 173944, unflushed_allocs 0, unflushed_frees 0, freed 0, defer 0 + 0, unloaded time 3030212139 ms, loading_time 59 ms, ms_max_size 4295286784, max size error 32309248, old_weight 7c0000000000001, new_weight 800000000000001
1674644885 metaslab.c:2436:metaslab_load_impl(): metaslab_load: txg 2599329, spa tank, vdev_id 0, ms_id 737, smp_length 388304, unflushed_allocs 0, unflushed_frees 0, freed 0, defer 0 + 0, unloaded time 2982824340 ms, loading_time 82 ms, ms_max_size 2147590144, max size error 0, old_weight 7c0000000000001, new_weight 7c0000000000001
1674645484 metaslab.c:2549:metaslab_unload(): metaslab_unload: txg 2599446, spa tank, vdev_id 0, ms_id 724, weight 780000000000001, selected txg 2599328 (604137 ms ago), alloc_txg 2599328, loaded 41848358 ms ago, max_size 2048573440
1674645489 metaslab.c:2549:metaslab_unload(): metaslab_unload: txg 2599447, spa tank, vdev_id 0, ms_id 707, weight 780000000000001, selected txg 2599329 (604430 ms ago), alloc_txg 2599329, loaded 106441447 ms ago, max_size 1073995776
1674647389 metaslab.c:2436:metaslab_load_impl(): metaslab_load: txg 2599818, spa tank, vdev_id 0, ms_id 740, smp_length 523256, unflushed_allocs 0, unflushed_frees 0, freed 0, defer 0 + 0, unloaded time 8346148481 ms, loading_time 104 ms, ms_max_size 4294860800, max size error 0, old_weight 7c0000000000001, new_weight 7c0000000000001
1674647389 metaslab.c:2436:metaslab_load_impl(): metaslab_load: txg 2599818, spa tank, vdev_id 0, ms_id 738, smp_length 1302664, unflushed_allocs 0, unflushed_frees 0, freed 0, defer 0 + 0, unloaded time 8169911781 ms, loading_time 150 ms, ms_max_size 4295057408, max size error 98304, old_weight 7c0000000000001, new_weight 800000000000001
1674647988 metaslab.c:2549:metaslab_unload(): metaslab_unload: txg 2599935, spa tank, vdev_id 0, ms_id 726, weight 780000000000001, selected txg 2599817 (604189 ms ago), alloc_txg 2599817, loaded 32972289 ms ago, max_size 2017918976
1674647993 metaslab.c:2549:metaslab_unload(): metaslab_unload: txg 2599936, spa tank, vdev_id 0, ms_id 629, weight 780000000000001, selected txg 2599818 (604481 ms ago), alloc_txg 2599818, loaded 361963286 ms ago, max_size 2147418112
1674649246 metaslab.c:3646:metaslab_condense(): condensing: txg 2600183, msp[738] ffff8ce013201800, vdev id 0, spa tank, smp size 1302664, segments 10965, forcing condense=FALSE
1674652072 metaslab.c:3646:metaslab_condense(): condensing: txg 2600735, msp[714] ffff8ce012dd8000, vdev id 0, spa tank, smp size 539248, segments 19672, forcing condense=FALSE
1674653921 metaslab.c:2436:metaslab_load_impl(): metaslab_load: txg 2601096, spa tank, vdev_id 0, ms_id 742, smp_length 182872, unflushed_allocs 0, unflushed_frees 0, freed 0, defer 0 + 0, unloaded time 3009017100 ms, loading_time 30 ms, ms_max_size 3941949440, max size error 96198656, old_weight 7c0000000000001, new_weight 7c0000000000001
1674654525 metaslab.c:2549:metaslab_unload(): metaslab_unload: txg 2601214, spa tank, vdev_id 0, ms_id 725, weight 780000000000001, selected txg 2601096 (604417 ms ago), alloc_txg 2601096, loaded 50889411 ms ago, max_size 1073987584
1674657628 metaslab.c:2436:metaslab_load_impl(): metaslab_load: txg 2601820, spa tank, vdev_id 0, ms_id 743, smp_length 948424, unflushed_allocs 0, unflushed_frees 0, freed 0, defer 0 + 0, unloaded time 8334883934 ms, loading_time 95 ms, ms_max_size 4294901760, max size error 0, old_weight 7c0000000000001, new_weight 7c0000000000001
1674658232 metaslab.c:2549:metaslab_unload(): metaslab_unload: txg 2601938, spa tank, vdev_id 0, ms_id 690, weight 780000000000001, selected txg 2601820 (604398 ms ago), alloc_txg 2601820, loaded 145853177 ms ago, max_size 2147467264
1674659174 metaslab.c:3646:metaslab_condense(): condensing: txg 2602122, msp[743] ffff8ce013202800, vdev id 0, spa tank, smp size 948424, segments 19354, forcing condense=FALSE
1674660869 metaslab.c:3646:metaslab_condense(): condensing: txg 2602453, msp[708] ffff8ce012dde800, vdev id 0, spa tank, smp size 584360, segments 36359, forcing condense=FALSE
1674663946 metaslab.c:2436:metaslab_load_impl(): metaslab_load: txg 2603054, spa tank, vdev_id 0, ms_id 746, smp_length 339912, unflushed_allocs 0, unflushed_frees 0, freed 0, defer 0 + 0, unloaded time 2980709058 ms, loading_time 89 ms, ms_max_size 2147737600, max size error 16384, old_weight 7c0000000000001, new_weight 7c0000000000001
1674663946 metaslab.c:2436:metaslab_load_impl(): metaslab_load: txg 2603054, spa tank, vdev_id 0, ms_id 745, smp_length 597704, unflushed_allocs 0, unflushed_frees 0, freed 0, defer 0 + 0, unloaded time 2844713184 ms, loading_time 92 ms, ms_max_size 4296146944, max size error 1204224, old_weight 7c0000000000001, new_weight 800000000000001
1674664069 metaslab.c:3646:metaslab_condense(): condensing: txg 2603078, msp[745] ffff8ce013202000, vdev id 0, spa tank, smp size 597704, segments 12004, forcing condense=FALSE
1674664545 metaslab.c:2549:metaslab_unload(): metaslab_unload: txg 2603171, spa tank, vdev_id 0, ms_id 728, weight 780000000000001, selected txg 2603053 (604515 ms ago), alloc_txg 2603053, loaded 40180630 ms ago, max_size 1807925248
1674664550 metaslab.c:2549:metaslab_unload(): metaslab_unload: txg 2603172, spa tank, vdev_id 0, ms_id 708, weight 740000000000001, selected txg 2603054 (604688 ms ago), alloc_txg 2603054, loaded 125046847 ms ago, max_size 1073700864
1674672763 metaslab.c:3646:metaslab_condense(): condensing: txg 2604776, msp[730] ffff8ce012de8000, vdev id 0, spa tank, smp size 531560, segments 18090, forcing condense=FALSE
1674673802 metaslab.c:2436:metaslab_load_impl(): metaslab_load: txg 2604979, spa tank, vdev_id 0, ms_id 750, smp_length 946232, unflushed_allocs 0, unflushed_frees 0, freed 0, defer 0 + 0, unloaded time 2950533962 ms, loading_time 118 ms, ms_max_size 2147581952, max size error 98304, old_weight 7c0000000000001, new_weight 7c0000000000001
1674673986 metaslab.c:3646:metaslab_condense(): condensing: txg 2605015, msp[750] ffff8ce013302000, vdev id 0, spa tank, smp size 946232, segments 8330, forcing condense=FALSE
1674674406 metaslab.c:2549:metaslab_unload(): metaslab_unload: txg 2605097, spa tank, vdev_id 0, ms_id 714, weight 740000000000001, selected txg 2604979 (604431 ms ago), alloc_txg 2604979, loaded 92074490 ms ago, max_size 1073569792
1674680745 metaslab.c:3646:metaslab_condense(): condensing: txg 2606335, msp[713] ffff8ce012ddd800, vdev id 0, spa tank, smp size 932672, segments 58225, forcing condense=FALSE
1674682389 metaslab.c:2436:metaslab_load_impl(): metaslab_load: txg 2606656, spa tank, vdev_id 0, ms_id 751, smp_length 462648, unflushed_allocs 0, unflushed_frees 0, freed 0, defer 0 + 0, unloaded time 8327163567 ms, loading_time 96 ms, ms_max_size 4295655424, max size error 819200, old_weight 7c0000000000001, new_weight 800000000000001
1674682993 metaslab.c:2549:metaslab_unload(): metaslab_unload: txg 2606774, spa tank, vdev_id 0, ms_id 745, weight 780000000000001, selected txg 2606656 (604398 ms ago), alloc_txg 2606656, loaded 19046588 ms ago, max_size 2147450880
1674683198 metaslab.c:2436:metaslab_load_impl(): metaslab_load: txg 2606814, spa tank, vdev_id 0, ms_id 753, smp_length 119288, unflushed_allocs 0, unflushed_frees 0, freed 0, defer 0 + 0, unloaded time 2977889995 ms, loading_time 28 ms, ms_max_size 3891806208, max size error 33497088, old_weight 7c0000000000001, new_weight 7c0000000000001
1674683198 metaslab.c:2436:metaslab_load_impl(): metaslab_load: txg 2606814, spa tank, vdev_id 0, ms_id 754, smp_length 507512, unflushed_allocs 0, unflushed_frees 0, freed 0, defer 0 + 0, unloaded time 2985527371 ms, loading_time 72 ms, ms_max_size 4295491584, max size error 589824, old_weight 7c0000000000001, new_weight 800000000000001
1674683797 metaslab.c:2549:metaslab_unload(): metaslab_unload: txg 2606931, spa tank, vdev_id 0, ms_id 731, weight 780000000000001, selected txg 2606813 (604156 ms ago), alloc_txg 2606813, loaded 45577299 ms ago, max_size 2104754176
1674683802 metaslab.c:2549:metaslab_unload(): metaslab_unload: txg 2606932, spa tank, vdev_id 0, ms_id 729, weight 780000000000001, selected txg 2606814 (604383 ms ago), alloc_txg 2606814, loaded 58525511 ms ago, max_size 1073782784
1674685937 metaslab.c:2436:metaslab_load_impl(): metaslab_load: txg 2607349, spa tank, vdev_id 0, ms_id 756, smp_length 60024, unflushed_allocs 0, unflushed_frees 0, freed 0, defer 0 + 0, unloaded time 2978965222 ms, loading_time 19 ms, ms_max_size 4224565248, max size error 19783680, old_weight 7c0000000000001, new_weight 7c0000000000001
1674686541 metaslab.c:2549:metaslab_unload(): metaslab_unload: txg 2607467, spa tank, vdev_id 0, ms_id 713, weight 740000000000001, selected txg 2607349 (604391 ms ago), alloc_txg 2607349, loaded 113921369 ms ago, max_size 1073733632
1674686756 metaslab.c:3646:metaslab_condense(): condensing: txg 2607509, msp[727] ffff8ce012dec800, vdev id 0, spa tank, smp size 556344, segments 22595, forcing condense=FALSE
~> zpool status tank
pool: tank
state: ONLINE
scan: scrub repaired 0B in 08:42:40 with 0 errors on Sun Jan 1 09:33:37 2023
config:
NAME STATE READ WRITE CKSUM
tank ONLINE 0 0 0
raidz1-0 ONLINE 0 0 0
scsi-0ATA_TOSHIBA_HDWD240_51S1S1HZS5HH ONLINE 0 0 0
scsi-SATA_TOSHIBA_MD04ACA4_54V3K2GYFSAA ONLINE 0 0 0
scsi-0ATA_ST4000NC000-1FR1_Z306EQ57 ONLINE 0 0 0
scsi-SATA_TOSHIBA_MG04ACA4_88N1KBYKFJKA ONLINE 0 0 0
logs
nvme-KINGSTON_SA2000M8500G_50026B7684E0D1BE-part3 ONLINE 0 0 0
cache
nvme-KINGSTON_SA2000M8500G_50026B7684E0D1BE-part4 ONLINE 0 0 0
errors: No known data errors
tank
is my only pool in the system. I didn't delete any pool recently and according to lsblk
, all my devices are there and online.
How can I find out whether running zpool scrub
and rebooting the system is a safe thing to do?
If it's not safe, it's a bug.
I had a cronjob for automatic scrubbing which ran and left the data unharmed. So, that was actually safe.
In the meantime, I rebooted the system, lost no data and the commands do not hang anymore. Maybe #14491 will give some more insight, as I can no longer debug this. I'll update the ticket if the problem occurs again and debugging is desired. Otherwise, I guess that rebooting does the trick.
System information
Type | Version/Name Distribution Name | Ubuntu Distribution Version | 22.04.1 LTS Kernel Version | 5.15.0-50 Architecture | x86_64 OpenZFS Version | 2.1.4
Describe the problem you're observing
The command zpool status hangs. What additional info should I provide for debugging? How can I reboot the system safely? Below you can find the strace of
zpool status
where the command is sitting for several days now. From server logs I deduced that other incovations must have been wating for more than 30 days.Describe how to reproduce the problem
Include any warning/errors/backtraces from the system logs