MDADM: User space management tool that makes any block device raid
Modal commands
Create command
-C
Dedicated options
-L: Level
-N #: Number of devices
-A {Yes|no}: whether to automatically create a device file for it
-c:chunk size, 2^n, default is 64K
-X #: Specify the number of free disks
Management mode
-add,-remove,--fail
mdadm/dev/md#--fail/dev/sda#
Monitoring mode
-F
Growth model
-G
Equipment mode
-A
View details of a RAID array
Mdadm-d/dev/md#
--detail
Stop array
Mdadm-s/dev/md#
--stop
Watch: Periodically executes the specified command and displays the result in full screen
-N #: Specifies the period length in seconds and defaults to 2
Cat/proc/mdstat: Can view all enabled raid
Save current RAID information to a configuration file for later assembly
mdadm-d--scan >/etc/mdadm.conf
This article is from the "ngames" blog, make sure to keep this source http://ngames.blog.51cto.com/3187187/1548409
Linux RAID,LVM