[nylug-talk] How to set up Raid 1 on Ubuntu, Or Linux in
masimko at optonline.net
masimko at optonline.net
Fri Jun 1 16:48:09 EDT 2007
> > I want to set up Raid 1 on a web server. I Plan to install > ubuntu on a original Windows web server. I need help, First, If > I want to keep the windows server (dual boot), do I need to > setup Raid array before install Ubuntu?If you install ubuntu on 2 separate disks, you can leave the windoze disk intact. At this point, I would do that if I were you. Do software raid for right now. Very easy in Linux.> >> > I woud be really appreciate it if anyone knows a step-by-step > tutorial on how to set up Raid I on a Ubunut (Linux) webserver.Google that. There's a how-to that uses raidtools. It is obsolete but informative. I suggest you read it for background. You'll need to read the man pages on mdadm. I think there is a good how-to out there based on mdadm also. > If it is hard to find tutorial to setup Raid 1 on Ubuntu, I > would happy to get some guidance on how to set up Raid 1 on > Linux web server in general. Anything you find will be general.> > > what do you mean with RAID 1? software or hardware? If software, > you > won't be able to create a software RAID on Linux that can be > accessed > from Windows as RAID.Windows can't access ext3 file systems anyway. FAT is the only commonly readable file system. You will have to create a partition for > the Linux > OS and with the leftovers create a RAID...Not with RAID 1. Since they are exact mirrors, you can boot from the image on one disk. You don't need to have the RAID drivers loaded to boot into linux.You will have to manually install grub into the mbr on the second disk. If you don't, if you reboot when one disk is in a failed state, you'll have mild panic until you install grub on that disk mbr.I strongly suggest playing with the setup before committing to it. Put some test data on it. disconnect one drive. Delete that partition and see how the array rebuilds when you reattach it and add it back in to the array. Investigate superblocks.
More information about the nylug-talk
mailing list