I have an old server that crapped out. I'm trying to recover data off of one of the hard drives but can't seem to do so.
Quote:
mepis1:~# fdisk -l
Disk /dev/sda: 80.0 GB, 80025280000 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000ef932
Device Boot Start End Blocks Id System
/dev/sda1 * 1 16 128488+ 83 Linux
/dev/sda2 17 147 1052257+ 82 Linux swap / Solaris
/dev/sda3 148 9729 76967415 fd Linux raid autodetect
|
Quote:
mepis1:~# mdadm --misc --query /dev/sda3
/dev/sda3: is not an md array
/dev/sda3: device 0 in 2 device undetected raid1 /dev/md0. Use mdadm --examine for more detail.
|
Quote:
mepis1:~# mdadm --examine /dev/sda3
/dev/sda3:
Magic : a92b4efc
Version : 00.90.00
UUID : a5afd037:5e81267a:bca186b4:c6bf2598
Creation Time : Tue Jun 14 05:27:16 2005
Raid Level : raid1
Used Dev Size : 76967296 (73.40 GiB 78.81 GB)
Array Size : 76967296 (73.40 GiB 78.81 GB)
Raid Devices : 2
Total Devices : 1
Preferred Minor : 0
Update Time : Wed May 27 11:17:31 2009
State : clean
Active Devices : 1
Working Devices : 1
Failed Devices : 1
Spare Devices : 0
Checksum : c908db10 - correct
Events : 57982787
Number Major Minor RaidDevice State
this 0 8 3 0 active sync /dev/sda3
0 0 8 3 0 active sync /dev/sda3
1 1 0 0 1 faulty removed
|
So I run the following to prepare the drive so that I can mount it:
Quote:
mepis1:~# /sbin/mdadm --assemble /dev/md0 --run -u a5afd037:5e81267a:bca186b4:c6bf2598 /dev/sda3
mdadm: error opening /dev/md0: No such device or address
|
At this point I'm scratching my head. I was hoping the above would work so that I could mount the drive using:
mepis1:~# mount /dev/md0 /mnt/
If anyone can shed some light on what I'm doing wrong, I'd appreciate it.