Jump to content

Moving data from an emulated disk to shrink the array


Recommended Posts

Long story short, I just moved home and found an old 8TB drive which had been in a pc on extremely light duties. I ran a 2 pass check and everything looked good so I added it to my array. A couple of days later, I came back to hear the dredded clicking and the array being downgraded and the 'new' drive emulated. This was about 4 days ago, I have been away from home since, so only 

getting around to sorting something out now. 

 

My parity drive is currently 12TB, and the replacement drive I have ordered is 16. The emulated drive only has 50 odd GB of data stored on it, mostly Linux files. Worst case I can redownload what's on it. 

 

What's my best course of action? Can I move the data off the emulated disk and shrink the array before replacing my parity drive? Or is there a better idea which I haven't thought of? How would I go about emptying the emulated drive, can unbalance achieve this? 

 

Thanks in advance for the help

 

Link to comment
1 hour ago, Die_piggy said:

got it. So this should be the proceedure:

 

1. Move data off emulated drive,

2. Bring Array offline

3. Replace Parity drive

4. Shrink array

5. Rebuild parity

6. Add old parity drive into array

 

Sound right?

 

Since you are starting by getting the data off the emulated drive, then a faster set of steps would be:

2.  Stop array

3. Plugin in new drive

4. Boot the system and make sure array is not started.

5. Use the New Config  tool to reset the array.  Use the option to keep all assignments  (not compulsory but minimises chance of error)

6. Return to Main tab and assign new parity drive, and also old parity drive to array (probably to replace removed drive).   Make any other changes to array drives you might want such as re-order them

7.  Start array to commit new assignments and build parity based on the current set of array drives

8. Format old parity drive to make it usable (it will start off unmountable).   This only takes a minute or so and can be done while the parity rebuild is in progress.

 

this avoids the lengthy clear process that would take place in your original step 6.

  • Like 1
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.

×
×
  • Create New...