Recovery Raid 5 from other server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux