现在基本可以确定是import的时候卡住了。
我按你说的,用另外一个系统起来,手动运行import命令,接着就卡死在这里。
root@bookworm: ~ # zpool import -f ocean
Message from syslogd@bookworm at Dec 6 15:27:08 ...
kernel:[ 1703.474426] VERIFY(BP_GET_FILL(db->db_blkptr) == 0 || db->db_dirtycnt > 0) failed
Message from syslogd@bookworm at Dec 6 15:27:08 ...
kernel:[ 1703.475471] PANIC at dnode_sync.c:301:free_children()
这个时候的log如下:
2023-12-06T15:27:06.276901+08:00 bookworm zed: eid=3 class=config_sync pool='ocean' 2023-12-06T15:27:06.277060+08:00 bookworm zed: eid=4 class=pool_import pool='ocean'
2023-12-06T15:27:07.082988+08:00 bookworm zed: eid=7 class=resilver_finish pool='ocean'
2023-12-06T15:27:07.152799+08:00 bookworm zed: eid=8 class=config_sync pool='ocean'
2023-12-06T15:27:08.778041+08:00 bookworm kernel: [ 1703.474426] VERIFY(BP_GET_FILL(db->db_blkptr) == 0 || db->db_dirtycnt > 0) failed
2023-12-06T15:27:08.778058+08:00 bookworm kernel: [ 1703.475471] PANIC at dnode_sync.c:301:free_children()
2023-12-06T15:27:08.778059+08:00 bookworm kernel: [ 1703.476490] Showing stack for process 9156
2023-12-06T15:27:08.778068+08:00 bookworm kernel: [ 1703.477511] CPU: 8 PID: 9156 Comm: dp_sync_taskq Kdump: loaded Tainted: P OE 6.1.0-14-amd64 #1 Debian 6.1.64-1
2023-12-06T15:27:08.778070+08:00 bookworm kernel: [ 1703.478574] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./Z490 Phantom Gaming 4, BIOS P1.20 03/06/2020
2023-12-06T15:27:08.778071+08:00 bookworm kernel: [ 1703.479646] Call Trace:
2023-12-06T15:27:08.778072+08:00 bookworm kernel: [ 1703.480726] <TASK>
2023-12-06T15:27:08.778073+08:00 bookworm kernel: [ 1703.481785] dump_stack_lvl+0x44/0x5c
2023-12-06T15:27:08.778074+08:00 bookworm kernel: [ 1703.482859] spl_panic+0xf0/0x108 [spl]
2023-12-06T15:27:08.778075+08:00 bookworm kernel: [ 1703.483952] ? zio_wait+0x279/0x2b0 [zfs]
2023-12-06T15:27:08.778076+08:00 bookworm kernel: [ 1703.485249] free_children+0x316/0x3e0 [zfs]
2023-12-06T15:27:08.778077+08:00 bookworm kernel: [ 1703.486467] free_children+0x209/0x3e0 [zfs]
2023-12-06T15:27:08.778078+08:00 bookworm kernel: [ 1703.487675] free_children+0x209/0x3e0 [zfs]
2023-12-06T15:27:08.778079+08:00 bookworm kernel: [ 1703.488866] dnode_sync_free_range+0x138/0x290 [zfs]
2023-12-06T15:27:08.778079+08:00 bookworm kernel: [ 1703.490066] ? free_children+0x3e0/0x3e0 [zfs]
2023-12-06T15:27:08.778081+08:00 bookworm kernel: [ 1703.491263] range_tree_walk+0xb8/0x1e0 [zfs]
2023-12-06T15:27:08.778081+08:00 bookworm kernel: [ 1703.492488] dnode_sync+0x3ad/0xb40 [zfs]
2023-12-06T15:27:08.778082+08:00 bookworm kernel: [ 1703.493682] ? __switch_to_asm+0x3a/0x60
2023-12-06T15:27:08.778083+08:00 bookworm kernel: [ 1703.494730] ? finish_task_switch.isra.0+0x90/0x2d0
2023-12-06T15:27:08.778084+08:00 bookworm kernel: [ 1703.495772] ? dnode_multilist_index_func+0x94/0xb0 [zfs]
2023-12-06T15:27:08.778085+08:00 bookworm kernel: [ 1703.496958] sync_dnodes_task+0x71/0xa0 [zfs]
2023-12-06T15:27:08.778086+08:00 bookworm kernel: [ 1703.498153] taskq_thread+0x2e0/0x510 [spl]
2023-12-06T15:27:08.778087+08:00 bookworm kernel: [ 1703.499227] ? wake_up_q+0x90/0x90
2023-12-06T15:27:08.778096+08:00 bookworm kernel: [ 1703.500274] ? taskq_thread_spawn+0x50/0x50 [spl]
2023-12-06T15:27:08.778097+08:00 bookworm kernel: [ 1703.501334] kthread+0xd7/0x100
2023-12-06T15:27:08.778098+08:00 bookworm kernel: [ 1703.502381] ? kthread_complete_and_exit+0x20/0x20
2023-12-06T15:27:08.778099+08:00 bookworm kernel: [ 1703.503433] ret_from_fork+0x1f/0x30
2023-12-06T15:27:08.778100+08:00 bookworm kernel: [ 1703.504483] </TASK>
2023-12-06T15:27:59.698575+08:00 bookworm kernel: [ 1754.422597] docker0: port 1(veth5973c55) entered blocking state
2023-12-06T15:27:59.698583+08:00 bookworm kernel: [ 1754.423145] docker0: port 1(veth5973c55) entered disabled state
2023-12-06T15:27:59.698584+08:00 bookworm kernel: [ 1754.423714] device veth5973c55 entered promiscuous mode
2023-12-06T15:27:59.698584+08:00 bookworm kernel: [ 1754.424319] docker0: port 1(veth5973c55) entered blocking state
2023-12-06T15:27:59.698585+08:00 bookworm kernel: [ 1754.424861] docker0: port 1(veth5973c55) entered forwarding state
【 在 cppbuilder 的大作中提到: 】
: 你发的这些不是纯文本,也看不清楚
: 如果你能用u盘或者现在的debian启动,import一下把错误日志写进文本文件发出来可能会有人能帮你
:
--
FROM 120.231.212.*