LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-30-2009, 10:25 AM   #1
jdw52
LQ Newbie
 
Registered: Aug 2008
Posts: 26

Rep: Reputation: 15
Can't mount RAID disk


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.

Last edited by jdw52; 05-30-2009 at 10:26 AM.
 
Old 05-30-2009, 10:34 AM   #2
jdw52
LQ Newbie
 
Registered: Aug 2008
Posts: 26

Original Poster
Rep: Reputation: 15
Bah, I'm a dummy. I figured it out. I was making it too hard. I simply had to mount it using:

mount -o ro /dev/sda3 /mnt -t ext3

This is solved. Updating this in case someone else finds it useful. BTW, I was booting off of a Mephis live cd.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Why can't I mount this md0 raid? (mdadm and software raid) cruiserparts Linux - Software 35 01-05-2013 03:35 PM
mount existing ntfs SATA RAID 0 on RHEL4 VIA fake RAID tmoble Linux - Hardware 10 11-13-2009 07:49 PM
How to view/mount separate disk -- move /home to second disk Spearhead40 Ubuntu 12 11-03-2007 03:37 PM
Create a RAID-1 of the boot disk and a new disk Oskare100 Linux - Server 3 09-21-2007 07:45 PM
RAID 1: adding a new SCSI disk to existing disk.... help mgy Linux - Enterprise 4 04-17-2006 03:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration