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.

Would adding additional drives put me more at risk for data loss?

Featured Replies

I'm considering using unRAID for my home NAS, but reading about how the parity drives, I'm concerned that adding older drives that I don't quite trust would lead to a greater risk of data loss. For example if I have:

- New NAS-grade parity drive

- HDD

- HDD

I could recover by losing any 1 of the drives, however, if I want to add an older 1TB drive I have laying around that I think might be less reliable than the other drives, I risk losing data of my other more reliable drives.

 

So I guess my question(s) about this is:
 - Is my understanding of how parity/recovery with unRAID correct?

 - Would this be any different with other options such as running ZFS?

 - How would adding a 2nd parity drive change this? Is it literally just storing the same parity info, or do they get different cross-sections of drives so 2 could be lost?

 

Edited by 7thFox

  • 7thFox changed the title to Would adding additional drives put me more at risk for data loss?

The 2 parity drives are different algorithms and are independent, so 2 drives can be rebuilt with dual parity.

7 minutes ago, 7thFox said:

an older 1TB drive I have laying around

In my opinion, it doesn't have enough capacity to bother with. You should at least run extended SMART test on old disks before trusting them in your array.

  • Author

Do you have anything you can link to explaining the 2-drive parity?

 

Also still want to know if I'm right in understanding the risk with adding drives. It's by no means a deal breaker (ZFS demanding same-size drives is enough to drive me off), but it would obviously change how I configure it hardware-wise. Originally I was thinking "well, if I lose my crap drive, I can always recover it", but if that puts my actually decent drives at risk then it's 100% not worth it.

 

Parity has none of your data. All bits of parity PLUS all bits of all other disks must be reliably read to reliably rebuild a disabled disk. Dual parity just makes it possible to rebuild 2 disks, or rebuild one disk with another disk still disabled.

1 hour ago, 7thFox said:

puts my actually decent drives at risk

An unreliable disk in the array might not reliably rebuild another disk.

A good explanation of how parity and dual parity works in Unraid is given here by SpaceinvaderOne. :)

 

https://www.youtube.com/watch?v=HybwCOVDg9k&t=1s

 

* Start at the 9:15 time mark for the parity/dual parity explanation.

Edited by peterg23

Parity, as always, is just an extra bit that allows a missing bit to be calculated from all the other bits. This wiki explains single parity:

 

https://wiki.unraid.net/Manual/Overview#Parity-Protected_Array

 

Parity2 is somewhat more complicated, but it is still just an extra bit that allows a missing bit to be calculated from all the other bits:

 

https://wiki.unraid.net/Parity#Dual_parity

 

https://mirrors.edge.kernel.org/pub/linux/kernel/people/hpa/raid6.pdf

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.