Company Soft RAID issues

Source: Internet
Author: User

The following questions are not monitored by nagios?

<1>

d238 ~ # Cat/proc/mdstat
Personalities: [RAID0] [RAID1] [RAID10] [RAID6] [RAID5] [RAID4] [multipath] [faulty]
Md1:active RAID1 sdb1[1] sda1[0]
112320 blocks [2/2] [UU]

Md2:active RAID10 sdc2[2] sdd2[3] sdb2[1] sda2[0]
33574912 blocks 512K chunks 2 far-copies [4/4] [uuuu]

Md3:active RAID10 sdc3[2] sdd3[3] sdb3[1] sda3[0]
33574912 blocks 512K chunks 2 far-copies [4/4] [uuuu]

Md4:active RAID5 sdc4[2] sdd4[3] sdb4[1] sda4[0]
2829214464 blocks Level 5, 256k chunk, algorithm 2 [4/4] [uuuu]//This state is incorrect.

<2>


d237 ~ # Cat/proc/mdstat
Personalities: [RAID0] [RAID1] [RAID10] [RAID6] [RAID5] [RAID4] [multipath] [faulty]
md127: inactive sdc4[2] (s) sda4[0] (s) sdb4[3] (s)//change MD number, and all are slave states.
2829214848 blocks

Md1:active RAID1 Sda1[0]
112320 blocks [2/1] [u_]

Md2:active RAID10 sdc2[2] sdb2[3] sda2[0]
33574912 blocks 512K chunks 2 far-copies [4/3] [U_uu]

Md3:active RAID10 sdc3[2] sdb3[3] sda3[0]
33574912 blocks 512K chunks 2 far-copies [4/3] [U_uu]

Solve ===>???

1.1.1 Renaming raid

Example: Renaming/dev/md0 to/dev/md3

Normal Condition:

Mdadm-s/DEV/MD2

Mdadm-a/dev/md2/dev/sd[ab]2

Missing piece of disk (SDA2)

Mdadm-s/DEV/MD2

MDADM-E/DEV/SDB2 Get UUID

Mdadm-a/DEV/MD2--uuid=063d9f6b:d6a208aa:cb201669:f728008a

--------------------------------------------------------------------------------------------------------------- --------------------------------------------------

db101 ~ # fdisk-l|grep "^/dev"
/DEV/SDA1 * 2048 206847 102400 Linux
/dev/sda2 206848 67315711 33554432, Linux Swap/solaris
/dev/sda3 67315712 193144831 62914560-up Linux
/DEV/SDA4 193144832 1169686527 488270848-up Linux
/DEV/SDB1 2048 1169686527 584842240-up Linux
/DEV/SDC1 2048 1169686527 584842240-up Linux
/DEV/SDD1 2048 1169686527 584842240-up Linux
/dev/sde1 2048 1169686527 584842240-up Linux
/DEV/SDF1 * 2048 488378644 1953506388 7 Hpfs/ntfs/exfat

Company Soft RAID issues

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.