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.

Array Shrink - Sanity Check

Featured Replies

Hi, I'm removing 3, 8TB drives from my array. I know two ways to do this and I'm planning to take the dangerous approach but am thinking I have a method to reduce the risk, looking for process confirmation or better options

 

Why go the dangerous route? I don't want to wait 3+ days for my 3 8TB drives to zero out. I also understand that my docker and vm services should be offline during these zero operations which means 3+ days of down time for the server. I'm guessing that as long as I know no services would write to these disks during the zero, I wouldn't actually need to take the services down...I think....

 

I have 2 parity drives and 18 data disks totaling ~120TB in btrfs

 

Shrink Process

  1. Move all data off of 3 data disks to other array disks
  2. Generate reports of all files on all data disks and save. In event of data loss, I'd at least know what was lost
  3. Offsite backups of all critical data
  4. Remove 3 empty data disks from array
  5. Unassign Parity 2 
    1. ?? This is my primary question -- if data disk fails during parity rebuild on parity1, can parity 2 be swapped back in with the original 3 data disks and new config with same config as before, check "parity is valid", rebuild failed data disk, get stable, restart process. Does this work?
  6. New Config
  7. Rebuild Parity only on Parity 1 disk
  8. Add parity 2 back, rebuild parity on parity 2

 

Remaining risks

  • If parity1 disk fails during parity 2 rebuild, I would be left without a parity for a bit until parity 2 rebuild finishes
    • Mitigation: Smart reports prior to rebuilds to minimize risk. Would an extended self test prior help or is SMART sufficient?
    • Mitigation: Parity drives are NAS drives that should have a very low fail rate

Solved by JorgeB

  • Solution
1 hour ago, geeksheikh said:

?? This is my primary question -- if data disk fails during parity rebuild on parity1, can parity 2 be swapped back in with the original 3 data disks and new config with same config as before, check "parity is valid", rebuild failed data disk, get stable, restart process. Does this work?

Yes, but only if you do the parity sync in maintenance mode.

  • Author

great! Thanks for that clarification. That would have been a bad check box to miss.

 

The rest of the process looks like best option overall given that I don't want to zero all the drives first?

  • 2 weeks later...
  • Author

appreciate the help, the rebuild went well, no issues.

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.