RAID type 1 or type 0 from the shell
Hello two month ago I learned how to work with LVM. Whatsmore I learned how to create them and install Linux debian or Ubuntu into an LVM without the assistant partitioner I mean: I load the module, I fdisk my disk and, I worked with the lvm tools (pvcreate, vgcreate, lvcreate) and the i started the installation. So I would like to know:
HOW to create a RAID type 1 or 0 but from the command line and with a rescue disk or a live CD and then of course I will install my distro, but that is my problem. Again I want a setup of RAID 1 or 0 how to do it in a console mode so then I can install my favorite distro. I do not want to use the GUI of the distro (debian, fedora, ubuntu, etc). I want to do it on my own. Is there any good tutorial. Can someone write how to do it ??? I search in google a lot with LVM it was easy but with raid i had no luck... and the one i found it, i did not understand them. Thanks in advanced piukeman ;) |
There's nothing special required to use mdadm and LVM together. Instead of running LVM directly on your partitions (ie. sda1) you run it on the RAID devices (ie. md1).
Do you want to have something like this? Code:
DRIVE1-PARTITION1-sda1-\ |
RAID in LINUX
Quote:
Thanks anywhay |
mdadm
|
|
There is an excellent step to step tutorial in the LVM HOWTO
Look on LDP web site |
All times are GMT -5. The time now is 03:01 AM. |