LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-17-2012, 04:50 AM   #1
astroboy771
LQ Newbie
 
Registered: Jun 2012
Posts: 1

Rep: Reputation: Disabled
Recovering Raid 1 disk


Hi,

I have seen a couple of other posts about on this topic and have tried them but with no success. not sure what is different about my situtaion but thought I would post here and see if anyone can assist.

I am trying to mount a disk that was pulled out of a Buffalo linkstation RAID-1 config.

I have run through using 'mdadm --assemble --scan' and 'mdadm -assemble --scan --run'.

Some of this seems to be working but I can't get it to become active so I can mount it and access the drive.

Here is some of the info:

Code:
ubuntu@ubuntu:~$ cat /proc/mdstat
Personalities : 
md124 : inactive sdc5[0](S)
      1000436 blocks super 1.2
       
md125 : inactive sdc2[0](S)
      4999168 blocks super 1.2
       
md126 : inactive sdc6[0](S)
      1938311476 blocks super 1.2
       
md127 : inactive sdc1[0](S)
      1000384 blocks
       
unused devices: <none>

The mdadm.conf file:
Code:
ubuntu@ubuntu:~$ cat /etc/mdadm/mdadm.conf 
# mdadm.conf
#
# Please refer to mdadm.conf(5) for information about this file.
#

# by default, scan all partitions (/proc/partitions) for MD superblocks.
# alternatively, specify devices to scan, using wildcards if desired.
DEVICE partitions

# auto-create devices with Debian standard permissions
CREATE owner=root group=disk mode=0660 auto=yes

# automatically tag new arrays as belonging to the local system
HOMEHOST <system>

# instruct the monitoring daemon where to send mail alerts
MAILADDR root

# definitions of existing MD arrays
ARRAY metadata=imsm UUID=d0a45bce:b6cb1d63:4b8cd579:cc22d2cc
ARRAY /dev/md/RAID-0 container=d0a45bce:b6cb1d63:4b8cd579:cc22d2cc member=0 UUID=21ea3bab:628ea78e:31356ed1:87617287

ARRAY /dev/md0 level=raid1 num-devices=2 UUID=d0210849:4edd2ec6:5d224f4d:0fbd0e92
   devices=/dev/sdc1
ARRAY /dev/md/1 level=raid1 metadata=1.2 num-devices=2 UUID=938a3b71:9f573681:e93a0e3f:c1ae7a35 name=LS-WVL-EM076:1
   devices=/dev/sdc2
ARRAY /dev/md/10 level=raid1 metadata=1.2 num-devices=2 UUID=49d044a1:cdb850cb:082e63e2:33d61b02 name=LS-WVL-EM076:10
   devices=/dev/sdc5
ARRAY /dev/md/21 level=raid1 metadata=1.2 num-devices=2 UUID=469cd3d7:46959065:f91fa235:36a8fb4a name=LS-WVL-EM076:21
   devices=/dev/sdc6

# This file was auto-generated on Sun, 17 Jun 2012 05:32:55 +0000
# by mkconf $Id$
The partition that I want is /dev/sdc6
Code:
ARRAY /dev/md/21 level=raid1 metadata=1.2 num-devices=2 UUID=469cd3d7:46959065:f91fa235:36a8fb4a name=LS-WVL-EM076:21
   devices=/dev/sdc6
I notice that
mdadm --examine calls the drives
'/dev/md/21' and 'cat /proc/mdstat' calls it md126 which is what is present in the /dev directory ... I'm not sure if this is any issue.

Can anyone explain what I need to do /how I can make the drive active?

Thanks
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Recovering Data from Remaining RAID 1 Disk nko Linux - Software 18 01-10-2016 09:43 PM
[SOLVED] Software RAID (mdadm) - RAID 0 returns incorrect status for disk failure/disk removed Marjonel Montejo Linux - General 4 10-04-2009 06:15 PM
recovering software raid - disk marked as failed rjstephens Linux - General 9 06-10-2008 03:29 AM
recovering data from an old RAID -0 dominant Linux - Software 1 01-26-2005 02:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:20 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