Introduction to LinuxRAID

Source: Internet
Author: User

Introduction to LinuxRAID
Raid
RAID Level: it only indicates that the disk organization mode is different and there is no context:
0: Strip
Advantage: Performance Improvement: Read and Write
Insufficient: no redundancy (fault tolerance) Capability
Space Utilization: nS
At least two disks are required.
1: Image
Performance: lower Write Performance and improved read performance
Redundancy: available
Space Utilization: 1/2
At least two disks are required.
2
3
4: Verification Code
5: Take turns as the verification Disk
Performance: read/write performance is improved
Redundancy: available
Space Utilization: (n-1)/n * nS
At least 3
6
0, 1, 5 is used more
0 + 1: Strip first, then mirror
Performance: improved reading and writing
Redundancy: available
Space Utilization: 1/2
At least 4
1 + 0: first mirror, then strip
Performance: improved reading and writing
Redundancy: available
Space Utilization: 1/2
At least 4
5 + 0:
Performance: improved reading and writing
Redundancy: available
Space Utilization: (n-2)/n
At least 6

Jbod: combines multiple small disks into one dashboard.
Performance: None
Redundancy: None
Space Utilization: 100%
At least 2

Logical RAID:
/Dev/md #
/Dev/md1
/Dev/md2
/Dev/md3


Md:
Mdadm: RAID any block Device
Modeled commands:
Creation Mode:
-C
Special options:
-L: Level
-N: number of devices
-A {yes | no}: whether to automatically create a device file for it
-C: CHUNK size. The default value is 64 KB.

Management Mode:
-- Add, -- remove
Mdadm/dev/md # -- fail/dev/sda7: the simulation is corrupted.
Monitoring Mode:
-F
Growth Mode:
-G
Assembly mode:
-

Stop the array:
Mdadm-S/dev/md1

Mdadm-D | -- detail/dev/md #: View Details of array #

Save the current RAID information to the configuration file for later Assembly:
Mdadm-D -- scan>/etc/mdadm. conf


Watch: periodically executes a command and displays the result in full screen mode.
-N #: Specify the cycle length # seconds. The default value is 2 seconds.
Syntax: watch-n # 'command'

MD: Multi Device
DM: Device Mapper
Logical Device
RAID, LVM2

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.