Oui, cela vient de la commande mdadm --examine --scan -v
Non, je n’ai pour ma part jamais intégré de disque entier.
Je m’en souviens car au départ je n’arrivais pas à créer le RAID, car il y avait un soucis d’alignement des partitions (donc j’avais bien utilisé des partitions, et non les disques).
Idem lorsque j’ai récemment ajouté les deux nouveaux disques.
Mais le problème est apparu après passage de Squeeze à Wheezy (juste après la migration, j’ai entamé dans la foulée l’extension du raid…).
Là j’ai reboot, et au bout de la 3eme fois, les RAID se sont bien montés tous les deux. Mais je vois toujours mon RAID5 en “double” avec la commande ci-dessus.
Voici le résultat de mdadm -E /dev/sd*
[code]/dev/sda:
MBR Magic : aa55
Partition[0] : 605284352 sectors at 2048 (type 83)
Partition[1] : 19856048 sectors at 605286400 (type 05)
mdadm: No md superblock detected on /dev/sda1.
/dev/sda2:
MBR Magic : aa55
Partition[0] : 19853312 sectors at 2048 (type 82)
mdadm: No md superblock detected on /dev/sda5.
/dev/sdb:
MBR Magic : aa55
Partition[0] : 3907029167 sectors at 1 (type ee)
/dev/sdb1:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x0
Array UUID : e9d00ef5:c541a6b9:77b27878:d64af109
Name : Srv01:FPS (local to host Srv01)
Creation Time : Mon Sep 24 18:26:31 2012
Raid Level : raid5
Raid Devices : 5
Avail Dev Size : 3907025039 (1863.01 GiB 2000.40 GB)
Array Size : 7814047744 (7452.06 GiB 8001.58 GB)
Used Dev Size : 3907023872 (1863.01 GiB 2000.40 GB)
Data Offset : 2048 sectors
Super Offset : 8 sectors
State : clean
Device UUID : c811ce92:5ac76dbe:371ef366:f1c55a8f
Update Time : Sun Feb 1 00:09:56 2015
Checksum : bc3dd81b - correct
Events : 9995
Layout : left-symmetric
Chunk Size : 512K
Device Role : Active device 0
Array State : AAAAA (‘A’ == active, ‘.’ == missing)
/dev/sdc:
MBR Magic : aa55
Partition[0] : 3907029167 sectors at 1 (type ee)
/dev/sdc1:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x0
Array UUID : e9d00ef5:c541a6b9:77b27878:d64af109
Name : Srv01:FPS (local to host Srv01)
Creation Time : Mon Sep 24 18:26:31 2012
Raid Level : raid5
Raid Devices : 5
Avail Dev Size : 3907025039 (1863.01 GiB 2000.40 GB)
Array Size : 7814047744 (7452.06 GiB 8001.58 GB)
Used Dev Size : 3907023872 (1863.01 GiB 2000.40 GB)
Data Offset : 2048 sectors
Super Offset : 8 sectors
State : clean
Device UUID : afbe1115:37b89909:67bd9aac:aad763cf
Update Time : Sun Feb 1 00:09:56 2015
Checksum : f5e26c9 - correct
Events : 9995
Layout : left-symmetric
Chunk Size : 512K
Device Role : Active device 1
Array State : AAAAA (‘A’ == active, ‘.’ == missing)
/dev/sdd:
MBR Magic : aa55
Partition[0] : 3907029167 sectors at 1 (type ee)
/dev/sdd1:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x0
Array UUID : e9d00ef5:c541a6b9:77b27878:d64af109
Name : Srv01:FPS (local to host Srv01)
Creation Time : Mon Sep 24 18:26:31 2012
Raid Level : raid5
Raid Devices : 5
Avail Dev Size : 3907025039 (1863.01 GiB 2000.40 GB)
Array Size : 7814047744 (7452.06 GiB 8001.58 GB)
Used Dev Size : 3907023872 (1863.01 GiB 2000.40 GB)
Data Offset : 2048 sectors
Super Offset : 8 sectors
State : clean
Device UUID : f6fb0dec:ca8a7af1:6ce26ab6:141b4132
Update Time : Sun Feb 1 00:09:56 2015
Checksum : 3ae89f15 - correct
Events : 9995
Layout : left-symmetric
Chunk Size : 512K
Device Role : Active device 2
Array State : AAAAA (‘A’ == active, ‘.’ == missing)
/dev/sde:
MBR Magic : aa55
Partition[0] : 1953520002 sectors at 63 (type fd)
/dev/sde1:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x0
Array UUID : 51f4c448:1548ca93:1e9a221d:574fe99d
Name : :DATA
Creation Time : Thu Sep 13 08:52:14 2012
Raid Level : raid1
Raid Devices : 2
Avail Dev Size : 1953517954 (931.51 GiB 1000.20 GB)
Array Size : 976758841 (931.51 GiB 1000.20 GB)
Used Dev Size : 1953517682 (931.51 GiB 1000.20 GB)
Data Offset : 2048 sectors
Super Offset : 8 sectors
State : clean
Device UUID : 2e4ebeee:31c3bc72:ec615fdf:c4bf3f1b
Update Time : Sun Feb 1 00:20:53 2015
Checksum : 7e638188 - correct
Events : 1132
Device Role : Active device 1
Array State : AA (‘A’ == active, ‘.’ == missing)
/dev/sdf:
MBR Magic : aa55
Partition[0] : 1953520002 sectors at 63 (type fd)
/dev/sdf1:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x0
Array UUID : 51f4c448:1548ca93:1e9a221d:574fe99d
Name : :DATA
Creation Time : Thu Sep 13 08:52:14 2012
Raid Level : raid1
Raid Devices : 2
Avail Dev Size : 1953517954 (931.51 GiB 1000.20 GB)
Array Size : 976758841 (931.51 GiB 1000.20 GB)
Used Dev Size : 1953517682 (931.51 GiB 1000.20 GB)
Data Offset : 2048 sectors
Super Offset : 8 sectors
State : clean
Device UUID : bbcf9dfc:d470e8bd:be94f731:e5909e59
Update Time : Sun Feb 1 00:20:53 2015
Checksum : 6865b4aa - correct
Events : 1132
Device Role : Active device 0
Array State : AA (‘A’ == active, ‘.’ == missing)
/dev/sdg:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x0
Array UUID : e9d00ef5:c541a6b9:77b27878:d64af109
Name : Srv01:FPS (local to host Srv01)
Creation Time : Mon Sep 24 18:26:31 2012
Raid Level : raid5
Raid Devices : 3
Avail Dev Size : 3907025072 (1863.01 GiB 2000.40 GB)
Array Size : 3907023872 (3726.03 GiB 4000.79 GB)
Used Dev Size : 3907023872 (1863.01 GiB 2000.40 GB)
Data Offset : 4096 sectors
Super Offset : 8 sectors
State : clean
Device UUID : 17412270:7f838eed:e1348eb1:5b885357
Update Time : Fri Jan 2 20:37:05 2015
Checksum : 37a919fe - correct
Events : 3510
Layout : left-symmetric
Chunk Size : 512K
Device Role : spare
Array State : AAA (‘A’ == active, ‘.’ == missing)
/dev/sdg1:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x0
Array UUID : e9d00ef5:c541a6b9:77b27878:d64af109
Name : Srv01:FPS (local to host Srv01)
Creation Time : Mon Sep 24 18:26:31 2012
Raid Level : raid5
Raid Devices : 5
Avail Dev Size : 3907023872 (1863.01 GiB 2000.40 GB)
Array Size : 7814047744 (7452.06 GiB 8001.58 GB)
Data Offset : 1712 sectors
Super Offset : 8 sectors
State : clean
Device UUID : 3ba1ff7e:1e517720:a90a239a:2617d66d
Update Time : Sun Feb 1 00:09:56 2015
Checksum : 1c24291e - correct
Events : 9995
Layout : left-symmetric
Chunk Size : 512K
Device Role : Active device 4
Array State : AAAAA (‘A’ == active, ‘.’ == missing)
/dev/sdh:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x0
Array UUID : e9d00ef5:c541a6b9:77b27878:d64af109
Name : Srv01:FPS (local to host Srv01)
Creation Time : Mon Sep 24 18:26:31 2012
Raid Level : raid5
Raid Devices : 3
Avail Dev Size : 3907025072 (1863.01 GiB 2000.40 GB)
Array Size : 3907023872 (3726.03 GiB 4000.79 GB)
Used Dev Size : 3907023872 (1863.01 GiB 2000.40 GB)
Data Offset : 4096 sectors
Super Offset : 8 sectors
State : clean
Device UUID : 1dae89e4:76bf80c6:7d74786f:3b32240a
Update Time : Fri Jan 2 20:37:17 2015
Checksum : f5bdac83 - correct
Events : 3511
Layout : left-symmetric
Chunk Size : 512K
Device Role : spare
Array State : AAA (‘A’ == active, ‘.’ == missing)
/dev/sdh1:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x0
Array UUID : e9d00ef5:c541a6b9:77b27878:d64af109
Name : Srv01:FPS (local to host Srv01)
Creation Time : Mon Sep 24 18:26:31 2012
Raid Level : raid5
Raid Devices : 5
Avail Dev Size : 3907023872 (1863.01 GiB 2000.40 GB)
Array Size : 7814047744 (7452.06 GiB 8001.58 GB)
Data Offset : 1712 sectors
Super Offset : 8 sectors
State : clean
Device UUID : 1ef2defd:ff5897e1:87328aa7:7d4a733d
Update Time : Sun Feb 1 00:09:56 2015
Checksum : 3927dd19 - correct
Events : 9995
Layout : left-symmetric
Chunk Size : 512K
Device Role : Active device 3
Array State : AAAAA (‘A’ == active, ‘.’ == missing)[/code]