Hard Drive Failed During Drive Consolidation


fonzie

Recommended Posts

I was following the Safer Method outlined in the wiki and had transferred about 800GB of Disk 4 over to Disk 21 when a different drive in the array (Disk 7) failed and was being emulated. I decided to play it safe and force shutdown the server mid transfer because I didn't want to risk a second drive failing and losing data ( I only have 1 parity drive at the moment)

 

I've already replaced the failed drive and rebuilt parity. My question is: Can I run the same command again without issue?

 

rsync -avX /mnt/disk4/ /mnt/disk21

 

What will happen if I type that again? Is it smart enough to see that I already transferred about 800GB of files and resume where it left off? Will it start from the beginning and simply overwrite all of the data again? Or will it make duplicates on the drive?

 

**The reason I was scared of another drive failing and forced the shutdown is because I have about 3 old disks with SMART errors (which is why I'm consolidating old drives into a new larger one)

Link to comment

Follow up curveball question:

 

Can I copy all of the contents of disk21 (including the incomplete files from the cancelled disk4 process) to another disk (lets say disk 8) and then run the command:

 

rsync -avX /mnt/disk4/ /mnt/disk8

 

and have it resume the sync to disk8 even though the original process was started moving the files to disk 21?

 

I'm thinking (hoping) yes because it will just compare files from both drives and sync them, as the name implies...but I want to be sure.

Edited by fonzie
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.