Migrating from non-RAID to RAID-1
I have a single non-RAID SATA drive with Debian (Sarge) installed and data on it. I also have a duplicate blank drive. I would like to migrate from my non-RAID system to a RAID-1 (mirrored) system for redundancy, with each disk being an exact duplicate of the other. Is it possible to do this without having to wipe the first drive clean? I'd appreciate a pointer to a HOWTO or recipe if it answers this specific question.
Any recommendations for a friendly RAID and LVM management tool?
Please cc me in your reply. Thanks,
Shaun
A message that is not in the archive (sent off-list or not yet received): [email protected]
2005/8/9, Mike Hardy <[email protected]>:
Quoted 4 lines
This was asked not but a few days ago. While not intending to be rude, I believe searching the archives will turn up step by step guidance
-Mike
Thanks for the pointer, Mike. I was using Google's mailing list archive, but it seems woefully incomplete.
http://groups.google.ca/group/mlist.linux.raid
Another linux-raid archive had the message you mentioned:
http://marc.theaimsgroup.com/?l=linux-raid&m=112318177226599
The directions were...
sfdisk -d /dev/sda > /tmp/sda.part
sfdisk /dev/sdb < /tmp/sda.part
read the Software RAID-HowTo, and look for the Root-RAID section
Cheers,
Shaun
Quoted 7 lines · Shaun Jackman
I have a single non-RAID SATA drive with Debian (Sarge) installed and data on it. I also have a duplicate blank drive. I would like to migrate from my non-RAID system to a RAID-1 (mirrored) system for redundancy, with each disk being an exact duplicate of the other. Is it possible to do this without having to wipe the first drive clean? I'd appreciate a pointer to a HOWTO or recipe if it answers this specific question.
This should get you started:
2005/8/9, Christopher Smith <[email protected]>:
Quoted 9 lines
Quoted 7 lines · Shaun Jackman
I have a single non-RAID SATA drive with Debian (Sarge) installed and data on it. I also have a duplicate blank drive. I would like to migrate from my non-RAID system to a RAID-1 (mirrored) system for redundancy, with each disk being an exact duplicate of the other. Is it possible to do this without having to wipe the first drive clean? I'd appreciate a pointer to a HOWTO or recipe if it answers this specific question.
Quoted 3 lines
This should get you started:
Amazing! Thanks for the tip, Christopher. The document [1] you mentioned is an absolute must-read for anyone migrating from a non-RAID to RAID-1 storage system. The document's title suggests it's Debian specific, but the vast majority of it is distribution agnostic. It's up to date, using the modern mdadm tool; many documents I read still referred to raidtools. The migration process went quite flawlessly!
Thanks to all those that helped. Cheers,
Shaun
[1] Installing Debian with SATA based RAID
http://xtronics.com/reference/SATA-RAID-debian-for-2.6.html