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.

Upgrade Parity Disk and then replace old data disk with old parity disk.

Featured Replies

I have an array with:

1 SSD as cache pool

1 10TB disk as parity

2 10TB disks as data

1 3TB disk as data.

 

I am out of drive bays.

 

I've removed the parity disk and replaced it with a precleared 14TB disk.

I'd like to preclear the old 10TB parity disk and use it to replace the old 3TB disk.

 

I think my steps are:

 

1) Plug the old parity disk to a USB enclosure

2) Clear the first few sectors - `dd if=/dev/zero of=/dev/hdx bs=1024 count=10` - to clear the preclear signature

3) Run the preclear script on it.

4) Shut down the array and power down

4a) Swap the 3TB disk for the 10TB disk

5) Power Up and allow the parity to rebuild the 10tb disk

 

Is this the best method?   Am I missing a step somewhere?  Am I completely off base?

Not sure why you want to preclear the 10TB, are you suspicious that it may be failing? You should never use a drive you consider marginal in the parity array.

 

If you are confident all drives are healthy, I'd do a non-correcting parity check, if it comes back with zero errors, you can then just pull the 3TB and replace it with the 10. No need for any other manipulations.

  • Author

If I'm mistaken, then I'm mistaken.  My understanding (definitely old) was that a preclear would reduce the amount of time spent during the rebuild of the data from the 3TB drive to (and I'm forgetting here) clear out all the data past the 3TB mark or (and now that I'm writing it out it seems unlikely) prevent the old parity data on the old parity drive being used to update the parity information on the new parity drive since it is readable data in TB 4-10.

 

Am I correct in needing to clear the first few sectors of the old parity disk so it's not recognized by Unraid as part of the array?

7 minutes ago, bmfrosty said:

Am I correct in needing to clear the first few sectors of the old parity disk so it's not recognized by Unraid as part of the array?

Nope. The array assignments are kept on the flash drive. Nothing written on the drive identifies it, just the serial number of the drive, and you already told Unraid that the parity slot is occupied by a different serial numbered drive.

  • Community Expert
1 hour ago, bmfrosty said:

My understanding (definitely old) was that a preclear would reduce the amount of time spent during the rebuild of the data from the 3TB

Any time spent doing a Preclear is wasted as the rebuild process always writes to every sector on the drive thus erasing whatever was already there.

  • Author
2 hours ago, JonathanM said:

Nope. The array assignments are kept on the flash drive. Nothing written on the drive identifies it, just the serial number of the drive, and you already told Unraid that the parity slot is occupied by a different serial numbered drive.

Great.  Makes things easier for me.

 

1 hour ago, itimpi said:

Any time spent doing a Preclear is wasted as the rebuild process always writes to every sector on the drive thus erasing whatever was already there.

Very good to know.  I should be done during the weekend then. 

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.