Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

zfs阵列无法启动,日志看不懂,哪位大佬给看看

Featured Replies

系统appdata和docker数据我放到了 zfs阵列中,取名zfsapp,做了zfs镜像,500G ssd。

昨天晚上,重启unraid后,这个zfsapp阵列就无法启动了,webui正常进入,其他阵列启动正常,卡在了一直mounting disks....只能强制关机或重启,

日志错误:

Aug 24 08:50:19 W-unraid emhttpd: mounting /mnt/zfsapp
Aug 24 08:50:19 W-unraid emhttpd: shcmd (2458): mkdir -p /mnt/zfsapp
Aug 24 08:50:19 W-unraid emhttpd: /usr/sbin/zpool import -d /dev/sdk1 2>&1
Aug 24 08:50:19 W-unraid emhttpd:    pool: zfsapp
Aug 24 08:50:19 W-unraid emhttpd:      id: 132344434219177531
Aug 24 08:50:19 W-unraid emhttpd: shcmd (2459): /usr/sbin/zpool import -N -o autoexpand=on  -d /dev/sdk1 -d /dev/sdj1 132344434219177531 zfsapp
Aug 24 08:50:25 W-unraid emhttpd: /usr/sbin/zpool status -PL zfsapp 2>&1
Aug 24 08:50:25 W-unraid emhttpd:   pool: zfsapp
Aug 24 08:50:25 W-unraid emhttpd:  state: ONLINE
Aug 24 08:50:25 W-unraid emhttpd:   scan: scrub repaired 0B in 00:02:06 with 0 errors on Mon Jul 24 00:37:10 2023
Aug 24 08:50:25 W-unraid emhttpd: config:
Aug 24 08:50:25 W-unraid emhttpd:  NAME           STATE     READ WRITE CKSUM
Aug 24 08:50:25 W-unraid emhttpd:  zfsapp         ONLINE       0     0     0
Aug 24 08:50:25 W-unraid emhttpd:  mirror-0     ONLINE       0     0     0
Aug 24 08:50:25 W-unraid emhttpd:    /dev/sdk1  ONLINE       0     0     0
Aug 24 08:50:25 W-unraid emhttpd:      /dev/sdj1  ONLINE       0     0     0
Aug 24 08:50:25 W-unraid emhttpd: errors: No known data errors
Aug 24 08:50:25 W-unraid emhttpd: shcmd (2460): /usr/sbin/zfs set mountpoint=/mnt/zfsapp zfsapp
Aug 24 08:50:25 W-unraid emhttpd: shcmd (2461): /usr/sbin/zfs set atime=off zfsapp
Aug 24 08:50:25 W-unraid emhttpd: shcmd (2462): /usr/sbin/zfs mount zfsapp
Aug 24 08:50:26 W-unraid nmbd[24447]: [2023/08/24 08:50:26.255268,  0] ../../source3/nmbd/nmbd_become_lmb.c:398(become_local_master_stage2)
Aug 24 08:50:26 W-unraid nmbd[24447]:   *****
Aug 24 08:50:26 W-unraid nmbd[24447]:   
Aug 24 08:50:26 W-unraid nmbd[24447]:   Samba name server W-UNRAID is now a local master browser for workgroup WORKGROUP on subnet 192.168.1.7
Aug 24 08:50:26 W-unraid nmbd[24447]:   
Aug 24 08:50:26 W-unraid nmbd[24447]:   *****
Aug 24 08:50:26 W-unraid nmbd[24447]: [2023/08/24 08:50:26.255334,  0] ../../source3/nmbd/nmbd_become_lmb.c:398(become_local_master_stage2)
Aug 24 08:50:26 W-unraid nmbd[24447]:   *****
Aug 24 08:50:26 W-unraid nmbd[24447]:   
Aug 24 08:50:26 W-unraid nmbd[24447]:   Samba name server W-UNRAID is now a local master browser for workgroup WORKGROUP on subnet 192.168.1.31
Aug 24 08:50:26 W-unraid nmbd[24447]:   
Aug 24 08:50:26 W-unraid nmbd[24447]:   *****
Aug 24 08:50:27 W-unraid kernel: VERIFY3(0 == P2PHASE(asize, 1ULL << vd->vdev_ashift)) failed (0 == 512)
Aug 24 08:50:27 W-unraid kernel: VERIFY3(0 == P2PHASE(asize, 1ULL << vd->vdev_ashift)) failed (0 == 512)
Aug 24 08:50:27 W-unraid kernel: PANIC at metaslab.c:5341:metaslab_free_concrete()
Aug 24 08:50:27 W-unraid kernel: VERIFY3(0 == P2PHASE(asize, 1ULL << vd->vdev_ashift)) failed (0 == 512)
Aug 24 08:50:27 W-unraid kernel: PANIC at metaslab.c:5341:metaslab_free_concrete()
Aug 24 08:50:27 W-unraid kernel: Showing stack for process 25498
Aug 24 08:50:27 W-unraid kernel: CPU: 4 PID: 25498 Comm: z_wr_int_0 Tainted: P     U     O       6.1.38-Unraid #2
Aug 24 08:50:27 W-unraid kernel: Hardware name: Micro-Star International Co., Ltd. MS-7D42/MAG B660M MORTAR WIFI DDR4 (MS-7D42), BIOS 1.C0 05/19/2023
Aug 24 08:50:27 W-unraid kernel: Call Trace:
Aug 24 08:50:27 W-unraid kernel: <TASK>
Aug 24 08:50:27 W-unraid kernel: dump_stack_lvl+0x44/0x5c
Aug 24 08:50:27 W-unraid kernel: spl_panic+0xd0/0xe8 [spl]
Aug 24 08:50:27 W-unraid kernel: ? blk_mq_do_dispatch_sched+0xb2/0x31b
Aug 24 08:50:27 W-unraid kernel: ? elv_attempt_insert_merge+0x6c/0xb6
Aug 24 08:50:27 W-unraid kernel: ? __blk_mq_sched_dispatch_requests+0xc9/0x11c
Aug 24 08:50:27 W-unraid kernel: ? blk_mq_sched_dispatch_requests+0x2f/0x5a
Aug 24 08:50:27 W-unraid kernel: metaslab_free_concrete+0x131/0x1db [zfs]
Aug 24 08:50:27 W-unraid kernel: metaslab_free_impl+0xb7/0xc5 [zfs]
Aug 24 08:50:27 W-unraid kernel: metaslab_free+0x125/0x149 [zfs]
Aug 24 08:50:27 W-unraid kernel: zio_free_sync+0xd5/0xe8 [zfs]
Aug 24 08:50:27 W-unraid kernel: zio_free+0xb2/0xe9 [zfs]
Aug 24 08:50:27 W-unraid kernel: dsl_dataset_block_kill+0x1da/0x42e [zfs]
Aug 24 08:50:27 W-unraid kernel: dbuf_write_done+0x4b/0x18c [zfs]
Aug 24 08:50:27 W-unraid kernel: arc_write_done+0x361/0x3a0 [zfs]
Aug 24 08:50:27 W-unraid kernel: PANIC at metaslab.c:5341:metaslab_free_concrete()
Aug 24 08:50:27 W-unraid kernel: Showing stack for process 26862
Aug 24 08:50:27 W-unraid kernel: ? preempt_latency_start+0x2b/0x46
Aug 24 08:50:27 W-unraid kernel: zio_done+0xa4e/0xc79 [zfs]
Aug 24 08:50:27 W-unraid kernel: zio_execute+0xb1/0xdf [zfs]
Aug 24 08:50:27 W-unraid kernel: taskq_thread+0x266/0x38a [spl]
Aug 24 08:50:27 W-unraid kernel: ? wake_up_q+0x44/0x44
Aug 24 08:50:27 W-unraid kernel: ? zio_subblock+0x22/0x22 [zfs]
Aug 24 08:50:27 W-unraid kernel: VERIFY3(0 == P2PHASE(asize, 1ULL << vd->vdev_ashift)) failed (0 == 512)
Aug 24 08:50:27 W-unraid kernel: PANIC at metaslab.c:5341:metaslab_free_concrete()
Aug 24 08:50:27 W-unraid kernel: Showing stack for process 26864
Aug 24 08:50:27 W-unraid kernel: ? taskq_dispatch_delay+0x106/0x106 [spl]
Aug 24 08:50:27 W-unraid kernel: kthread+0xe4/0xef
Aug 24 08:50:27 W-unraid kernel: ? kthread_complete_and_exit+0x1b/0x1b
Aug 24 08:50:27 W-unraid kernel: ret_from_fork+0x1f/0x30
Aug 24 08:50:27 W-unraid kernel: </TASK>

 

后面</task>标签错误重复出现。

 

我看应该是zfs相关错误,不知道是加载内存还是磁盘错误。哪位大佬给看看

Edited by suosuosi

Solved by wasser

  • Solution

问题解决。

还是得扒英文版....

Quote

Pool corruption can be the result of a RAM issue, it would be a good idea to run a couple of memtest passes before proceeding, then you can try importing the pool in read-only mode

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.