The Linux system does its own raid, regardless of the underlying disk.
The Raid,mdadm tool, which incorporates the MD module (Multi disks) in the kernel, can invoke the MD module in the kernel.
Mdadm is a command to create a raid
function mode:
-C Create raid
-A re-assemble the raid by scanning the raid disk, and the original data is not lost.
-F Monitoring
-f,-r,-a all represent management patterns
Raiddevice Device Name: The device name of the/dev/md# raid may change after the system restarts, and the device can be pinned by a volume label.
Component-devices: Device files that compose a raid
Options in-C mode:
-N # Specifies RAID using # block disk/partition
-L # Specify RAID level
-a {Yes|no} automatically creates RAID device files
-C CHUNK Size specifies the block size. A block that splits data, not a block on a disk
-X # Specifies the number of hot spares
View the current RAID device
Create raid
Create the partition first and set the partition type to FD (Linux RAID Auto)
Mark a partition as invalid disk
The following is the RAID5 downgrade phenomenon.
Removing a partition
Add a partition to a RAID group
Stop soft raid
Assemble a raid
Linux File System raid