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.

Swapping array drive with parity drive

Featured Replies

I want to have total parity size expanded. It now has a 10TB and 6TB drive as parity 1 and 2, so only 6TB can be used in the array.

I have another 10TB drive (planned to be) in the array, and intend to swap them around.

What's the best route to go here?

Do I just stop the array and unassign that 2nd parity 6TB HDD first?

Then take the 10TB out of the array as well?

Or can I do both in one go and start the array with the 2 swapped around?

 

Is there a way, outside of the Unbalance plugin, to actually physically move out the data that would be on the 10TB array disk, so I'm certain to not lose anything now stored on it?

How do I know what the actual amount of disks that can fail (or disappear) in the array is, if there are 8 HDD in the array (not counting the 2 parity drives) ?

Edited by Julius

2 minutes ago, Julius said:

to actually physically move out the data that's on the 10TB array disk, so I'm certain to not lose anything now stored on it?

Over the network.  Global Share Settings, Enable Disk Shares

 

Then move from diskX to diskY  Do NOT move from diskX to a "normal" share (or vice versa)  Corruption of the files can happen.

4 minutes ago, Julius said:

How do I know what the actual amount of disks that can fail (or disappear) in the array is, if there are 8 HDD in the array (not counting the 2 parity drives) ?

The answer to that is all of them.

 

You probably wanted to ask how many disks can fail without losing any data.  That answer is equal to the number of parity drives.  In your case 2 data disks can fail simultaneously without loss of data.

  • Community Expert

Obviously, you will have to have a plan. 

 

Let's talk about the simplest one---  buy another 10TB HD pull the old 6TG parity2 out and rebuild the parity.  Add the old 6TB HD as a data drive.  (You have apparently decided not to use this option.) 

 

The next one would be to modify the instructions that were used by many of us when we converted from RFS to XFS.  

 

       https://wiki.unraid.net/index.php/File_System_Conversion#Mirror_each_disk_with_rsync.2C_preserving_parity

 

It uses rsync which might be a bit faster than using the network (as @Squid suggested) but it is more complicated.  But it does tell you how to reassign drives so that you don't have any holes (in the disk assignments) when you get done.  (I would print out these instructions and read through them and cross out the ones that you don't need.  Be sure to write the actual disk numbers into your printed instructions so that you don't make a mistake.  Double check with a dry run as you are using these instructions to do something quite similar but not quite exactly...) 

Edited by Frank1940

  • Author
8 hours ago, Squid said:

Over the network.  Global Share Settings, Enable Disk Shares

 

You probably wanted to ask how many disks can fail without losing any data.  That answer is equal to the number of parity drives.  In your case 2 data disks can fail simultaneously without loss of data.

That disk share over the network option is one I had not encountered in config yet, very handy! Thanks.

 

Edited by Julius

9 minutes ago, Frank1940 said:

which might be a bit faster than using the network

Just as a note, when using SMB3 (which is now default), if the source and destination are both the same machine, then the data never actually traverses the network and stays locally on the server (ie: the transfer rate reported by Windows (and time taken) will far exceeds the theoretical maximum of the network (when using 1G) )

5 minutes ago, Julius said:

add it as a 3rd parity,

Not an option.  Maximum 2

  • Community Expert
58 minutes ago, Julius said:

I want to have total parity size expanded. It now has a 10TB and 6TB drive as parity 1 and 2, so only 6TB can be used in the array.

I have another 10TB drive in the array, and intend to swap them around.

What's the best route to go here?

Do I just stop the array and unassign that 2nd parity 6TB HDD first?

Then take the 10TB out of the array as well?

Or can I do both in one go and start the array with the 2 swapped around?

 

Is there a way, outside of the Unbalance plugin, to actually physically move out the data that's on the 10TB array disk, so I'm certain to not lose anything now stored on it?

How do I know what the actual amount of disks that can fail (or disappear) in the array is, if there are 8 HDD in the array (not counting the 2 parity drives) ?

There is something wrong with your description :(   It is not technically possible to have a 10TB drive in the array if one of your parity drives is only 6TB.     It is a requirement that ALL parity drives must be at least as large as the largest data drive.

  • Community Expert

@Julius, please do a screen capture of the Main screen (The 'Array Devices' section) of the GUI and post it up.  WE need to see exactly what the array drives look like.  

  • Author
7 hours ago, itimpi said:

There is something wrong with your description :(   It is not technically possible to have a 10TB drive in the array if one of your parity drives is only 6TB.     It is a requirement that ALL parity drives must be at least as large as the largest data drive.

I had just added that 10TB to unraid, it wasn't used by the array yet (although it was in the dropdown to select with a stopped array), so yes, my description was incorrect if that's what it said.

 

Either way, 'swapping' disks in one go works, it is now copying the parity from old parity 2 to new parity 10TB, and said it will then recreate the ex-parity disk as the (new) disk1 for the array (FYI, disk 1 wasn't the 10TB before, it was another disk that needed to be replaced);

 

swapparityarray.png

Edited by Julius

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.