I'd like to set up Raid-1 on my computer. I have 2 500Gig hds, one of which is empty, and one of which has data (that I want to keep). I found this guide, https://wiki.ubuntu.com/Raid (I use Ubuntu), and liked the "super simple md" recipe, but I'm not sure how to do this so that I don't loose data. (I searched around, but the only thing I found required the alternate install CD, which I have issues with.) Any help would be appreciated. Simeon MacMillen
Simeon> I'd like to set up Raid-1 on my computer. I have 2 500Gig Simeon> hds, one of which is empty, and one of which has data (that I Simeon> want to keep). I found this guide, Simeon> https://wiki.ubuntu.com/Raid (I use Ubuntu), and liked the Simeon> "super simple md" recipe, but I'm not sure how to do this so Simeon> that I don't loose data. (I searched around, but the only Simeon> thing I found required the alternate install CD, which I have Simeon> issues with.) It's pretty simple actually, and what helps is that you have an empty drive. The basic steps would be to: 1. Build an MD device onto the new drive, using RAID1, but with a drive missing. I'd make a pair of primary partitions, one of about 1gb, the other the remaining space. Use the 1GB partition for a /boot partition. 2. Then partition the new MD device (md0 say) or put LVM on top of it to make your devices. 3. Copy your data from the old non-RAID partitions onto the new ones. 4. When you're done, blow away all the old disk stuff, then add it into the RAID1 md0 device as the other half of the mirror. The KEY thing to realize here is that to make sure your system can continue to boot properly, you will need: - bootloader on both disk's MBRs - a non-RAID1 boot partition on both disks - testing, testing, testing. Good luck! John
participants (2)
-
John Stoffel
-
Simeon MacMillen