1836451 Members
2302 Online
110100 Solutions
New Discussion

Re: Raid on linux

 
cogaidolong
Occasional Contributor

Raid on linux

Hi
I use ML 110, os linux,2 non hot Hdd, non smart array.
Can i creating and install raid by software ?
what i can do ?
Thank .
4 REPLIES 4
Sergejs Svitnevs
Honored Contributor

Re: Raid on linux

You can, of course, create the software raid.

Check out the link about how to create RAID array:
http://www.tldp.org/HOWTO/Software-RAID-HOWTO.html

Regards,
Sergejs
Ivan Ferreira
Honored Contributor

Re: Raid on linux

You can use RAID by software. Which linux distribution will you use?

The easiest way to do it is during the installation. See the installation guide for your distribution.

Basically, you need to configure partitions in the disks as "software raid", after that, you create the raid devices.

If you want to do after the installation is more complicated, but you still need to see the software-raid howto to know how to verify the status of the software raid devices.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Morcos
Super Advisor

Re: Raid on linux

Hi,

1.First of all, run fdisk and change partition type from linux LVM to linux raid auto 0xfd.
2.Then create a file /etc/raidtab , use man raidtab for helping u about creating it.
3.run mkdraid /dev/md0
4.mke2fs -j -b 4096 -R stride=x /dev/md0, where (x= chunck size/blocksize in k, could be 16 ...)
5.add a line for it in /etc/fstab

HTH
Ziad
Morcos
Super Advisor

Re: Raid on linux

Also to be sure from the construction of raid: cat /proc/mdstat

HTH

Ziad