

Please use the below instructions to create a partition on /dev/sdd drive. Now let’s add the new disk “ sdd” and create a partition using ‘ fdisk‘ command. Now here we are adding one more disk to an existing array,Ģ. Note: The above output shows that I’ve already has two disks in Raid array with raid1 level. Before growing an array, first list the existing Raid array using the following command. Here, my already existing RAID has 2 number of disks with each size is 1GB and we are now adding one more disk whose size is 1GB to our existing raid array. My Server Setup Operating System :ĜentOS 6.5 Final
#Softraid add new disk to raid array software
Creating a Software Raid 0 in Linux – Part 2.Understanding Basic RAID Concepts – Part 1.Follow the below links to know about those setups. Here I’m using 1 disk to grow the existing array.īefore we learn about growing and recovering of Array, we have to know about the basics of RAID levels and setups.To grow an RAID array, we need an existing RAID set (Array).We can grow raid array without any downtime.We can remove the faulty disk after growing raid array with new disk.We can grow (extend) the size of any raid set.

While the weak disk fails we can remove it from array this is the concept we are going to see in this topic. Growing Raid Array and Removing Failed DisksĪssume that one of the disk is little weak and need to remove that disk, till it fails let it under use, but we need to add one of the spare drive and grow the mirror before it fails, because we need to save our data.
#Softraid add new disk to raid array how to
After growing (adding disk to an existing array), we will see how to remove one of the failed disk from array. For example, if we are using 2 disks in an array to form a raid 1 set, and in some situation if we need more space in that group, we can extend the size of an array using mdadm –grow command, just by adding one of the disk to the existing array. Here we will see how to grow (extend) an existing array or raid group. Likewise RAID Array contains number of disks, it may be 2, 4, 6, 8, 12, 16 etc. Just like a set of eggs containing 6 numbers. In other words, we can call array as a set or group. Every newbies will get confuse of the word array.
