Article Title: routine maintenance of javastuserver: RAID10. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Routine maintenance of RAID10
In Linux, we use the mdadm tool to manage RAID. Mdadm is the abbreviation of Multiple Devices Admin (the alias of Linux Soft RAID is "Multiple Devices", MD for short ).
The main working mode of mdadm
Mdadm has eight main functions:
● Assemble-add an existing RAID array (assembly );
● Build -- create an old RAID array (no "super block ");
● Create -- create a new RAID array (each device has a super block );
● Follow or monitor: monitors the RAID status (for RAID 1, 4/5, or 6/10 );
● Grow: expand or contract RAID capacity or the number of devices in RAID (for RAID 1, 4/5, or 6 );
● Incremental assembly -- add a single device to RAID. If RAID can run after addition, the RAID enters the working state;
● Manage-manages RAID arrays (such as adding and deleting RAID arrays );
● Misc-other operations; allows operations on a single device in RAID (such as stopping an array ).
Before we installed Ubuntu, we used the mdadm command on the virtual console of the installation program. We used the create FUNCTION to create a new RAID array. In addition, many options are used in the command. The following describes the main options of mdadm.
Mdadm options
1. Work mode options
The following options are used to select the working mode:
●-A, -- assemble: adds an existing RAID array to the current RAID array;
●-B, -- build: build an old RAID array (no "super block ");
[1] [2] [3] [4] [5] Next page