Management of Linux soft raid "Linux management"

Source: Internet
Author: User

************************************************************************* * * * Original:blog.csdn.net/clark_xu Xu Changliang's Column************************************************************************

Create a soft raid

Mdadm–create/dev/md0–level=5–raid-devices=3/dev/sdb1/dev/sdc1/dev/sdd1

the/proc/mdstat file shows the progress information when the disk array is under construction.

View disk array information:Mdadm–details–scan

manual Stop disc array mdadm–s/dev/md0

Pvcreate/dev/md0

Simulating a hard drive failure:MDADM/DEV/MD0–F/DEV/SDC1

Remove a device from the hard disk

Mdadm/dev/md0–r/dev/sdc1

After replacing the hard drive,

Mdadm/dev/md0–a/dev/sdc1

Management of Linux soft raid "Linux management"

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.