Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 395
  • Last Modified:

Swapping RAID1 Drives

I have HP Proliant server with 2 Drives that are mirrored.
One in bay0 and the other in Bay1. The drive in bay0 failed.
I have an old drive with Data in it. I would like to remove the failed drive in bay0 and put the old drive instead. I wonder in this case if the drive in Bay1 will copy its data to the replaing drive in Bay0 or the opposite. If it is the opposite then I will have the wrong data.
any clarification on this please?
thanks
0
jskfan
Asked:
jskfan
  • 4
  • 3
  • 3
  • +1
7 Solutions
 
bigeven2002Commented:
Hello,

Before you do anything, make an complete image backup of the working drive.  Use a program like Ghost to do this.  Then make a second supplemental backup of your existing data just in case.

In RAID 1, you can add the old drive provided it has the same connection type as the working drive.  However, this is not recommended as RAID ideally uses identical drives.  Also, RAID1 array is only as big as the lowest capacity drive.

When booting the machine, it should say press Ctrl +M or Ctrl + A (Iforget) to enter the SCSI manager.  The HP SCSI manager should identify the system as in degraded mode right now.  When you install the substitute drive, the manager should recognize it and prompt to use it to rebuild the mirror.

If possible, you should consider purchasing a replacement drive that is identical to the working drive, especially if it is still under warranty.
0
 
bigeven2002Commented:
Let me rephrase the 2nd paragraph, this should work ok if the old drive you are using has the same connection type and equal or greater capacity than the working drive.  If the capacity is lower, the SCSI manager may not allow it or you might lose some data.
0
 
Crackx2008_INFOTECCommented:
Well like "bigeven200" said i will recommend doing a second copy of the working hard drive, you can use Paragon,Ghost or any other sofware you like to use. Now the problem here is the type of backup you were using to backup to drive 1 or BAY 1. If it was a full copy or image then you will get it running in no time but it will be till the time you did the last backup. If if was Incremental or Differential that's going to be a bit more complicated as you know.

So either way you are loosing some data. Good Luck !
0
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

 
jskfanAuthor Commented:
I guess I took some risk before I posted this question.
I grabbed an olde drive with the same type and size: serial scsi/146gb and put it in Bay0 where the failed drive used to be.
It was hot swappable operation, no reboot ,no backup.
For now it worked,

I was just wondering if Hot swappable should be done on Bay 0 or Bay1, I did not which drive will overwrite the other, I was saying to myself what if the new drive[that has data in it] I put in Bay 0 will overwrite what was in the drive in the Bay1.

So I guess, it is like the existing drive in either Bay0 or Bay1 will always over the drive you put in, doesn't matter which bay you put in.
is this correct?
0
 
bigeven2002Commented:
Looks like your risk paid off.  Glad to hear the drive was of same type and capacity.  Whichever bay it is in does not matter.  Looks like the array manager auto-detected the old drive you put in as a replacement and used it to rebuild the mirror automatically.  You might open up the HP smart array manager in windows to verify that the drive was restored correctly.
0
 
andyalderSaggar makers bottom knockerCommented:
In future all you have to remember is that a HP/Compaq Smart Array controller will ignore the metadata so long as the replacement drive is plugged in hot. After all, if the server is already running with a disk missing it knows that the disk that is in use is the correct one. It doesn't set a priority to which bay which disk is in, if you power up with two disks with different metadata on them (your good one and dirty replacement) it'll disable the array to avoid overwriting the wrong disk.
0
 
jskfanAuthor Commented:
Ok,,,,
If it is RAID5, and I pull out 2 Drives, will this corrupt all the data ?
0
 
andyalderSaggar makers bottom knockerCommented:
yes, it'll break the array.
0
 
jskfanAuthor Commented:
<<break the array. >> means the data in the drive will be corrupt and not recovrable ??
0
 
andyalderSaggar makers bottom knockerCommented:
When you pull the first one the effect on the data is that it is like a RAID 0 stripe, when you pull the second one you break that stripe so that there are holes in the striped data. Admittedly you've pulled the disk rather than it failing so data recovery tools such as RAID reconstructor from www.runtime.org can re-stripe it but it's unlikely the controller will bring it back online.
0
 
jskfanAuthor Commented:
Excellent!
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 4
  • 3
  • 3
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now