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 RAIDZ1 pool - 1 disk dead on boot, how to replace?

Featured Replies

Hi,

I'm on Unraid 7.1.2. I have setup and used a 3x18TB HDD RAIDZ1 ZFS pool successfully, all great and happy!

Yesterday I got a SMART notification that one of the disks is loosing HELIUM - no idea why, but ok. I have a spare identical drive so I want to switch to that.

Turned the server off last night, watched a youtube video before sleeping and now wanted to do that.

I attached the spare disk to the server and booted. Unfortunately, the failed HDD is no longer detected by Unraid. I attached the disk via USB - it is found, but shows a size of 0 byte - so it's dead.

How do I go about this? Do I - as described in above video - simply add the spare disk to the ZFS pool and start the array, which then automagically triggers resilvering and restores the data? The text "All existing data on this device will be OVERWRITTEN when array is Started" lets me assume that is the case.

But I'd rather like to know if that is the correct way before I make matters even worse...

Thx!

Edited by MichaelAnders2

Solved by JorgeB

  • MichaelAnders2 changed the title to ZFS RAIDZ1 pool - 1 disk dead on boot, how to replace?
  • Author

Thanks, JorgeB!

As I am scared sh*tl*ess of more data loss, one follow up question concerning "Always a good idea to backup anything important on the current pool in case something unexpected happens" and the "Procedure if you can have both the old and new devices connected at the same time" you described - os the backup something I should have done or something I can still do?

My guess is the latter. And the message "Start will remove the missing pool disk and then bring the array on-line." just means that:

  1. the disk 2 slot will remain as "no device"

  2. disk 1 and disk 3 will simulate data from disk 2 - no resilvering yet (as that might cause corruption), not sure if that pool is read only (probably not needed, but not a good idea to write on it)?

  3. backup the important data elsewhere

  4. once done stop the array

  5. add the new disk as disk 2

  6. start the array

  7. wait for the resilvering to complete

  8. use the system as normal

Is this assumption correct or do I go straight to point 5?

  • Community Expert
8 minutes ago, MichaelAnders2 said:

os the backup something I should have done or something I can still do?

You should always have a backup of anything important, you could still do the backup now by mounting the pool degraded.

11 minutes ago, MichaelAnders2 said:

And the message "Start will remove the missing pool disk and then bring the array on-line." just means that:

Yes, it will mount the pool degraded, if there's only a very small percentage of data that you want to backup, it may be worth doing the backup first. To back the whole pool, you might as well replace the disk now and backup after, to get the pool healthy ASAP.

  • Author

Great, thanks a lot for your help!!!

Backups are done of important stuff, just not in the last few days for some files/folders... need another machine for automation (coming soon...)

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.