Next, I will introduce the process of creating a raid1 +0 disk array. First, create four spare disks,
then select the type of hardware to be added, select the hard disk, click Next,
and then select the disk type.
Disk, click Next
to select the disk size. Here, because it is an experiment, the default is 20G. In the next step,
click Finish. The first hard disk is created
. Create another three disks according to the method shown above.
After creating four disks, we Check whether the system can recognize the hard disk we created,
It can be seen that there is only one here. The one we created is not recognized. It needs to restart the system. After restarting the system, enter init 6
, etc. After the system restarts, and then check the disk, you will find that the system has recognized that we
need to create a disk and create a raid1+0 first. Create two of the four disks as raid0, and then create the two created raid0s as raid1, let's create a raid0 first, first partition and format the sdb (the first hard disk created
) Partition and format conversion of sdb disk After partitioning and format conversion
, enter w to save and exit
Use the above method to partition and format sdc (second disk) After the
second disk completes partitioning and format conversion, start the creation of raid0
Here mdadm is the management tool of raid
-C means new, created
-v means to display detailed information
/dev/md0 is the directory of raido
-l0 means the level of the created raid, here is raid0
-n is the disk The meaning of the number
/dev/sd[bc]1 is the two disks used to create raid0
and then we can see that it is created, we can see that the first raid0 has been created, and then create the second raid0 in the same way
Then the next step is to create these two raid0s as raid1
, and then let's check the raid1+0 array just created.
Here is the detailed information of the raid1+0 array.
In this way, raid1+0 has been created, please give more pointers! ! !