Skip to content

Instantly share code, notes, and snippets.

@hodgestar
Last active August 29, 2015 14:07
Show Gist options
  • Save hodgestar/1893a47fd0c379da780b to your computer and use it in GitHub Desktop.
Save hodgestar/1893a47fd0c379da780b to your computer and use it in GitHub Desktop.
# mdadm --assemble /dev/md0 /dev/sdb /dev/sdc /dev/sdd -f --run
mdadm: failed to RUN_ARRAY /dev/md0: Input/output error
mdadm: Not enough devices to start the array.
root@wendrush:~# cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md0 : inactive sdc[2] sdd[4](S) sdb[3]
4883791488 blocks
unused devices: <none>
# mdadm -E /dev/sd[bcd]
/dev/sdb:
Magic : a92b4efc
Version : 0.90.00
UUID : 077a101e:b12ff17f:e247e6d3:c7d00db9
Creation Time : Thu Apr 22 21:21:11 2010
Raid Level : raid10
Used Dev Size : 1465138496 (1397.26 GiB 1500.30 GB)
Array Size : 2930276992 (2794.53 GiB 3000.60 GB)
Raid Devices : 4
Total Devices : 2
Preferred Minor : 0
Update Time : Mon Oct 13 00:30:36 2014
State : active
Active Devices : 2
Working Devices : 2
Failed Devices : 1
Spare Devices : 0
Checksum : 34ee745 - correct
Events : 49195
Layout : near=2
Chunk Size : 64K
Number Major Minor RaidDevice State
this 3 8 16 3 active sync /dev/sdb
0 0 0 0 0 removed
1 1 0 0 1 faulty removed
2 2 8 32 2 active sync /dev/sdc
3 3 8 16 3 active sync /dev/sdb
/dev/sdc:
Magic : a92b4efc
Version : 0.90.00
UUID : 077a101e:b12ff17f:e247e6d3:c7d00db9
Creation Time : Thu Apr 22 21:21:11 2010
Raid Level : raid10
Used Dev Size : 1465138496 (1397.26 GiB 1500.30 GB)
Array Size : 2930276992 (2794.53 GiB 3000.60 GB)
Raid Devices : 4
Total Devices : 2
Preferred Minor : 0
Update Time : Mon Oct 13 00:30:36 2014
State : active
Active Devices : 2
Working Devices : 2
Failed Devices : 1
Spare Devices : 0
Checksum : 34ee753 - correct
Events : 49195
Layout : near=2
Chunk Size : 64K
Number Major Minor RaidDevice State
this 2 8 32 2 active sync /dev/sdc
0 0 0 0 0 removed
1 1 0 0 1 faulty removed
2 2 8 32 2 active sync /dev/sdc
3 3 8 16 3 active sync /dev/sdb
/dev/sdd:
Magic : a92b4efc
Version : 0.90.00
UUID : 077a101e:b12ff17f:e247e6d3:c7d00db9
Creation Time : Thu Apr 22 21:21:11 2010
Raid Level : raid10
Used Dev Size : 1465138496 (1397.26 GiB 1500.30 GB)
Array Size : 2930276992 (2794.53 GiB 3000.60 GB)
Raid Devices : 4
Total Devices : 4
Preferred Minor : 0
Update Time : Sun Oct 12 23:03:07 2014
State : clean
Active Devices : 3
Working Devices : 4
Failed Devices : 1
Spare Devices : 1
Checksum : 34f9380 - correct
Events : 49191
Layout : near=2
Chunk Size : 64K
Number Major Minor RaidDevice State
this 4 8 32 4 spare /dev/sdc
0 0 8 16 0 active sync /dev/sdb
1 1 0 0 1 faulty removed
2 2 8 48 2 active sync /dev/sdd
3 3 8 64 3 active sync /dev/sde
4 4 8 32 4 spare /dev/sdc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment