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.

Removing / changing drivers question

Featured Replies

Hello,

I know there are many threads on this matter, but I want to be sure (so my data won't get lost).

 

I have an Intel DP35DP Mother board with 6 SATA ports.

I have 6 drives:

Parity SAMSUNG_HD204UI_S2H7J1BB119526 (sda) - 2TB

Disk 1 SAMSUNG_HD204UI_S2H7J1CB800819 (sdc) - 2TB

Disk 2 ST31000528AS_9VP0EHA7 (sdb) - 1TB

Disk 3 Hitachi_HDP725050GLA360_GEB531RE00R23B - 500GB

Disk 4 Hitachi_HDP725025GLA380_GEL231RB02XG0B - 250GB

Cache ST3250410AS_6RY7ASWY (sde)  - 250GB

 

 

I wanted to change the Parity drive to WD 3TB RED and swap the 2TB drive (the current Parity) with the 250GB data drive (disk 4).

I already got the new 3TB drive, but then the 500GB drive (disk 3) started to show errors.

so now, I'm not sure what to do.

 

I thought that I'll make space for 500GB of data from Disk 3 and move all the data from the bad drive to the good ones.

Then, I'll disconnect the drive and rebuild the array.

after the rebuild is complete, I'll replace the Parity drive with the new 3TB drive and rebuild.

and the final step will be to add the 2TB (old Parity drive) to the system and rebuild one last time.

 

Is this the way to do it? will the data be safe?

 

Thank you all!

 

System Overview
unRAID Version:	unRAID Server Pro, Version 5.0-rc12a
Motherboard:	 Intel - DP35DP
Processor:	 Intel® CoreTM2 CPU 4400 @ 2.00GHz - 2 GHz
Cache:	 L1 = 2048 kB   L2 = 32 kB   L3 = 32 kB   
Memory:	 2 GB -
Network:	 1000Mb/s - Full Duplex
Uptime:	 110 days, 22 hrs, 9 mins, 52 secs

What kind of errors? Attach a syslog and post SMART report.

  • Author

I can't do smart, it's showing as "unavailable".

It have read dot near it (in the main tab).

 

but the question is about the steps, are they good.

It's lot more work than required, but it should work. A simpler solution is to assign the 3T drive as parity and the 2T (was parity) as disk 3 then start the array. UnRAID will copy party to the new drive and then rebuild disk 3.

I don't want to thread jack but I have a similar situation and didn't want to clutter the forum with the same thread.

 

I now have 3 drives: (UnRAID Basic 4.7)

 

Disk 1  WD Green (sda) - 1.5TB

Disk 2  WD Green (sdb) - 1.5TB

Parity  WD Green (sdc) - 1.5TB

 

and I am looking to go to PLUS version and adding 2 more drives

 

Disk 3  WD Red (sdX) - 3TB

Disk 4  WD Red (sdX) - 3TB  (one of these will become parity drive)

 

I originally used old thrown together parts and an old Flash Drive to try out UnRAID (been using for 3+ years), but I have become worried about the cheap Flash Drive's longevity, so I bought a new Flash Drive to go with the new build.  I will register the GUID with the new Flash Drive (instead of upgrading) to v5.0 final

 

Since I am changing UnRAID versions and Flash Drive, how can I safely migrate my data over and make the 3TB the new parity and allow the existing parity drive to be used for data?  Is it as easy as just assigning the drives in the correct order?

 

ex:

 

Disk 1  WD Green (sda) - 1.5TB

Disk 2  WD Green (sdb) - 1.5TB

Disk 3  WD Green (sdc) - 1.5TB

Disk 4  WD Red (sdd) - 3TB

Parity  WD Red (sde) - 3TB

  • Author

It's lot more work than required, but it should work. A simpler solution is to assign the 3T drive as parity and the 2T (was parity) as disk 3 then start the array. UnRAID will copy party to the new drive and then rebuild disk 3.

 

so:

1. I'll move all the data from the bad drive to the good ones.

2. Add the new drive and disconnect the bad one (physically).

3. assign the  old parity drive instaed of the bad one and assign the new 3TB drive as the new parity (in one step).

4. start the array.

 

that's all?

UnRAID supports a special form of replacing a failed disk called "Swap-Disable".    It's described in the UnRAID manual in the Wiki ... the relevant section is as follows:

 

----------------------------------------------------------------------------------------

You must replace a failed disk with a disk which is as big or bigger than the original and not bigger than the parity disk. If the replacement disk is larger than your parity disk, then the system permits a special configuration change called swap-disable.

 

For swap-disable, you use your existing parity disk to replace the failed disk, and you install your new big disk as the parity disk:

 

Stop the array.

Power down the unit.

Replace the parity hard disk with a new bigger one.

Replace the failed hard disk with you old parity disk.

Power up the unit.

Start the array.

When you start the array, the system will first copy the parity information to the new parity disk, and then reconstruct the contents of the failed disk.

 

----------------------------------------------------------------------------------------

 

You can do that ... OR you can do what you've also suggested => copy all of the data from the failed drive (you can do that since any data it can't read will be reconstructed -- that's the beauty of fault-tolerance);  and then simply create a new configuration that excludes the failed drive and uses your new 3TB drive as parity.

 

If you do this, there is NO reason to do what you outlined ["... rebuild the array.  after the rebuild is complete, I'll replace the Parity drive with the new 3TB drive and rebuild ..."].    Simply use the new 3TB as the parity drive for the new configuration.    In fact, I'd upgrade the flash drive to v5.0 before doing that as well.

 

In other words ...

(a)  Copy all the data from disk 3

(b)  Shut down; physically remove disk 3 and install your new 3TB drive

©  Re-initialize your USB flash drive and install a fresh copy of v5.0 (be sure to save your key file and include it on the newly initialized drive)

(d)  Boot to the v5.0 flash drive;  assign all of your data drives;  and assign your old parity drive as a data drive.  Do NOT assign a parity drive yet.

(e)  Start the array -- it should show the old parity drive as "Unformatted";  the other drives should all be okay.  Let it format the old parity drive.

(f)  Stop the array; assign your 3TB drive as parity; and then Start the array.  It will now do a parity sync.  When that finishes (hours later), do a parity check to confirm all is well.

 

Done.  You're now on v5.0 with a 3TB parity drive, the bad drive removed, and the old parity drive now available as a data drive.

 

Note that doing it this way is a bit quicker than doing a swap-disable followed by an upgrade to v5.0, it also requires that you re-assign your shares, install any add-ons you use, etc.    So which approach you take is up to you (and depends on how complex your configuration is).

 

I don't want to thread jack but I have a similar situation and didn't want to clutter the forum with the same thread.

 

I now have 3 drives: (UnRAID Basic 4.7)

 

Disk 1  WD Green (sda) - 1.5TB

Disk 2  WD Green (sdb) - 1.5TB

Parity  WD Green (sdc) - 1.5TB

 

and I am looking to go to PLUS version and adding 2 more drives

 

Disk 3  WD Red (sdX) - 3TB

Disk 4  WD Red (sdX) - 3TB  (one of these will become parity drive)

 

I originally used old thrown together parts and an old Flash Drive to try out UnRAID (been using for 3+ years), but I have become worried about the cheap Flash Drive's longevity, so I bought a new Flash Drive to go with the new build.  I will register the GUID with the new Flash Drive (instead of upgrading) to v5.0 final

 

Since I am changing UnRAID versions and Flash Drive, how can I safely migrate my data over and make the 3TB the new parity and allow the existing parity drive to be used for data?  Is it as easy as just assigning the drives in the correct order?

 

ex:

 

Disk 1  WD Green (sda) - 1.5TB

Disk 2  WD Green (sdb) - 1.5TB

Disk 3  WD Green (sdc) - 1.5TB

Disk 4  WD Red (sdd) - 3TB

Parity  WD Red (sde) - 3TB

 

Yes, it's that simple.  When you first Start the array, it will show the old parity drive as "Unformatted" -- but that's okay.  The other drives should be fine -- if any of them show as "Unformatted" do NOT start the array, or you'll lose the data on them.    To eliminate excessive head movement due to both parity sync and formatting happening at the same time, I'd start the array WITHOUT assigning the parity drive;  let the old parity drive be formatted;  then Stop the array, assign the parity drive, and then Start it again -- it will now do the initial parity sync with the 3TB parity drive.    When that finishes, you should run a parity check to confirm all is okay ... then you're good to go.

 

  • Author

Thank you!

There is no need to copy the contents of the failed drive if you follow my previous instruction. The content of disk 3 will be rebuilt on the 2t drive.

There is no need to copy the contents of the failed drive if you follow my previous instruction. The content of disk 3 will be rebuilt on the 2t drive.

 

Agree -- as we both said.    This is the "swap-disable" process outlined in the Wiki.

 

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.