Can anybody tell me the step by step how to install raid-5

Answers were Sorted based on User's Feedback



Can anybody tell me the step by step how to install raid-5 ..

Answer / vishnu(8123755356)

the above answer is correct but for RAID level 5 atleast 3
disk is requied so.
mdadm /dev/md0 -l 5 -n 3 /dev/sda{1,2,3}

Is This Answer Correct ?    44 Yes 0 No

Can anybody tell me the step by step how to install raid-5 ..

Answer / rajkishor

You should use the following Command
# mdadm -C /dev/md0 -l 5 -n 3 /dev/sda{1,2,3}

Is This Answer Correct ?    15 Yes 2 No

Can anybody tell me the step by step how to install raid-5 ..

Answer / saurabh makkar

Hi for creating Raid5, first u need to create a 3
Partitions. Because 3 partitions is required for
implementing Raid5.

Step1:- Creating partions, so the command is

#fdisk /dev/hda or #fdisk /dev/sda

where hda = If HDD is IDE, sda = If HDD is SATA.

with the help of above command we create 3 partitions.

Step2:- To add above 3 partitions for activate RAID5

#mdadm -C /dev/md0 -n 3 -l 5 /dev/sda{10,11,12}
or
#mdadm -C /dev/md0 -n 3 -l 5 /dev/hda{10,11,12}

Where C= for Create
10,11,12 = Partition ID

Step3:- Format the raid or Multiple Devices

#mkfs.ext3 /dev/md0

Step4:- After formatting craete a Directory where you want
mount to above Multiple partitions

#mkdir /storage
#mount /dev/md0 /storage

Is This Answer Correct ?    12 Yes 1 No

Can anybody tell me the step by step how to install raid-5 ..

Answer / venkat

Hi first u create the partations to create raid
use fdisk comand
then go to comand mode
type madam /dev/md0 -y yes -l 5 -n 2 /dev/{hda1,2}

Is This Answer Correct ?    14 Yes 5 No

Can anybody tell me the step by step how to install raid-5 ..

Answer / balu

mdadm -C /dev/md0 -n3 /dev/hda(10,11,12) -l5

mdadm -D /dev/md0 --To display information

mkfs.ext3 /dev/md0 --Format it
mkdir /tgs --make dir
mount /dev/mdo /tgs -- mount dir
mdadm -r /dev/md0 /dev/hda13 --remove faulty device frm raid

Is This Answer Correct ?    1 Yes 1 No

Can anybody tell me the step by step how to install raid-5 ..

Answer / gaurav kumar

we will create the 3 raid partitions or hard disk
#mdadm -C /dev/md0 -l 5 -n 3 /dev/sda{1,2,3}
#mdadm --detail /dev/md0 (for check the raid 5 detail)
#mkfs.ext3 /dev/md0 (for format the raid 5)
#mkdir /india (create a directory)
#mount /dev/md0 /india (to mount the raid 5 into the directory)

Is This Answer Correct ?    0 Yes 1 No

Can anybody tell me the step by step how to install raid-5 ..

Answer / rajalakshmy

You should use the following Command
# mdadm -C /dev/md0 -l 5 -n 3 /dev/sda{1,2,3}


raiddev /dev/md0
raid-level 5
nr-raid-disks 3
nr-spare-disks 0
persistent-superblock 1
parity-algorithm left-symmetric
chunk-size 32
device /dev/sdb2

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More Linux General Interview Questions

What is cli in linux?

0 Answers  


Which processor structure is pipelined?

0 Answers  


what are the different types of ftp servers in linux operating system?

0 Answers   Arigo Infotech,


Is linux a computer operating system?

0 Answers  


Is handbrake illegal?

0 Answers  






How do I find the ip address of a mac address in linux?

0 Answers  


What are the main diff bwn Yum & rpm?

5 Answers  


What utility would you use to replace a string ‘2001’ for ‘2002’ in a text file?

0 Answers  


What is a profile file in linux?

0 Answers  


Is linux owned by ibm?

0 Answers  


What does sar provide?

0 Answers  


why should you maintain separate names for your NIS and DNS domains?

0 Answers  


Categories