mdstat show this:
[root@server ~]# cat /proc/mdstat
Personalities : [raid1]
md0 : active raid1 sdb1[2] sda1[0]
255936 blocks super 1.0 [2/2] [UU]
md1 : active raid1 sda2[0] sdb2[2]
1953126400 blocks super 1.1 [2/2] [UU]
bitmap: 3/15 pages [12KB], 65536KB chunk
unused devices: <none>
fdisk show this:
Good HDD:
Platte /dev/sda: 2000.4 GByte, 2000398934016 Byte
255 Köpfe, 63 Sektoren/Spur, 243201 Zylinder
Einheiten = Zylinder von 16065 × 512 = 8225280 Bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0xf5ed110b
Gerät boot. Anfang Ende Blöcke Id System
/dev/sda1 * 1 32 256000 fd Linux raid autodetect
Partition 1 endet nicht an einer Zylindergrenze.
/dev/sda2 32 243202 1953257472 fd Linux raid autodetect
Bad HDD:
Platte /dev/sdb: 2000.4 GByte, 2000398934016 Byte
255 Köpfe, 63 Sektoren/Spur, 243201 Zylinder
Einheiten = Zylinder von 16065 × 512 = 8225280 Bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000
Gerät boot. Anfang Ende Blöcke Id System
/dev/sdb1 * 1 32 256000+ fd Linux raid autodetect
Partition 1 endet nicht an einer Zylindergrenze.
Partition 1 does not start on physical sector boundary.
/dev/sdb2 32 243202 1953258583 fd Linux raid autodetect
Partition 2 does not start on physical sector boundary.