August 1, 201114 yr I would like to move data from one drive (disk04) to another (disk01) so that I can free up the slot that is assigned to disk04. Can I run a command on the unRAID server and still maintain parity? My goal is to run disk04 through preclear so that it will replace disk01. But first I need to move the data on disk04 to disk01 and I would prefer to do this locally on the unRAID server.
August 2, 201114 yr Author So I decided to run this cp command from the Wiki: cp -r -v -p /mnt/disk4/* /mnt/disk1 | todos > /boot/disk1copy.txt Then I will remove disk4 from the array and execute the initconfig command. After that I will run a parity check. Does that sound correct?
August 2, 201114 yr So I decided to run this cp command from the Wiki: cp -r -v -p /mnt/disk4/* /mnt/disk1 | todos > /boot/disk1copy.txt Then I will remove disk4 from the array and execute the initconfig command. After that I will run a parity check. Does that sound correct? Yep, you'll need the newperms script afterwards. I always like to specify the target directory with a "/." for ensure it is a proper directory. cp -rpv /mnt/disk4/* /mnt/disk1/. | todos > disk1copy.txt newperms /mnt/disk1 You might want to do in a screen session.
August 2, 201114 yr Author What is this newperms script? I am using unRAID 4.7. The data has been copied from disk4 to disk1. What should my next steps be to remove disk4 from the array? Should I: 01. Stop the array. 02. Un-assign disk4 on the device. 03. Execute initiconfig command. I don't know if I should also un-assign the parity drive or not?
August 2, 201114 yr What is this newperms script? I am using unRAID 4.7. The data has been copied from disk4 to disk1. What should my next steps be to remove disk4 from the array? Should I: 01. Stop the array. 02. Un-assign disk4 on the device. 03. Execute initiconfig command. I don't know if I should also un-assign the parity drive or not? Newperms is for the 5.0 betas. Ignore for 4.7. You should do a parity check before trying to remove the disk from the array (after the copy). After running, it, pull smart reports for you drives and make sure everything is healthy. Then, all you have to do is ... 1- Stop the array 2- Unassign disk4 from the array 3- Go to a telnet prompt and run the command "initconfig". Do what it says 4- Refresh the Web GUI (drives should have blue ball icons next to them) 5- You can rearrange disks at this point (e.g., if you have a disk5 and want to move it to the disk4 slot, now is the time). 6- Start the array, parity will build DONE
Archived
This topic is now archived and is closed to further replies.