Can anybody tell me the step by step how to install raid-5
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
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 |
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 |
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 |
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 |
What is segmentation fault?
What is the use of proc structure?
How many types of user accounts are available in linux os?
Is red hat linux free?
Explain redirection?
What is the meaning of linux shell and shell script?
what are the different types of ftp servers in linux operating system?
What are the signals we have in Linux?
What does ctrl z do in linux?
How would you create a text file without opening it?
What is the command for displaying, in which shell we are working.
What is the difference between bash and dos?