UNSOLVED

normie31

updated

20 years ago

N

normie31

3 Posts

0

5942

May 29th, 2007 21:00

PE 2600 Perc 4/Di from Raid 0 to Raid 5 using Linux

I am trying to go from RAID 0 to RAID 5 on my PE2600 running Redhat Linux.  Am I missing something.  I have 5 disks configured running in a RAID 0 configuration.  Just added a fresh disk and I'm trying to enable RAID 5.  I have made the new disk a hotspare but not able to attach it to my current logical array.
 
I'm wondering if there's software that I have to load in order to migrate the necessary data to the hotspare.
 
Thanks in advance,
 
Norm
  • 166

    0

    Posted June 1st, 2007 15:00

    If you have five original drives in a RAID 0 config....you can't go to RAID 5 unless you add a sixth disk and choose to "reconfigure" the logical (virtual, container) drive. 
     
    Right now you're just adding a 6th drive as a hotspare to a RAID 0 array.  RAID 0 is nonredundant (no parity) and therfore has no ability to failover to a hotspare.  In other words, the hotspare is sitting there doing nothing.  Disable it from being a hotspare so that it reverts to a ready mode, then reconfigure to RAID 5. 
     
    This will take a while depending on the drive size and how full the array is with data.  As in....could take a day or two....
  • normie31

    3 Posts

    166

    0

    Posted June 1st, 2007 20:00

    You are correct.  I disabled the Hot Spare and Reconstructed the drives for RAID 5.  Currently, it's at 5% and looks like it will take approximately 6 hours.  I have 6 36GB disks but they are not full.  From what I recall, the Linux logical volumes were at 55% for the Perc 4/Di array.
     
    I would say a good battery backup at this point is golden.  I'm not sure what goes on behind the scenes when I do this reconstruction, but if there was a power outage...ouch.  I think I'm good for 40 minutes on this battery backup.
     
    Just curious, what is a good strip size for these Perc 4/Di controllers with 10k RPM SCSI disks?  It defaults to 64 and not sure if there's any advantage to increasing this.  I'm running mostly Oracle and some web apps.
     
    Thanks for the concise answer and take care,
     
    Norm
  • normie31

    3 Posts

    166

    0

    Posted June 15th, 2007 19:00

    Running RAID 5 now and going great.  Thanks for the instructions.
     
    Take care,
     
    Norm