[Help Wanted] SCALE 21.08-BETA.1 panic on zpool import

majinjing3

Dabbler
Joined
Sep 2, 2021
Messages
19
I have found that truenas scale hang, then try to restart, but failed, finally, cut the power and restart.
But when import zpool, it panics.

Any ideas ?

Code:
[  348.906643] VERIFY3(rs_get_start(rs, rt) <= start) failed (2681251880960 <= 2681207844864)
[  348.920358] PANIC at range_tree.c:484:range_tree_remove_impl()
[  348.931586] Showing stack for process 7142
[  348.941029] CPU: 3 PID: 7142 Comm: z_wr_iss Tainted: P           OE     5.10.42+truenas #1
[  348.954795] Hardware name: ASUS System Product Name/PRIME Z590M-PLUS, BIOS 1017 07/12/2021
[  348.968595] Call Trace:
[  348.976459]  dump_stack+0x6b/0x83
[  348.985231]  spl_panic+0xd4/0xfc [spl]
[  348.994418]  ? zfs_btree_find_in_buf+0x5e/0xd0 [zfs]
[  349.004823]  ? zfs_btree_find_in_buf+0x5e/0xd0 [zfs]
[  349.015226]  ? zfs_btree_find_in_buf+0x5e/0xd0 [zfs]
[  349.025659]  range_tree_remove_impl+0x3a9/0x4a0 [zfs]
[  349.036135]  space_map_load_callback+0x22/0x80 [zfs]
[  349.046566]  space_map_iterate+0x20e/0x6a0 [zfs]
[  349.056512]  ? rs_get_start+0x20/0x20 [zfs]
[  349.065940]  space_map_load_length+0x61/0xe0 [zfs]
[  349.075971]  metaslab_load_impl+0xf8/0x820 [zfs]
[  349.085789]  ? avl_find+0x62/0xd0 [zavl]
[  349.094904]  ? find_valid_metaslab+0x148/0x240 [zfs]
[  349.105118]  ? arc_all_memory+0xa/0x10 [zfs]
[  349.114629]  ? metaslab_potentially_evict+0x49/0x300 [zfs]
[  349.125294]  metaslab_load+0xa7/0x1d0 [zfs]
[  349.134506]  metaslab_activate+0x67/0x280 [zfs]
[  349.144011]  metaslab_group_alloc_normal+0x463/0xad0 [zfs]
[  349.154398]  metaslab_group_alloc+0x54/0x170 [zfs]
[  349.164054]  ? spa_config_held+0x84/0xa0 [zfs]
[  349.173317]  metaslab_alloc_dva+0x2e6/0x960 [zfs]
[  349.182750]  metaslab_alloc+0x168/0x5b0 [zfs]
[  349.191757]  zio_dva_allocate+0x240/0x5b0 [zfs]
[  349.200956]  zio_execute+0xea/0x220 [zfs]
[  349.209595]  taskq_thread+0x22c/0x490 [spl]
[  349.218406]  ? wake_up_q+0xa0/0xa0
[  349.226454]  ? zio_execute_stack_check.constprop.0+0x10/0x10 [zfs]
[  349.237295]  ? taskq_thread_spawn+0x50/0x50 [spl]
[  349.246637]  kthread+0x11b/0x140
[  349.254481]  ? __kthread_bind_mask+0x60/0x60
[  349.263404]  ret_from_fork+0x1f/0x30


zpool info:
Code:
   pool: data
     id: 12025745657641506327
  state: ONLINE
 action: The pool can be imported using its name or numeric identifier.
 config:

    data                                      ONLINE
      raidz1-0                                ONLINE
        ae7122fa-8794-4c98-bdf6-3b90acf4ae48  ONLINE
        ab8fd8a1-5bfe-431b-9694-c59190604e0f  ONLINE
        f354a921-9470-45c7-be29-2a90e9f6ed7a  ONLINE
 
Last edited:

NYSundevil

Dabbler
Joined
Nov 22, 2020
Messages
13
Did you get this resolved? It sounds very similar to my issue in V2. SCALE continues to hang, never gets to the GUI or establishes an IP\network connection. Hardware boots fine with a fresh install of SCALE but doesn't recognize the problematic pool, only the pool's unassociated disks.
 
Last edited:

majinjing3

Dabbler
Joined
Sep 2, 2021
Messages
19
Did you get this resolved? It sounds very similar to my issue in V2. SCALE continues to hang, never gets to the GUI or establishes an IP\network connection. Hardware boots fine with a fresh install of SCALE but doesn't recognize the problematic pool, only the pool's unassociated disks.
I have to mount the pool with readonly and migrate all data to another machine.
I think TrueNAS SCALE is just a toy currently. We should not use it in daily work.
 
Top