SRaid with 13 Disks crashed
I have nothing limited. It's all i get from the bash after excecute the script. i am not aware of using a fast -boot kernel, but i saw that it comes whit kernel version 2.6.28. i think after the raid crashes i upgrade to the last kernel version, because of having the newer mdamd, ext and what ever tools to recover the raid. Am i right to use the --backup-file option, i must have a backup file ;)? i didnt have a file.
as far as i understand your advise, to recreate the raid and the order of the disks. you choose them by the output off mdadm -E wich gave the actuall number of the disk and the variation at disk sdd and sdn is because of both shows the same number, right? i think i understand that. but why is disk "j" the last in the order. my output say that disk sdd is number 13, but as spare for sda....? here the stand after rebooting at the morning:
fdisk -l|grep sd
Disk /dev/sdb: 1500.3 GB, 1500301910016 bytes
Disk /dev/sda: 1500.3 GB, 1500301910016 bytes
Disk /dev/sdc: 20.4 GB, 20409532416 bytes
/dev/sdc1 * 1 2372 19053058+ 83 Linux /dev/sdc2 2373 2481 875542+ 5 Extended /dev/sdc5 2373 2481 875511 82 Linux swap / Solaris
Disk /dev/sdd: 1500.3 GB, 1500301910016 bytes
Disk /dev/sde: 1500.3 GB, 1500301910016 bytes
Disk /dev/sdf: 1500.3 GB, 1500301910016 bytes
Disk /dev/sdg: 1500.3 GB, 1500301910016 bytes
Disk /dev/sdh: 1500.3 GB, 1500301910016 bytes
Disk /dev/sdi: 1500.3 GB, 1500301910016 bytes
Disk /dev/sdj: 1500.3 GB, 1500301910016 bytes
Disk /dev/sdk: 1500.3 GB, 1500301910016 bytes
Disk /dev/sdl: 1500.3 GB, 1500301910016 bytes
Disk /dev/sdm: 1500.3 GB, 1500301910016 bytes
Disk /dev/sdn: 1500.3 GB, 1500301910016 bytes
mdadm -E /dev/sda/dev/sda:
Magic : a92b4efc
Version : 0.90.00
UUID : 975d6eb2:285eed11:021df236:c2d05073
Creation Time : Tue Oct 13 23:26:17 2009
Raid Level : raid5
Used Dev Size : 1465138496 (1397.26 GiB 1500.30 GB)
Array Size : 17581661952 (16767.18 GiB 18003.62 GB) Raid Devices : 13
Total Devices : 12
Preferred Minor : 0
Update Time : Fri Jun 3 23:47:53 2011
State : clean
Active Devices : 11
Working Devices : 12
Failed Devices : 2
Spare Devices : 1
Checksum : 1dee4232 - correct
Events : 156864
Layout : left-symmetric
Chunk Size : 64K
Number Major Minor RaidDevice State
this 4 8 176 4 active sync /dev/sdl
0 0 8 112 0 active sync /dev/sdh 1 1 0 0 1 faulty removed 2 2 8 128 2 active sync /dev/sdi 3 3 8 144 3 active sync /dev/sdj 4 4 8 176 4 active sync /dev/sdl 5 5 8 192 5 active sync /dev/sdm 6 6 8 16 6 active sync /dev/sdb 7 7 0 0 7 faulty removed 8 8 8 32 8 active sync /dev/sdc 9 9 8 48 9 active sync /dev/sdd 10 10 8 64 10 active sync /dev/sde 11 11 8 80 11 active sync /dev/sdf 12 12 8 96 12 active sync /dev/sdg 13 13 8 0 13 spare /dev/sda
mdadm -E /dev/sdb/dev/sdb:
Magic : a92b4efc
Version : 0.90.00
UUID : 975d6eb2:285eed11:021df236:c2d05073
Creation Time : Tue Oct 13 23:26:17 2009
Raid Level : raid5
Used Dev Size : 1465138496 (1397.26 GiB 1500.30 GB)
Array Size : 17581661952 (16767.18 GiB 18003.62 GB) Raid Devices : 13
Total Devices : 12
Preferred Minor : 0
Update Time : Fri Jun 3 23:47:53 2011
State : clean
Active Devices : 11
Working Devices : 12
Failed Devices : 2
Spare Devices : 1
Checksum : 1dee4244 - correct
Events : 156864
Layout : left-symmetric
Chunk Size : 64K
Number Major Minor RaidDevice State
this 5 8 192 5 active sync /dev/sdm
0 0 8 112 0 active sync /dev/sdh 1 1 0 0 1 faulty removed 2 2 8 128 2 active sync /dev/sdi 3 3 8 144 3 active sync /dev/sdj 4 4 8 176 4 active sync /dev/sdl 5 5 8 192 5 active sync /dev/sdm 6 6 8 16 6 active sync /dev/sdb 7 7 0 0 7 faulty removed 8 8 8 32 8 active sync /dev/sdc 9 9 8 48 9 active sync /dev/sdd 10 10 8 64 10 active sync /dev/sde 11 11 8 80 11 active sync /dev/sdf 12 12 8 96 12 active sync /dev/sdg 13 13 8 0 13 spare /dev/sda
mdadm -E /dev/sdd/dev/sdd:
Magic : a92b4efc
Version : 0.90.00
UUID : 975d6eb2:285eed11:021df236:c2d05073
Creation Time : Tue Oct 13 23:26:17 2009
Raid Level : raid5
Used Dev Size : 1465138496 (1397.26 GiB 1500.30 GB)
Array Size : 17581661952 (16767.18 GiB 18003.62 GB) Raid Devices : 13
Total Devices : 12
Preferred Minor : 0
Update Time : Fri Jun 3 23:47:53 2011
State : clean
Active Devices : 11
Working Devices : 12
Failed Devices : 2
Spare Devices : 1
Checksum : 1dee418e - correct
Events : 156864
Layout : left-symmetric
Chunk Size : 64K
Number Major Minor RaidDevice State
this 13 8 0 13 spare /dev/sda
0 0 8 112 0 active sync /dev/sdh 1 1 0 0 1 faulty removed 2 2 8 128 2 active sync /dev/sdi 3 3 8 144 3 active sync /dev/sdj 4 4 8 176 4 active sync /dev/sdl 5 5 8 192 5 active sync /dev/sdm 6 6 8 16 6 active sync /dev/sdb 7 7 0 0 7 faulty removed 8 8 8 32 8 active sync /dev/sdc 9 9 8 48 9 active sync /dev/sdd 10 10 8 64 10 active sync /dev/sde 11 11 8 80 11 active sync /dev/sdf 12 12 8 96 12 active sync /dev/sdg 13 13 8 0 13 spare /dev/sda
mdadm -E /dev/sde/dev/sde:
Magic : a92b4efc
Version : 0.90.00
UUID : 975d6eb2:285eed11:021df236:c2d05073
Creation Time : Tue Oct 13 23:26:17 2009
Raid Level : raid5
Used Dev Size : 1465138496 (1397.26 GiB 1500.30 GB)
Array Size : 17581661952 (16767.18 GiB 18003.62 GB) Raid Devices : 13
Total Devices : 12
Preferred Minor : 0
Update Time : Fri Jun 3 23:47:53 2011
State : clean
Active Devices : 11
Working Devices : 12
Failed Devices : 2
Spare Devices : 1
Checksum : 1dee4196 - correct
Events : 156864
Layout : left-symmetric
Chunk Size : 64K
Number Major Minor RaidDevice State
this 6 8 16 6 active sync /dev/sdb
0 0 8 112 0 active sync /dev/sdh 1 1 0 0 1 faulty removed 2 2 8 128 2 active sync /dev/sdi 3 3 8 144 3 active sync /dev/sdj 4 4 8 176 4 active sync /dev/sdl 5 5 8 192 5 active sync /dev/sdm 6 6 8 16 6 active sync /dev/sdb 7 7 0 0 7 faulty removed 8 8 8 32 8 active sync /dev/sdc 9 9 8 48 9 active sync /dev/sdd 10 10 8 64 10 active sync /dev/sde 11 11 8 80 11 active sync /dev/sdf 12 12 8 96 12 active sync /dev/sdg 13 13 8 0 13 spare /dev/sda
mdadm -E /dev/sdf/dev/sdf:
Magic : a92b4efc
Version : 0.90.00
UUID : 975d6eb2:285eed11:021df236:c2d05073
Creation Time : Tue Oct 13 23:26:17 2009
Raid Level : raid5
Used Dev Size : 1465138496 (1397.26 GiB 1500.30 GB)
Array Size : 17581661952 (16767.18 GiB 18003.62 GB) Raid Devices : 13
Total Devices : 12
Preferred Minor : 0
Update Time : Fri Jun 3 23:47:53 2011
State : clean
Active Devices : 11
Working Devices : 12
Failed Devices : 2
Spare Devices : 1
Checksum : 1dee41aa - correct
Events : 156864
Layout : left-symmetric
Chunk Size : 64K
Number Major Minor RaidDevice State
this 8 8 32 8 active sync /dev/sdc
0 0 8 112 0 active sync /dev/sdh 1 1 0 0 1 faulty removed 2 2 8 128 2 active sync /dev/sdi 3 3 8 144 3 active sync /dev/sdj 4 4 8 176 4 active sync /dev/sdl 5 5 8 192 5 active sync /dev/sdm 6 6 8 16 6 active sync /dev/sdb 7 7 0 0 7 faulty removed 8 8 8 32 8 active sync /dev/sdc 9 9 8 48 9 active sync /dev/sdd 10 10 8 64 10 active sync /dev/sde 11 11 8 80 11 active sync /dev/sdf 12 12 8 96 12 active sync /dev/sdg 13 13 8 0 13 spare /dev/sda
mdadm -E /dev/sdg/dev/sdg:
Magic : a92b4efc
Version : 0.90.00
UUID : 975d6eb2:285eed11:021df236:c2d05073
Creation Time : Tue Oct 13 23:26:17 2009
Raid Level : raid5
Used Dev Size : 1465138496 (1397.26 GiB 1500.30 GB)
Array Size : 17581661952 (16767.18 GiB 18003.62 GB) Raid Devices : 13
Total Devices : 12
Preferred Minor : 0
Update Time : Fri Jun 3 23:47:53 2011
State : clean
Active Devices : 11
Working Devices : 12
Failed Devices : 2
Spare Devices : 1
Checksum : 1dee41bc - correct
Events : 156864
Layout : left-symmetric
Chunk Size : 64K
Number Major Minor RaidDevice State
this 9 8 48 9 active sync /dev/sdd
0 0 8 112 0 active sync /dev/sdh 1 1 0 0 1 faulty removed 2 2 8 128 2 active sync /dev/sdi 3 3 8 144 3 active sync /dev/sdj 4 4 8 176 4 active sync /dev/sdl 5 5 8 192 5 active sync /dev/sdm 6 6 8 16 6 active sync /dev/sdb 7 7 0 0 7 faulty removed 8 8 8 32 8 active sync /dev/sdc 9 9 8 48 9 active sync /dev/sdd 10 10 8 64 10 active sync /dev/sde 11 11 8 80 11 active sync /dev/sdf 12 12 8 96 12 active sync /dev/sdg 13 13 8 0 13 spare /dev/sda
mdadm -E /dev/sdh/dev/sdh:
Magic : a92b4efc
Version : 0.90.00
UUID : 975d6eb2:285eed11:021df236:c2d05073
Creation Time : Tue Oct 13 23:26:17 2009
Raid Level : raid5
Used Dev Size : 1465138496 (1397.26 GiB 1500.30 GB)
Array Size : 17581661952 (16767.18 GiB 18003.62 GB) Raid Devices : 13
Total Devices : 12
Preferred Minor : 0
Update Time : Fri Jun 3 23:47:53 2011
State : clean
Active Devices : 11
Working Devices : 12
Failed Devices : 2
Spare Devices : 1
Checksum : 1dee41ce - correct
Events : 156864
Layout : left-symmetric
Chunk Size : 64K
Number Major Minor RaidDevice State
this 10 8 64 10 active sync /dev/sde
0 0 8 112 0 active sync /dev/sdh 1 1 0 0 1 faulty removed 2 2 8 128 2 active sync /dev/sdi 3 3 8 144 3 active sync /dev/sdj 4 4 8 176 4 active sync /dev/sdl 5 5 8 192 5 active sync /dev/sdm 6 6 8 16 6 active sync /dev/sdb 7 7 0 0 7 faulty removed 8 8 8 32 8 active sync /dev/sdc 9 9 8 48 9 active sync /dev/sdd 10 10 8 64 10 active sync /dev/sde 11 11 8 80 11 active sync /dev/sdf 12 12 8 96 12 active sync /dev/sdg 13 13 8 0 13 spare /dev/sda
mdadm -E /dev/sdi/dev/sdi:
Magic : a92b4efc
Version : 0.90.00
UUID : 975d6eb2:285eed11:021df236:c2d05073
Creation Time : Tue Oct 13 23:26:17 2009
Raid Level : raid5
Used Dev Size : 1465138496 (1397.26 GiB 1500.30 GB)
Array Size : 17581661952 (16767.18 GiB 18003.62 GB) Raid Devices : 13
Total Devices : 12
Preferred Minor : 0
Update Time : Fri Jun 3 23:47:53 2011
State : clean
Active Devices : 11
Working Devices : 12
Failed Devices : 2
Spare Devices : 1
Checksum : 1dee41e0 - correct
Events : 156864
Layout : left-symmetric
Chunk Size : 64K
Number Major Minor RaidDevice State
this 11 8 80 11 active sync /dev/sdf
0 0 8 112 0 active sync /dev/sdh 1 1 0 0 1 faulty removed 2 2 8 128 2 active sync /dev/sdi 3 3 8 144 3 active sync /dev/sdj 4 4 8 176 4 active sync /dev/sdl 5 5 8 192 5 active sync /dev/sdm 6 6 8 16 6 active sync /dev/sdb 7 7 0 0 7 faulty removed 8 8 8 32 8 active sync /dev/sdc 9 9 8 48 9 active sync /dev/sdd 10 10 8 64 10 active sync /dev/sde 11 11 8 80 11 active sync /dev/sdf 12 12 8 96 12 active sync /dev/sdg 13 13 8 0 13 spare /dev/sda
mdadm -E /dev/sdj/dev/sdj:
Magic : a92b4efc
Version : 0.90.00
UUID : 975d6eb2:285eed11:021df236:c2d05073
Creation Time : Tue Oct 13 23:26:17 2009
Raid Level : raid5
Used Dev Size : 1465138496 (1397.26 GiB 1500.30 GB)
Array Size : 17581661952 (16767.18 GiB 18003.62 GB) Raid Devices : 13
Total Devices : 12
Preferred Minor : 0
Update Time : Fri Jun 3 23:47:53 2011
State : clean
Active Devices : 11
Working Devices : 12
Failed Devices : 2
Spare Devices : 1
Checksum : 1dee41f2 - correct
Events : 156864
Layout : left-symmetric
Chunk Size : 64K
Number Major Minor RaidDevice State
this 12 8 96 12 active sync /dev/sdg
0 0 8 112 0 active sync /dev/sdh 1 1 0 0 1 faulty removed 2 2 8 128 2 active sync /dev/sdi 3 3 8 144 3 active sync /dev/sdj 4 4 8 176 4 active sync /dev/sdl 5 5 8 192 5 active sync /dev/sdm 6 6 8 16 6 active sync /dev/sdb 7 7 0 0 7 faulty removed 8 8 8 32 8 active sync /dev/sdc 9 9 8 48 9 active sync /dev/sdd 10 10 8 64 10 active sync /dev/sde 11 11 8 80 11 active sync /dev/sdf 12 12 8 96 12 active sync /dev/sdg 13 13 8 0 13 spare /dev/sda
mdadm -E /dev/sdk/dev/sdk:
Magic : a92b4efc
Version : 0.90.00
UUID : 975d6eb2:285eed11:021df236:c2d05073
Creation Time : Tue Oct 13 23:26:17 2009
Raid Level : raid5
Used Dev Size : 1465138496 (1397.26 GiB 1500.30 GB)
Array Size : 17581661952 (16767.18 GiB 18003.62 GB) Raid Devices : 13
Total Devices : 12
Preferred Minor : 0
Update Time : Fri Jun 3 23:47:53 2011
State : clean
Active Devices : 11
Working Devices : 12
Failed Devices : 2
Spare Devices : 1
Checksum : 1dee41ea - correct
Events : 156864
Layout : left-symmetric
Chunk Size : 64K
Number Major Minor RaidDevice State
this 0 8 112 0 active sync /dev/sdh
0 0 8 112 0 active sync /dev/sdh 1 1 0 0 1 faulty removed 2 2 8 128 2 active sync /dev/sdi 3 3 8 144 3 active sync /dev/sdj 4 4 8 176 4 active sync /dev/sdl 5 5 8 192 5 active sync /dev/sdm 6 6 8 16 6 active sync /dev/sdb 7 7 0 0 7 faulty removed 8 8 8 32 8 active sync /dev/sdc 9 9 8 48 9 active sync /dev/sdd 10 10 8 64 10 active sync /dev/sde 11 11 8 80 11 active sync /dev/sdf 12 12 8 96 12 active sync /dev/sdg 13 13 8 0 13 spare /dev/sda
mdadm -E /dev/sdl/dev/sdl:
Magic : a92b4efc
Version : 0.90.00
UUID : 975d6eb2:285eed11:021df236:c2d05073
Creation Time : Tue Oct 13 23:26:17 2009
Raid Level : raid5
Used Dev Size : 1465138496 (1397.26 GiB 1500.30 GB)
Array Size : 17581661952 (16767.18 GiB 18003.62 GB) Raid Devices : 13
Total Devices : 12
Preferred Minor : 0
Update Time : Fri Jun 3 23:47:53 2011
State : clean
Active Devices : 11
Working Devices : 12
Failed Devices : 2
Spare Devices : 1
Checksum : 1dee41fe - correct
Events : 156864
Layout : left-symmetric
Chunk Size : 64K
Number Major Minor RaidDevice State
this 2 8 128 2 active sync /dev/sdi
0 0 8 112 0 active sync /dev/sdh 1 1 0 0 1 faulty removed 2 2 8 128 2 active sync /dev/sdi 3 3 8 144 3 active sync /dev/sdj 4 4 8 176 4 active sync /dev/sdl 5 5 8 192 5 active sync /dev/sdm 6 6 8 16 6 active sync /dev/sdb 7 7 0 0 7 faulty removed 8 8 8 32 8 active sync /dev/sdc 9 9 8 48 9 active sync /dev/sdd 10 10 8 64 10 active sync /dev/sde 11 11 8 80 11 active sync /dev/sdf 12 12 8 96 12 active sync /dev/sdg 13 13 8 0 13 spare /dev/sda
mdadm -E /dev/sdm/dev/sdm:
Magic : a92b4efc
Version : 0.90.00
UUID : 975d6eb2:285eed11:021df236:c2d05073
Creation Time : Tue Oct 13 23:26:17 2009
Raid Level : raid5
Used Dev Size : 1465138496 (1397.26 GiB 1500.30 GB)
Array Size : 17581661952 (16767.18 GiB 18003.62 GB) Raid Devices : 13
Total Devices : 12
Preferred Minor : 0
Update Time : Fri Jun 3 23:47:53 2011
State : clean
Active Devices : 11
Working Devices : 12
Failed Devices : 2
Spare Devices : 1
Checksum : 1dee4210 - correct
Events : 156864
Layout : left-symmetric
Chunk Size : 64K
Number Major Minor RaidDevice State
this 3 8 144 3 active sync /dev/sdj
0 0 8 112 0 active sync /dev/sdh 1 1 0 0 1 faulty removed 2 2 8 128 2 active sync /dev/sdi 3 3 8 144 3 active sync /dev/sdj 4 4 8 176 4 active sync /dev/sdl 5 5 8 192 5 active sync /dev/sdm 6 6 8 16 6 active sync /dev/sdb 7 7 0 0 7 faulty removed 8 8 8 32 8 active sync /dev/sdc 9 9 8 48 9 active sync /dev/sdd 10 10 8 64 10 active sync /dev/sde 11 11 8 80 11 active sync /dev/sdf 12 12 8 96 12 active sync /dev/sdg 13 13 8 0 13 spare /dev/sda
mdadm -E /dev/sdn/dev/sdn:
Magic : a92b4efc
Version : 0.90.00
UUID : 975d6eb2:285eed11:021df236:c2d05073
Creation Time : Tue Oct 13 23:26:17 2009
Raid Level : raid5
Used Dev Size : 1465138496 (1397.26 GiB 1500.30 GB)
Array Size : 17581661952 (16767.18 GiB 18003.62 GB) Raid Devices : 13
Total Devices : 12
Preferred Minor : 0
Update Time : Fri Jun 3 22:49:22 2011
State : clean
Active Devices : 11
Working Devices : 12
Failed Devices : 2
Spare Devices : 1
Checksum : 1dee3313 - correct
Events : 156606
Layout : left-symmetric
Chunk Size : 64K
Number Major Minor RaidDevice State
this 13 8 160 13 spare /dev/sdk
0 0 8 112 0 active sync /dev/sdh 1 1 0 0 1 faulty removed 2 2 8 128 2 active sync /dev/sdi 3 3 8 144 3 active sync /dev/sdj 4 4 8 176 4 active sync /dev/sdl 5 5 8 192 5 active sync /dev/sdm 6 6 8 16 6 active sync /dev/sdb 7 7 0 0 7 faulty removed 8 8 8 32 8 active sync /dev/sdc 9 9 8 48 9 active sync /dev/sdd 10 10 8 64 10 active sync /dev/sde 11 11 8 80 11 active sync /dev/sdf 12 12 8 96 12 active sync /dev/sdg 13 13 8 160 13 spare /dev/sdk
------
in short:/dev/sda:
this 4 8 176 4 active sync /dev/sdl
/dev/sdb:
this 5 8 192 5 active sync /dev/sdm
/dev/sdd:
this 13 8 0 13 spare /dev/sda
/dev/sde:
this 6 8 16 6 active sync /dev/sdb
/dev/sdf:
this 8 8 32 8 active sync /dev/sdc
/dev/sdg:
this 9 8 48 9 active sync /dev/sdd
/dev/sdh:
this 10 8 64 10 active sync /dev/sde
/dev/sdi:
this 11 8 80 11 active sync /dev/sdf
/dev/sdj:
this 12 8 96 12 active sync /dev/sdg
/dev/sdk:
this 0 8 112 0 active sync /dev/sdh
/dev/sdl:
this 2 8 128 2 active sync /dev/sdi
/dev/sdm:
this 3 8 144 3 active sync /dev/sdj
/dev/sdn:
this 13 8 160 13 spare /dev/sdk
----
after that i would think the order confused because no disk is the right in the first line auf the position. but i would do this:
mdadm -C /dev/md0 -l 5 -n 13 -e 0.90 -c 64 --assume-clean /dev/sd{k,l,m,a,b,e,?d?,f,g,h,i,j,n} or
mdadm -C /dev/md0 -l 5 -n 13 -e 0.90 -c 64 --assume-clean /dev/sd{k,l,m,a,b,e,?n?,f,g,h,i,j,d}
or what you think? how must i handle both spare disk sda and sdk?
Signature · 2 lines
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de
Hi Dragon,
Quoted 1 line · Dragon
I have nothing limited. It's all i get from the bash after excecute the script. i am not aware of using a fast -boot kernel, but i saw that it comes whit kernel version 2.6.28. i think after the raid crashes i upgrade to the last kernel version, because of having the newer mdamd, ext and what ever tools to recover the raid.
Newer kernels have the option to parallel probe. You got a newer kernel.
Quoted 1 line
Am i right to use the --backup-file option, i must have a backup file ;)? i didnt have a file.
Your attempt to shrink the array from 13 back to 12 would have needed the file, and you didn't supply one. mdadm almost certainly told you it wouldn't shrink the array.
Quoted 2 lines
as far as i understand your advise, to recreate the raid and the order of the disks. you choose them by the output off mdadm -E wich gave the actuall number of the disk and the variation at disk sdd and sdn is because of both shows the same number, right? i think i understand that. but why is disk "j" the last in the order. my output say that disk sdd is number 13, but as spare for sda....? here the stand after rebooting at the morning:
Yes, I'm using the "RaidDevice" column to determine which drive is which. The drive names in the far right column are the original names, before your kernel changed. They aren't important. To reconstruct your 13-disk array, the devices from 0 to 12 must be listed in the create command in the correct order. Two of your devices think they are spares, reporting "RaidDevice" > 12. They must fit into the two slots that are reported as "faulty removed".
Quoted 18 lines
fdisk -l|grep sd
Disk/dev/sdb: 1500.3 GB, 1500301910016 bytes Disk/dev/sda: 1500.3 GB, 1500301910016 bytes Disk/dev/sdc: 20.4 GB, 20409532416 bytes/dev/sdc1 * 1 2372 19053058+ 83 Linux /dev/sdc2 2373 2481 875542+ 5 Extended /dev/sdc5 2373 2481 875511 82 Linux swap / SolarisDisk
/dev/sdd: 1500.3 GB, 1500301910016 bytes Disk/dev/sde: 1500.3 GB, 1500301910016 bytes Disk/dev/sdf: 1500.3 GB, 1500301910016 bytes Disk/dev/sdg: 1500.3 GB, 1500301910016 bytes Disk/dev/sdh: 1500.3 GB, 1500301910016 bytes Disk/dev/sdi: 1500.3 GB, 1500301910016 bytes Disk/dev/sdj: 1500.3 GB, 1500301910016 bytes Disk/dev/sdk: 1500.3 GB, 1500301910016 bytes Disk/dev/sdl: 1500.3 GB, 1500301910016 bytes Disk/dev/sdm: 1500.3 GB, 1500301910016 bytes Disk/dev/sdn: 1500.3 GB, 1500301910016 bytes
[...]
Quoted 32 lines
------
in short:/dev/sda:
this 4 8 176 4 active sync/dev/sdl
/dev/sdb:
this 5 8 192 5 active sync/dev/sdm
/dev/sdd:
this 13 8 0 13 spare/dev/sda
/dev/sde:
this 6 8 16 6 active sync/dev/sdb
/dev/sdf:
this 8 8 32 8 active sync/dev/sdc
/dev/sdg:
this 9 8 48 9 active sync/dev/sdd
/dev/sdh:
this 10 8 64 10 active sync/dev/sde
/dev/sdi:
this 11 8 80 11 active sync/dev/sdf
/dev/sdj:
this 12 8 96 12 active sync/dev/sdg
/dev/sdk:
this 0 8 112 0 active sync/dev/sdh
Quoted 8 lines
/dev/sdl:
this 2 8 128 2 active sync/dev/sdi
/dev/sdm:
this 3 8 144 3 active sync/dev/sdj
/dev/sdn:
this 13 8 160 13 spare/dev/sdk
Good to summarize, but ignore the names on the right.
Quoted 5 lines
after that i would think the order confused because no disk is the right in the first line auf the position. but i would do this:
mdadm -C
/dev/md0-l 5 -n 13 -e 0.90 -c 64 --assume-clean /dev/sd{k,l,m,a,b,e,?d?,f,g,h,i,j,n} or
mdadm -C/dev/md0-l 5 -n 13 -e 0.90 -c 64 --assume-clean /dev/sd{k,l,m,a,b,e,?n?,f,g,h,i,j,d}
No. The devices that know where they belong are 0,2,3,4,5,6,8,9,10,11,12. That would be /dev/sd{k,*,l,m,a,b,e,*,f,g,h,i,j}. The devices that report 13, /dev/sdd & /dev/sdn, must fit in to positions 1 & 7. Two possibilities:
/dev/sd{k,d,l,m,a,b,e,n,f,g,h,i,j} or /dev/sd{k,n,l,m,a,b,e,d,f,g,h,i,j}
HTH,
Phil