linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Oscar I. del Rey" <nacho@rlc01.sertecnet.com>
To: owner-linux-raid@vger.kernel.org
Subject: Recovery Raid 5 from other server
Date: Mon, 08 Mar 2004 16:00:08 +0100	[thread overview]
Message-ID: <404C8A78.5060607@rlc01.sertecnet.com> (raw)

  Hi list

I have a raid 5 with 4 scsi disks.
This raid was on other server and I would like to mount it on a new 
server without lost dat, if it is possible
Before it was configured as:
-----------------/etc/raidtab--------------------
raiddev /dev/md0
    raid-level                5
    nr-raid-disks             4
    nr-spare-disks            0
    persistent-superblock     1
    chunk-size                4
    device                    /dev/sda1
    raid-disk                 0
    device                    /dev/sdb1
    raid-disk                 1
    device                    /dev/sdc1
    raid-disk                 2
    device                    /dev/sdd1
    raid-disk                 3
------------------------------------------------
Now, I make another /etc/raidtab on the new server as:
-----------------/etc/raidtab--------------------
raiddev /dev/md1
    raid-level                5
    nr-raid-disks             4
    nr-spare-disks            0
    persistent-superblock     1
    chunk-size                4
    device                    /dev/sda1
    raid-disk                 0
    device                    /dev/sdb1
    raid-disk                 1
    device                    /dev/sdc1
    raid-disk                 2
    device                    /dev/sdd1
    raid-disk                 3
------------------------------------------------
but it can't start.

I have tested the disks with   --> mdadm -E /dev/sda1 , mdadm -E 
/dev/sdb1, mdadm -E /dev/sdc1, mdadm -E /dev/sdd1 and all the results are ok
I think the problem is that I use /dev/md1 instead of /dev/md0, but for 
several reasons I can't use /dev/md0 to do it.
Then, are there any solution to mount this raid without lost data?

Thanks in advance



                 reply	other threads:[~2004-03-08 15:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=404C8A78.5060607@rlc01.sertecnet.com \
    --to=nacho@rlc01.sertecnet.com \
    --cc=owner-linux-raid@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).