Linux File System raid

Source: Internet
Author: User
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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.