RAID1: Urgent.. Two disks out of sync... how to get them back in sync?
Hello. I have a very simple RAID1 system.
Two identical disks sda and sdb, identical partitions on both.
The raid apparently degraded some time ago, and the system kept using /dev/sdb only.
After an fsck, the system booted from /dev/sda..
So, the system went back in time by several months!
I rescued /dev/sdb.. How can I copy stuff from each /dev/sdb partition to /dev/sda?
My intention is to boot from flash, and do a cp -pR from each /dev/sdb partition to its equivalent /dev/sda partition.
Once I collect as much data as possible, I intend to remove sdb to replace it with another drive.
Does that sound good?
Thanks, -turgut
Last edited by tkalfaoglu; 10-17-2013 at 11:46 PM.
|