linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Recovery Raid 5 from other server
@ 2004-03-08 15:00 Oscar I. del Rey
  0 siblings, 0 replies; only message in thread
From: Oscar I. del Rey @ 2004-03-08 15:00 UTC (permalink / raw)
  To: owner-linux-raid

  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



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-03-08 15:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-08 15:00 Recovery Raid 5 from other server Oscar I. del Rey

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).