View raid information in linux

Source: Internet
Author: User
Tags dmesg

In linux, you can view the raid information of a server. 1. for software raid, you can use cat/proc/mdstat md1: active raid1 sdb3 [1] sda3 [0] 480572352 blocks [2/2] [UU] md3: active raid1 sdb2 [1] sda2 [0] 1952704 blocks [2/2] [UU] md2: active raid1 sda1 [0] sdb1 [1] 194496 blocks [2/2] [UU] I made a soft RAID 1 (sda, sdb two hard disks ). soft raid marks the device as mdN (hardware raid does not, and hardware raid performs the same as raid is not performed. you can also use dmesg, such as my dmesg | grep-I raid [1.020628] md: raid0 personality registered for level 0 [1.024236] md: raid1 personality registered for level 1 [1.196998] raid6: int64x1 2119 MB/s [1.366685] raid6: int64x2 2724 MB/s [1.536404] raid6: int64x4 1841 MB/s [1.706119] raid6: int64x8 1770 MB/s [1.875805] raid6: sse2x1 5876 MB/s [2.045514] raid6: sse2x2 6967 MB/s [2.215220] raid6: sse2x4 7653 MB/s [2.215221] raid6: using algorithm sse2x4 (7653 MB/s) [2.221300] raid1: raid set md3 active with 2 out of 2 mirrors [2.223621] raid1: raid set md2 active with 2 out of 2 mirrors [2.226764] raid1: raid set md1 active with 2 out of 2 mirrors [2.268897] md: raid6 personality registered for level 6 [2.268899] md: raid5 personality registered for level 5 [2.268901] md: raid4 personality registered for level 4 [2.273807] md: raid10 personality registered for level 10 view the three lines of raid1. my dell server hardware raid uses dmesg | grep-I raid results: [4.051200] megaraid_sas. 0: pci int a-> GSI 38 (level, low)-> IRQ 38 [4.051306] megaraid_sas. 0: setting latency timer to 64 [4.169477] scsi4: lsi sas based MegaRAID driver.

Related Article

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.