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.

Degraded ZFS Pool

Featured Replies

  • Community Expert

OK, based on the mountpoints this should be the rocinante pool, right?

  • Author

Yes.

 

The name of the zpool is wrong and is pointing to rocinante mounting point.

 

Is it possible rename the pool?

  • Community Expert

It should be, type:

 

zpool export 5924509355974799305

then

zpool import 5924509355974799305 rocinante

then zpool status again

  • Author

I have fixed the export command by zpool export tycho, since it was telling me that when exporting I had to indicate a name starting with a letter.

 

Then I have put zpool import 5924509355974799305 rocinante and everything has been mounted correctly.

 

What would be the next step to mount the remaining pool (tycho)?

 

Thanks!

  • Community Expert

Export the rocinante pool, and output of zpool import again, to confirm both show up correctly now

  • Author

Seems OK.

 

pool: tycho
     id: 10901411189181231896
  state: DEGRADED
status: One or more devices contains corrupted data.
 action: The pool can be imported despite missing or damaged devices.  The
        fault tolerance of the pool may be compromised if imported.
   see: https://openzfs.github.io/openzfs-docs/msg/ZFS-8000-4J
 config:

        tycho                     DEGRADED
          raidz1-0                DEGRADED
            13502292040317525666  FAULTED  corrupted data
            sdl1                  ONLINE
            sdm1                  ONLINE
            sdn1                  ONLINE
            sdo1                  ONLINE
            sdp1                  ONLINE

   pool: donnager
     id: 16552885184057344388
  state: ONLINE
 action: The pool can be imported using its name or numeric identifier.
 config:

        donnager    ONLINE
          raidz1-0  ONLINE
            sdi1    ONLINE
            sdj1    ONLINE
            sdr1    ONLINE
            sdq1    ONLINE
            sds1    ONLINE
            sdt1    ONLINE

   pool: rocinante
     id: 5924509355974799305
  state: ONLINE
 action: The pool can be imported using its name or numeric identifier.
 config:

        rocinante   ONLINE
          raidz1-0  ONLINE
            sdk1    ONLINE
            sde1    ONLINE
            sdh1    ONLINE
            sdd1    ONLINE
            sdf1    ONLINE
            sdg1    ONLINE

   pool: disk1
     id: 8733512297879271467
  state: ONLINE
 action: The pool can be imported using its name or numeric identifier.
 config:

        disk1       ONLINE
          sda1      ONLINE

   pool: cache
     id: 3766673087186651326
  state: ONLINE
 action: The pool can be imported using its name or numeric identifier.
 config:

        cache        ONLINE
          nvme0n1p1  ONLINE

  • Community Expert

I believe v6.12 can import a degraded pool, but not 100% sure and I'm not in a place that I can test at the moment, sdk disk is originally form the other pool right? And if yes, what is the sdX for the missing rocinante pool disk?

  • Author

This is one of the doubts I have had during this whole process.

 

I created the pool using the ZFS Master plugin and I have assigned the drives using the HDD IDs/SERIAL NUMBER as a reference.

 

GUIzpool.thumb.jpg.6569bf3b28a52c4551ce7586adbccd99.jpg

 

This screenshot shows the drive names they had originally and now they are mapped in the same order.

 

The names of the drives have changed as a result of all this problem.

 

I attach a screenshot of the mapping I did from the GUI in case it is useful.

 

PS: I think that drive is the one that was originally in that pool (based on the serial number of the disks).

  • Community Expert

Post the current diagnostics so that I can confirm all the assignments.

  • Community Expert
  • Solution

Please confirm yourself, and note that all the sdX devices refer to how they appear currently, not as they were in the screenshot, but from what I see, the rocinante pool is currently using a 22TB disk (sdk) that should be in the tycho pool, the 18TB disk that should be in the rocinante pool is sdc, which is currently not being used by any pool, if that is correct, lets start by correcting the rocinante pool, import the pool manually:

 

zpool import rocinante

then

zpool replace rocinante /dev/sdk1 /dev/sdc1

 

I think sdc will still have a partition, if it doesn't that command will give an error, so post back, if it works, check the resilver status with zpool status and post back when it's done.

 

  • Author

This GUI screenshot shows the current pool allocation I have.

 

ZFSpoolcurrentstatus.thumb.jpg.2d0f37354605cff309f4da3a118d0d18.jpg

 

From the GUI I see everything correct.

 

Shall I proceed with what you have indicated?

 

PS: Indeed... All the disks in the Rocinante pool must be 18 TB.

Edited by Coque

  • Community Expert

The GUI shows what you want the to look in the end, but the zpool status and zpool import show the currently assigned disks:

12 hours ago, Coque said:

rocinante   ONLINE
          raidz1-0  ONLINE
            sdk1    ONLINE
            sde1    ONLINE
            sdh1    ONLINE
            sdd1    ONLINE
            sdf1    ONLINE
            sdg1    ONLINE

 

Not that sdk is the actual first pool member, not sdc and the screenshot shows, so we need to correct that first, all the commands I posted above should be done with the array still stopped, array should only be started when both pools are fixed.

  • Author

Hi, JorgeB.

 

The task has been successfully completed.

 

  pool: rocinante
 state: ONLINE
  scan: resilvered 13.1T in 1 days 03:56:38 with 0 errors on Fri Sep  6 03:46:49 2024
config:

        NAME        STATE     READ WRITE CKSUM
        rocinante   ONLINE       0     0     0
          raidz1-0  ONLINE       0     0     0
            sdc1    ONLINE       0     0     0
            sde1    ONLINE       0     0     0
            sdh1    ONLINE       0     0     0
            sdd1    ONLINE       0     0     0
            sdf1    ONLINE       0     0     0
            sdg1    ONLINE       0     0     0

errors: No known data errors

 

What would be the next step to try to recover the tycho pool?

 

Thank you!

  • Community Expert

Export this pool, import the tycho pool with 'zpool import tycho' and post the zpool status

  • Author

Here it is.

 

  pool: tycho
 state: DEGRADED
status: One or more devices could not be used because the label is missing or
        invalid.  Sufficient replicas exist for the pool to continue
        functioning in a degraded state.
action: Replace the device using 'zpool replace'.
   see: https://openzfs.github.io/openzfs-docs/msg/ZFS-8000-4J
  scan: scrub repaired 0B in 1 days 04:14:46 with 0 errors on Tue Sep  3 13:37:36 2024
config:

        NAME                      STATE     READ WRITE CKSUM
        tycho                     DEGRADED     0     0     0
          raidz1-0                DEGRADED     0     0     0
            13502292040317525666  FAULTED      0     0     0  was /dev/sdm1
            sdl1                  ONLINE       0     0     0
            sdm1                  ONLINE       0     0     0
            sdn1                  ONLINE       0     0     0
            sdo1                  ONLINE       0     0     0
            sdp1                  ONLINE       0     0     0

errors: No known data errors

 

It says there is a disk in FAULTED state.

 

Thanks!

  • Community Expert

Now lets add the missing disk to that pool, type:

 

zpool replace tycho 13502292040317525666 /dev/sdk1

 

And monitor progress with zpool status

  • Author

Hello.

 

It's resilvering the disk

 

  pool: tycho
 state: DEGRADED
status: One or more devices is currently being resilvered.  The pool will
        continue to function, possibly in a degraded state.
action: Wait for the resilver to complete.
  scan: resilver in progress since Fri Sep  6 11:46:20 2024
        380G scanned at 25.3G/s, 54.3M issued at 3.62M/s, 93.3T total
        0B resilvered, 0.00% done, no estimated completion time
config:

        NAME                        STATE     READ WRITE CKSUM
        tycho                       DEGRADED     0     0     0
          raidz1-0                  DEGRADED     0     0     0
            replacing-0             DEGRADED     0     0     0
              13502292040317525666  FAULTED      0     0     0  was /dev/sdm1
              sdk1                  ONLINE       0     0     0
            sdl1                    ONLINE       0     0     0
            sdm1                    ONLINE       0     0     0
            sdn1                    ONLINE       0     0     0
            sdo1                    ONLINE       0     0     0
            sdp1                    ONLINE       0     0     0

errors: No known data errors

 

I'll wait for it to finish and update you.

 

Thank you very much!

 

PS: Crossfinger.

  • Author

Good morning. 

 

The resilvering process of the pool called tycho has finished. 

 

state: ONLINE
  scan: resilvered 15.6T in 1 days 13:18:09 with 0 errors on Sun Sep  8 01:04:29 2024
config:
        NAME        STATE     READ WRITE CKSUM
        tycho       ONLINE       0     0     0
          raidz1-0  ONLINE       0     0     0
            sdk1    ONLINE       0     0     0
            sdl1    ONLINE       0     0     0
            sdm1    ONLINE       0     0     0
            sdn1    ONLINE       0     0     0
            sdo1    ONLINE       0     0     0
            sdp1    ONLINE       0     0     0
errors: No known data errors

 

What's the next step? 

 

Can i start the arrays through the GUI or i need to test anything else? 

Edited by Coque

  • Community Expert
3 hours ago, Coque said:

Can i start the arrays through the GUI or i need to test anything else? 

Yes, don't forget to export that pool first, and before start confirm the zpool import output matches the GUI assignments for all pools now, including device order, but it should.

  • Author

Hello, JorgeB.

 

I have done everything as you told me.

 

I exported the zpool, checked that the disks were correctly assigned and, just in case, I restarted the server to mount the array + containers.

 

And everything is working as usual.

 

I am hugely grateful for your time and help.

 

PS: Do you have a Patreon or Paypal to pay for a coffee or a beer? ;-)

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.