RAID: madam shows only 4 device out of 8 devices

anupindi007

What is this storage?
Joined
Nov 26, 2010
Messages
2
Hi,
I am not able to activate RAID and need help:

# cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md0 : inactive sdd1[7](S) sde1[6](S) sdi1[5](S) sdh1[4](S) sdg1[3](S) sdf1[2](S) sdc1[1](S)
6837319552 blocks

# cat /proc/partitions
major minor #blocks name
8 0 156290904 sda
8 1 150601311 sda1
8 2 1 sda2
8 5 5686978 sda5
8 16 976762584 sdb
8 17 976760001 sdb1
8 32 976762584 sdc
8 33 976760001 sdc1
8 48 976762584 sdd
8 49 976760001 sdd1
8 64 976762584 sde
8 65 976760001 sde1
8 80 976762584 sdf
8 81 976760001 sdf1
8 96 976762584 sdg
8 97 976760001 sdg1
8 112 976762584 sdh
8 113 976760001 sdh1
8 128 976762584 sdi
8 129 976760001 sdi1

# mdadm --examine --scan
ARRAY /dev/md0 level=raid5 num-devices=8 UUID=e2802aa9:d7e867dc:1b8b653a:6cd1f6f3

# mdadm --examine /dev/sdb1
mdadm: No md superblock detected on /dev/sdb1.
dcerouter_1000085:/etc/mdadm# mdadm --examine /dev/sdc1
/dev/sdc1:
Magic : a92b4efc
Version : 00.90.00
UUID : e2802aa9:d7e867dc:1b8b653a:6cd1f6f3
Creation Time : Fri Dec 11 22:50:57 2009
Raid Level : raid5
Used Dev Size : 976759936 (931.51 GiB 1000.20 GB)
Array Size : 6837319552 (6520.58 GiB 7001.42 GB)
Raid Devices : 8
Total Devices : 8
Preferred Minor : 0

Update Time : Sun Jul 11 05:39:38 2010
State : clean
Active Devices : 4
Working Devices : 4
Failed Devices : 4
Spare Devices : 0
Checksum : bd9c6dc3 - correct
Events : 696190

Layout : left-symmetric
Chunk Size : 64K

Number Major Minor RaidDevice State
this 1 8 33 1 active sync /dev/sdc1

0 0 8 17 0 active sync
1 1 8 33 1 active sync /dev/sdc1
2 2 0 0 2 faulty removed
3 3 0 0 3 faulty removed
4 4 0 0 4 faulty removed
5 5 0 0 5 faulty removed
6 6 8 65 6 active sync /dev/sde1
7 7 8 49 7 active sync /dev/sdd1

dcerouter_1000085:/etc/mdadm# mdadm --examine /dev/sdc1
/dev/sdc1:
Magic : a92b4efc
Version : 00.90.00
UUID : e2802aa9:d7e867dc:1b8b653a:6cd1f6f3
Creation Time : Fri Dec 11 22:50:57 2009
Raid Level : raid5
Used Dev Size : 976759936 (931.51 GiB 1000.20 GB)
Array Size : 6837319552 (6520.58 GiB 7001.42 GB)
Raid Devices : 8
Total Devices : 8
Preferred Minor : 0

Update Time : Sun Jul 11 05:39:38 2010
State : clean
Active Devices : 4
Working Devices : 4
Failed Devices : 4
Spare Devices : 0
Checksum : bd9c6dc3 - correct
Events : 696190

Layout : left-symmetric
Chunk Size : 64K

Number Major Minor RaidDevice State
this 1 8 33 1 active sync /dev/sdc1

0 0 8 17 0 active sync
1 1 8 33 1 active sync /dev/sdc1
2 2 0 0 2 faulty removed
3 3 0 0 3 faulty removed
4 4 0 0 4 faulty removed
5 5 0 0 5 faulty removed
6 6 8 65 6 active sync /dev/sde1
7 7 8 49 7 active sync /dev/sdd1

# mdadm --examine /dev/sdd1
/dev/sdd1:
Magic : a92b4efc
Version : 00.90.00
UUID : e2802aa9:d7e867dc:1b8b653a:6cd1f6f3
Creation Time : Fri Dec 11 22:50:57 2009
Raid Level : raid5
Used Dev Size : 976759936 (931.51 GiB 1000.20 GB)
Array Size : 6837319552 (6520.58 GiB 7001.42 GB)
Raid Devices : 8
Total Devices : 8
Preferred Minor : 0

Update Time : Sun Jul 11 05:39:38 2010
State : clean
Active Devices : 4
Working Devices : 4
Failed Devices : 4
Spare Devices : 0
Checksum : bd9c6ddf - correct
Events : 696190

Layout : left-symmetric
Chunk Size : 64K

Number Major Minor RaidDevice State
this 7 8 49 7 active sync /dev/sdd1

0 0 8 17 0 active sync
1 1 8 33 1 active sync /dev/sdc1
2 2 0 0 2 faulty removed
3 3 0 0 3 faulty removed
4 4 0 0 4 faulty removed
5 5 0 0 5 faulty removed
6 6 8 65 6 active sync /dev/sde1
7 7 8 49 7 active sync /dev/sdd1
# mdadm --examine /dev/sde1
/dev/sde1:
Magic : a92b4efc
Version : 00.90.00
UUID : e2802aa9:d7e867dc:1b8b653a:6cd1f6f3
Creation Time : Fri Dec 11 22:50:57 2009
Raid Level : raid5
Used Dev Size : 976759936 (931.51 GiB 1000.20 GB)
Array Size : 6837319552 (6520.58 GiB 7001.42 GB)
Raid Devices : 8
Total Devices : 8
Preferred Minor : 0

Update Time : Sun Jul 11 05:39:38 2010
State : clean
Active Devices : 4
Working Devices : 4
Failed Devices : 4
Spare Devices : 0
Checksum : bd9c6ded - correct
Events : 696190

Layout : left-symmetric
Chunk Size : 64K

Number Major Minor RaidDevice State
this 6 8 65 6 active sync /dev/sde1

0 0 8 17 0 active sync
1 1 8 33 1 active sync /dev/sdc1
2 2 0 0 2 faulty removed
3 3 0 0 3 faulty removed
4 4 0 0 4 faulty removed
5 5 0 0 5 faulty removed
6 6 8 65 6 active sync /dev/sde1
7 7 8 49 7 active sync /dev/sdd1

mdadm --examine /dev/sdf1
/dev/sdf1:
Magic : a92b4efc
Version : 00.90.00
UUID : e2802aa9:d7e867dc:1b8b653a:6cd1f6f3
Creation Time : Fri Dec 11 22:50:57 2009
Raid Level : raid5
Used Dev Size : 976759936 (931.51 GiB 1000.20 GB)
Array Size : 6837319552 (6520.58 GiB 7001.42 GB)
Raid Devices : 8
Total Devices : 8
Preferred Minor : 0

Update Time : Sun Jul 11 05:38:14 2010
State : clean
Active Devices : 8
Working Devices : 8
Failed Devices : 0
Spare Devices : 0
Checksum : bd9c6d41 - correct
Events : 696186

Layout : left-symmetric
Chunk Size : 64K

Number Major Minor RaidDevice State
this 2 8 81 2 active sync /dev/sdf1

0 0 8 17 0 active sync
1 1 8 33 1 active sync /dev/sdc1
2 2 8 81 2 active sync /dev/sdf1
3 3 8 97 3 active sync /dev/sdg1
4 4 8 113 4 active sync /dev/sdh1
5 5 8 129 5 active sync /dev/sdi1
6 6 8 65 6 active sync /dev/sde1
7 7 8 49 7 active sync /dev/sdd1

# mdadm --assemble -v /dev/sd[b-i]1 --run
mdadm: looking for devices for /dev/sdb1
mdadm: cannot open device /dev/sdc1: Device or resource busy
mdadm: /dev/sdc1 has no superblock - assembly aborted

# mdadm --stop /dev/md0
mdadm: stopped /dev/md0

# mdadm --assemble -v /dev/sd[b-i]1 --run
mdadm: looking for devices for /dev/sdb1
mdadm: /dev/sdc1 is identified as a member of /dev/sdb1, slot 1.
mdadm: /dev/sdd1 is identified as a member of /dev/sdb1, slot 7.
mdadm: /dev/sde1 is identified as a member of /dev/sdb1, slot 6.
mdadm: /dev/sdf1 is identified as a member of /dev/sdb1, slot 2.
mdadm: /dev/sdg1 is identified as a member of /dev/sdb1, slot 3.
mdadm: /dev/sdh1 is identified as a member of /dev/sdb1, slot 4.
mdadm: /dev/sdi1 is identified as a member of /dev/sdb1, slot 5.
mdadm: no uptodate device for slot 0 of /dev/sdb1
mdadm: added /dev/sdf1 to /dev/sdb1 as 2
mdadm: added /dev/sdg1 to /dev/sdb1 as 3
mdadm: added /dev/sdh1 to /dev/sdb1 as 4
mdadm: added /dev/sdi1 to /dev/sdb1 as 5
mdadm: added /dev/sde1 to /dev/sdb1 as 6
mdadm: added /dev/sdd1 to /dev/sdb1 as 7
mdadm: added /dev/sdc1 to /dev/sdb1 as 1

# mdadm --misc --examine
mdadm: No devices to examine

# mdadm --assemble --update=uuid /dev/md0
mdadm: failed to add 8:17 to /dev/md0: Device or resource busy
mdadm: /dev/md0 assembled from 0 drives - not enough to start the array.

Thanks in advance,
Srini
 
Top