Linux RAID,LVM

Source: Internet
Author: User

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

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.