Replacing two drives with one bigger drive


Recommended Posts

I checked the wiki, but only seemed to find info about replacing one disk with a bigger one.

 

I have 2x500gb drives I want to replace with 1x2tb drive.

 

What would my process for this be? I've already pre-cleared the new drive.

 

Edit: Should mention I'm on 4.7 still.

Unraid has no built in function to reduce the number of slots used. It assumes you will always be adding slots, or upgrading existing slots. You could replace (upgrade) one of the disks and leave the other in place. If you really have to remove both disks, then after you have upgraded one, you could manually copy the contents of the other old disk onto the new disk, then remove it and rebuild parity after issuing the initconfig command. You would be without parity protection while it was being rebuilt, so a failure with another drive would not be recoverable.
Link to comment

I've been in this situation recently when I had to replace 4 x 1TB drives with 2 x 2TB. I needed the 1TB drives for something else and I like running the tower with the minimum amount of drives but not more than I actually need. For me 2TB of free space is enough and I add more capacity once I'm well into the last TB.

 

There is information on the WiKi on how to remove drives and separate info on how to upgrade drives.

http://lime-technology.com/forum/index.php?topic=2088.0

http://lime-technology.com/wiki/index.php/Replacing_a_Data_Drive

 

As jonathanm mentioned, when you remove a drive which you don't intend to replace, unRAID will have to recompute the parity which will leave all your data unprotected for several hours. To minimise any potential problems I would suggest to perform a parity check before and after each procedure takes place and inspect the SMART report for the drives after each one of them.

 

Here'e what I'd do in you case.

 

1. Parity check + SMART report check. Make sure there are no errors in the array to start with.

2. Replace 1st 500G drive with 2TB drive. (see 2nd link) -> Wait for the upgrade several hours.

3. Parity check. SMART report check. Make sure all went ok and new drive is healthy.

4. Copy all data from the 2nd 500G disk to the upgraded disk.

5. Stop array. Unassign drive from the the array. Telnet into server > initconfig (see instructions in the 1st link).

6. Start array and wait patiently to rebuild. -> SMART report check.

7. Parity check. SMART report check. Before using the array again, make sure all went well.

 

It is a long process and it would be a lot shorted if you would have kept all 3 drives. On the other hand this is a good opportunity to check the array is in good shape and identify any potential weakness in the system.

 

One quicker possibility if you have a spare SATA port is to:

 

1. Add 2TB drive into the array. Being pre-cleared this should take only a few minutes.

2. Copy data from 2 x 500G drives.

3. Parity Check + SMART

4. Remove both 500G drives at the same time. Initiconfig + rebuild.

5. Parity Check + SMART

Link to comment

Thanks for the info guys. I figured at one point I was going to have to rebuild parity.

 

I do have a slot in there right now as I've already pre-cleared the 2TB. So it's just sitting waiting. If I have to rebuild the parity at some point anyway, wouldn't maxinc's second method be just the same but much quicker? Then the array is also never down until the one rebuild. I'll start a parity check now anyway as it's been 80 days since the last one before I proceed with anyway.  :)

Link to comment

I don't see why it wouldn't work. When transferring data between disks, I would copy it rather than moving it, this way I would still have a copy if the rebuild fails for any reason. Also, it is best if you don't use the server during the rebuild (like watching movies or copying data) to minimise stress on the busy disks. For me is always a time of great anxiety when such operations take place :))

Link to comment

Alright, I'm not sure what I'm doing wrong. I did a parity check, all SMART statuses looked good. Added the 2TB and copied all data from the 2 500GB drives. Did a parity and everything was good again. Unassigned the drives. Ran initconfig. Powered down, unplugged the 2 drives.

 

Now I don't see any rebuild button. I'm on 4.7. This is all I see.

Tower%20unRAID%20Server.png

Link to comment

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.