Can anybody tell me the step by step how to install raid-5
Answer Posted / 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 |
Post New Answer View All Answers
Explain how to enable curl on ubuntu lamp stack?
What code is linux written in?
How do you start and stop a service?
Why we use red hat linux?
How to find where a file is stored in linux?
What are the default port numbers used by ssh,ftp,http,https,telnet,smtp,pop3,pop3s,imap,imaps?
What is sudo in linux?
What is linux and why it is used?
How to switch to a previously used directory?
How to copy text to the clipboard?
Can spinlock be interrupted?
How you can find a file using terminal?
What is Linux Shell? What is Shell Script?
Enlist the features of the linux operating system?
Which one is better windows or linux?