Padło mi zasilanie, na dns-323 wysypał się raid1.
Odpiąłem dysk i podłączyłem do Systemu z Debianem Squeeze.
Programem testdisk odzyskałem partycję podstawową (primary partition), ale nie udało się odzyskać md0 - zapewne dlatego, że testdisk nie do tego służy.
Kod: Zaznacz cały
~# fdisk -l /dev/sdg
Disk /dev/sdg: 1500.3 GB, 1500301910016 bytes
255 heads, 63 sectors/track, 182401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xdfee129d
Device Boot Start End Blocks Id System
/dev/sdg1 * 1 66 530113+ 82 Linux swap / Solaris
/dev/sdg2 67 130 514080 83 Linux
/dev/sdg3 131 182236 1462766445 83 Linux
Kod: Zaznacz cały
~# mdadm --query /dev/sdg3
/dev/sdg3: is not an md array
/dev/sdg3: device 0 in 2 device mismatch raid1 /dev/md0. Use mdadm --examine fo r more detail.
~# mdadm --examine /dev/sdg3
/dev/sdg3:
Magic : a92b4efc
Version : 0.90.00
UUID : 16b21219:78dce24d:dad0fcaa:67fd5116
Creation Time : Wed Jun 14 12:00:41 2000
Raid Level : raid1
Used Dev Size : 1462766336 (1395.00 GiB 1497.87 GB)
Array Size : 1462766336 (1395.00 GiB 1497.87 GB)
Raid Devices : 2
Total Devices : 2
Preferred Minor : 0
Update Time : Sun Jan 29 02:40:17 2012
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
Checksum : 5b6b22dd - correct
Events : 2311524
Number Major Minor RaidDevice State
this 0 8 2 0 active sync /dev/sda2
0 0 8 2 0 active sync /dev/sda2
1 1 8 18 1 active sync