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.

Beginner question - setting up parity disk

Featured Replies

Hey everyone. This is probably Unraid 101, so I'm sorry if it's a "go read the wiki" kind of question. But I want to make sure I do this right the first time.

 

Until now, I've been using Unraid with only one 2TB HDD in my array. Today, I added a 1TB NVME disk for cache + VM images (already set up) and a 4TB HDD that I want to use for redundancy. Being that the new drive is larger, I understand it has to be the parity drive. What is the process I should follow here? Currently, both HDDs are assigned to the array, with the new one being empty. 

 

Thanks!

  • Community Expert

You'll need to do a new config (tools -> new config), then keep other assignments and re-assign the 4TB disk as parity.

  • Author
On 7/30/2019 at 12:53 AM, johnnie.black said:

You'll need to do a new config (tools -> new config), then keep other assignments and re-assign the 4TB disk as parity.

Should I copy everything over from the other drive first? If I leave the new disk empty and set it as parity, won't it erase the data on the current disk?

  • Community Expert
1 hour ago, cyberspectre said:

Should I copy everything over from the other drive first? If I leave the new disk empty and set it as parity, won't it erase the data on the current disk?

You said the disk you intend to assign to parity is empty. What is there to copy?

 

When you New Config, the disk you assign as parity will be completely overwritten with parity. No other disks will be changed.

 

Shouldn't happen, but just in case, if it offers to Format anything, DON'T.

  • Author
4 minutes ago, trurl said:

You said the disk you intend to assign to parity is empty. What is there to copy?

 

When you New Config, the disk you assign as parity will be completely overwritten with parity. No other disks will be changed.

 

Shouldn't happen, but just in case, if it offers to Format anything, DON'T.

Oh, I see. I think I was looking at it the wrong way around. I was under the impression the parity was the "master" disk and all data disks mirror what's on that. 

  • Community Expert

Parity actually contains none of your data. Parity just contains parity bits that allow the data for a missing disk to be calculated using the data from all the other disks.

 

The concept of parity is pretty common in computers and communications. It is always just a bit that allows a missing bit to be calculated from all the other bits.

 

So, all the other bits are required for the calculation to work. If you have dual parity, then you can have 2 missing disks and still calculate them from all the remaining disks.

 

Here is a wiki article on how Unraid parity works:

 

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

  • Author
On 7/31/2019 at 4:52 PM, trurl said:

Parity actually contains none of your data. Parity just contains parity bits that allow the data for a missing disk to be calculated using the data from all the other disks.

 

The concept of parity is pretty common in computers and communications. It is always just a bit that allows a missing bit to be calculated from all the other bits.

 

So, all the other bits are required for the calculation to work. If you have dual parity, then you can have 2 missing disks and still calculate them from all the remaining disks.

 

Here is a wiki article on how Unraid parity works:

 

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

Thanks trurl. I've got it figured out now. Larger disk set as parity, which, in a 2-disk array, is actually a mirrored setup. Exactly what I needed.

Archived

This topic is now archived and is closed to further replies.

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.