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.

system non-responsive during resilver. Pool not found after reboot. Hosed?

Featured Replies

I was replacing a failed drive and during the resilver, I found unRAID to be unresponsive... no SSH access, no Webui, no prompt when directly connected to the box. Upon a forced shutdown and bringing it up, unRAID told me my ZFS array was invalid, despite having all the right disks selected. I built a new config, selected the drives, and now it's saying my drives aren't mountable, and I need to format them before it'll load the zpool. There's no pool found in the ZFS Master plugin, or when I look for one via CLI. I think I'm hosed, but before I format the drives and start over, I was hoping all is not lost... diags attached.

virtunraid-diagnostics-20241011-1520.zip

Solved by ShadowLeague

  • Author
9 hours ago, JorgeB said:

Post the output from

zpool import

 

I booted the system back up. Before clicking `start array` I did the zpool import command and it came back with a prompt with no output. But, the pool is seen in the ZFS Master plugin and cli, but not the pool in the UI. The pool still says it's an umountable filesystem, but I can still see the data in the plugin and cli.


Currently, it's resilvering but the ETA for completion is increasing (3+ days) while one of the other drives is kicking out read errors. This is a raidz2, so technicallly, i could try to replace the failing drive... but given that I found the system unresponsive yesterday, the UI not completely seeing the pool, I'm not sure if that'll help or hurt my current position.

UPDATE: resilvering is now past 7 days and counting. Once I grab what I want from the system, I'll run SMART tests and see if any other drives need to be replaced. I'm open to other suggestions if there's a better path to take.

Edited by ShadowLeague
updating status

7 hours ago, ShadowLeague said:

but I can still see the data in the plugin and cli.

That means the pool was imported, just doing a zpool import would not do that, unless you add the pool name in the end.

 

Post the output from

zpool status

 

  • Author

Here's the latest

root@virtunraid:~# zpool status
  pool: spinners
 state: DEGRADED
status: One or more devices has experienced an unrecoverable error.  An
        attempt was made to correct the error.  Applications are unaffected.
action: Determine if the device needs to be replaced, and clear the errors
        using 'zpool clear' or replace the device with 'zpool replace'.
   see: https://openzfs.github.io/openzfs-docs/msg/ZFS-8000-9P
  scan: resilvered 213M in 00:00:05 with 0 errors on Sat Oct 12 18:47:02 2024
config:

        NAME                       STATE     READ WRITE CKSUM
        spinners                   DEGRADED     0     0     0
          raidz2-0                 DEGRADED     0     0     0
            sdf1                   ONLINE       0    13     0
            sdd1                   ONLINE       0     0     0
            sdh1                   ONLINE       0     0     0
            sdk1                   ONLINE       0     0     0
            sdl1                   ONLINE       0     0     0
            sdc1                   ONLINE       0     0     0
            sdb1                   ONLINE       0     0     0
            sdm1                   ONLINE       0     0     0
            sde1                   ONLINE       0     0     0
            replacing-9            DEGRADED     0     0     0
              sdg1                 ONLINE       0     0     0
              3500479797208464185  FAULTED      0     0     0  was /dev/sdg1
            sdo1                   ONLINE       0     0     0
            sdi1                   ONLINE       0     0     0
            sdp1                   ONLINE       0     0     0
            sdj1                   ONLINE       0     0     0

errors: No known data errors

With the suggestion from the above output, I can't get them to work

root@virtunraid:~# zpool replace spinners sdg1

invalid vdev specification

use '-f' to override the following errors:

/dev/sdg1 is part of active pool 'spinners'

root@virtunraid:~# zpool replace -f spinners sdg1
invalid vdev specification
the following errors must be manually repaired:
/dev/sdg1 is part of active pool 'spinners'

From what I'm reading, I need to:
export the pool

stop zfs services

clear zfs cache

import the pool

start zfs services

 

I'm just afraid to do these steps without some confirmation that this is the best path to get the pool back to a healthy state.

type

zpool detach spinners 3500479797208464185

 

And then a new zpool status output

  • Author
  • Solution

oh man - I overlooked that. I think I'm in a good spot now. I ran the zpool clear and I think everything is good to go.
Strange that the UI says I still have unmountable disks, but the zpool is mounted and data is accessible. 

root@virtunraid:~# zpool clear spinners
root@virtunraid:~# zpool status -v
  pool: spinners
 state: ONLINE
  scan: resilvered 213M in 00:00:05 with 0 errors on Sat Oct 12 18:47:02 2024
config:

        NAME        STATE     READ WRITE CKSUM
        spinners    ONLINE       0     0     0
          raidz2-0  ONLINE       0     0     0
            sdf1    ONLINE       0     0     0
            sdd1    ONLINE       0     0     0
            sdh1    ONLINE       0     0     0
            sdk1    ONLINE       0     0     0
            sdl1    ONLINE       0     0     0
            sdc1    ONLINE       0     0     0
            sdb1    ONLINE       0     0     0
            sdm1    ONLINE       0     0     0
            sde1    ONLINE       0     0     0
            sdg1    ONLINE       0     0     0
            sdo1    ONLINE       0     0     0
            sdi1    ONLINE       0     0     0
            sdp1    ONLINE       0     0     0
            sdj1    ONLINE       0     0     0

errors: No known data errors

I think the next part is to run a scrub to ensure everything is good.

Edited by ShadowLeague
additional info provided

6 hours ago, ShadowLeague said:

I think the next part is to run a scrub to ensure everything is good.

Yep

6 hours ago, ShadowLeague said:

Strange that the UI says I still have unmountable disks

Try re-starting the array, it should mount now, but make sure the devices are all assigned in the same order as the zpool status output:

sdf

sdd

sdh

etc

If they are not, you should re-import the pool, I can post the instructions if needed.

  • Author

I setup a new config for the pool and lined up the drives as the zpool sees them (from zpool status output) and unRAID still stays there are unmountable disks present, and wanting me to format in order to mount the pool.

Is there another step I should try?

Don't forget that you need to export the pool first:

 

zpool export spinners

 

If it's not that, post new diags after array start.

 

 

  • 2 weeks later...
  • Author

Apologies on the delay. Steps taken:

  • stopped all docker containers
  • by CLI, exported the zpool
  • stopped the array within unRAID UI
  • started the array within unRAID UI
  • The array is mounted within the UI and I can see all the details of it within the ZFS Master plugin.

Thank you for the help on this one.

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.