Unraid - replacing disk
On 6/2/2017 at 8:19 AM, porina said:Coincidentally I was looking at similar yesterday. I did come up with some command line stuff to move files from one drive to another through a search but I'm not sure if I can find it again quickly.
If you can run without redundancy for some time, you can simply remove the old drive, put in the new and let it rebuild data on the new. You still have the failing drive as a backup in case it does go wrong.
I assume you're already aware, but the parity drive(s) must be same or bigger than data drives. This could end up being a complicated multi-disk shuffle depending on what you already have in there. I kinda got around it in my build by using only one size drive (3TB as best capacity per cost at time), and two parity disks so if I ever need to do something it gives an extra layer of redundancy.
Got it to work - used MC - it's super easy.
Just ssh in or directly manipulate it.
For example, this was my process:
Once in MC (for others looking to do this, just type mc and it'll bring up the 'gui')
Go to mnt/ disk 1 on the left, mnt/ disk3 on the right
From there it'll list your shares on both sides -
Click on a share name on the left (disk1) and click copy on the bottom. If there is already duplicated data on disk 3, it will ask you if you want to overwrite, there is an additional option so you can overwrite only if disk1 has a larger file. Particularly helpful with my steam library.
After going through all your shares copying them over and overwriting if necessary, spin down the drives and power off.
Remove the drive(s) that you don't want anymore.
Start up the system again, it'll show missing disks.
Go to tools, new config - agree and apply.
Go back to Main, re-assign the drives you want to use - start array.
Worked immediately
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now