On Tue, Oct 27, 2009 at 5:59 PM, Andrey Dmitriev <[email protected]> wrote: > Has anyone broken a mirror and booted w/o mirror? > Then replaced the detached disk with a bigger disk. > Then repartitioned and copied original disk to a bigger disk , booted off > bigger disk (maybe swapped disks to do that?), and created a mirror on a > bigger disk? > > Anyone has this documented somewhere? >
I have done this, more or less, a couple of times. By far, the easiest (and safest) way would be to leave your current RAID mirror as is, put the new bigger drives in addition to the existing ones, create a new mirror on them and copy over to the bigger disk (I will get to how to copy in a little bit) If you don't have room (either physically or on your PERC card) for more disks, you can also boot to a Linux live CD (Knoppix, Ubuntu Live CD, etc.), copy the current array to a USB drive, then shutdown the server, take out the current disks, put in new ones, create the raid array, boot again from the Live CD and copy everything back. For a good guide on how/what to copy, take a look at this: http://www.tolaris.com/2008/10/01/moving-your-linux-root-partition-to-raid/ It actually describes moving from a non-raid root to Linux software raid, but the rsync commands with the rsync filter, along with which directories need to be created and what files to update (grub's menu.lst, fstab, etc.) and how to re-install grub are pretty correct. Overall, I would highly recommend backing up all of the data on the server to another USB drive or disk and then planning for a decent amount of downtime in case something goes wrong. Hope this helps out. Preston _______________________________________________ Linux-PowerEdge mailing list [email protected] https://lists.us.dell.com/mailman/listinfo/linux-poweredge Please read the FAQ at http://lists.us.dell.com/faq
