Operating System - HP-UX
1752340 Members
6207 Online
108787 Solutions
New Discussion

Re: Add missing disk to hardware raid

 
SOLVED
Go to solution
debtboy
Advisor

Add missing disk to hardware raid

Hello everyone,

 

I have a simple question...

How do take an available physical drive (c0t1d0) and add it to a raid 1 configuration (c0t0d0) which has a drive missing?

 

see sasmgr output below:

 

Thu Apr 19 04:25:47 2012

---------- PHYSICAL DRIVES ----------
LUN dsf              SAS Address          Enclosure    Bay      Size(MB)

/dev/rdsk/c0t1d0     0x5000cca00b51a5c1     1            8      70007     

---------- LOGICAL DRIVE 5 ----------

Raid Level                                         : RAID 0              
Volume sas address                                 : 0x740fa4ea60e452c   
Raid State                                         : MISSING             
Raid Status Flag                                   : ENABLED INACTIVE    
Raid Size                                          : 0                   
Rebuild Rate                                       : 0.00 %              
Rebuild Progress                                   : 100.00 %            

Participating Physical Drive(s) :

SAS Address         Enc   Bay   Size(MB)      Type            State           


---------- LOGICAL DRIVE 7 ----------

Raid Level                                         : RAID 1              
Volume sas address                                 : 0x741fdab160e7893   
Device Special File                                : /dev/rdsk/c0t0d0    
Raid State                                         : DEGRADED            
Raid Status Flag                                   : ENABLED             
Raid Size                                          : 69618               
Rebuild Rate                                       : 0.00 %              
Rebuild Progress                                   : 100.00 %            

Participating Physical Drive(s) :

SAS Address         Enc   Bay   Size(MB)      Type            State           

0x5000cca00b524f25   1     7    70007         PRIMARY         ONLINE         
0x0                  0     0    70007         SECONDARY       MISSING

 

 

Server: RX3600

OS: 11iv3

Patches: recently patched (should be up to date)

Controller: HP 8 Internal Port SAS HBA with RAID

Drives: 72 gig, SAS, 15K, DP

 

 

 

I appreciate any help you could give,

Thank You

14 REPLIES 14
Torsten.
Acclaimed Contributor

Re: Add missing disk to hardware raid

You need to delete LOGICAL DRIVE 5, so this disk is free and unused and can replace the missing disk in LOGICAL DRIVE 7.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
debtboy
Advisor

Re: Add missing disk to hardware raid

Thank you for your reply!!

 

The disk is free to replace the missing drive, but I'm not sure about the command syntax for replacement.

Should I be using io_redirect_dsf?

 

In addition, when I add the disk to the array, will it rebuild off of the existing without data loss?

 

Thank you again for your help

Torsten.
Acclaimed Contributor

Re: Add missing disk to hardware raid

For disk replacements (RAID1) no commands needed, only for RAID0 replacements. Just insert the disk and check the status.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
debtboy
Advisor

Re: Add missing disk to hardware raid

Thank you again for the response.

 

I have removed the structure from the disk

pvremove /dev/rdsk/c0t1d0

 

I have physically removed the disk and rebooted.

 

I removed remaining special files, rebooted again.

rmsf -x

 

re-installed disk while system is up and check status which was again the same as above.

 

NOTE: (we have other rx6600s and rx3600s that do rebuild automatically when replaced live)

 

 

There is something unusual...

drvcfg -s from EFI shell will not let me view "Raid Properties" says inactive

 

I will look deeper into this and get back in a few days.

 

THANK YOU for your quick replies and awesome help!!!

 

 

 

Torsten.
Acclaimed Contributor

Re: Add missing disk to hardware raid

Currently your systms shows only 1 disk - in bay 8.

disk on bay 0 is missing (part of the mirror for logical drive 7), the disk for raid0 as logical drive 5 is missing too.

If you now want to use this disk from ld 5 for ld7 it only works if you delete the logical drive, otherwise you only "move" logical drive 5, because the information about logical drive config is still stored.

Deleting data from OS on the logical drive does not change anything.

What disks and how many disks are currently inserted?
Only 1?

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
debtboy
Advisor

Re: Add missing disk to hardware raid

Good Morning,

 

I really appreciate your patience.

 

2 drives inserted:

Enclosure 1 Bay 7 (boot disk)

Enclosure 1 Bay 8 (unused disk)

 

I was hoping to use Enc 1 Bay 8 (unused disk) as the missing RAID 1 mirror disk of (LD7)

 

Thank you again 

Torsten.
Acclaimed Contributor

Re: Add missing disk to hardware raid

Could you please send

# sasmgr get_info -D /dev/sasd0 -q raid

again?

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Torsten.
Acclaimed Contributor

Re: Add missing disk to hardware raid

If the output is still the same compared to your first post, consider to move the disk from slot 8 to slot 0 and check again.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
debtboy
Advisor

Re: Add missing disk to hardware raid

Yes the same...


Fri Apr 20 05:06:40 2012

---------- PHYSICAL DRIVES ----------
LUN dsf              SAS Address          Enclosure    Bay      Size(MB)

/dev/rdsk/c0t1d0     0x5000cca00b51a5c1     1            8      70007     

---------- LOGICAL DRIVE 5 ----------

Raid Level                                         : RAID 0              
Volume sas address                                 : 0x740fa4ea60e452c   
Raid State                                         : MISSING             
Raid Status Flag                                   : ENABLED INACTIVE    
Raid Size                                          : 0                   
Rebuild Rate                                       : 0.00 %              
Rebuild Progress                                   : 100.00 %            

Participating Physical Drive(s) :

SAS Address         Enc   Bay   Size(MB)      Type            State           


---------- LOGICAL DRIVE 7 ----------

Raid Level                                         : RAID 1              
Volume sas address                                 : 0x741fdab160e7893   
Device Special File                                : /dev/rdsk/c0t0d0    
Raid State                                         : DEGRADED            
Raid Status Flag                                   : ENABLED             
Raid Size                                          : 69618               
Rebuild Rate                                       : 0.00 %              
Rebuild Progress                                   : 100.00 %            

Participating Physical Drive(s) :

SAS Address         Enc   Bay   Size(MB)      Type            State           

0x5000cca00b524f25   1     7    70007         PRIMARY         ONLINE         
0x0                  0     0    70007         SECONDARY       MISSING 

 

 

 

here is after moving from bay 8 to bay 0(1)

 

Fri Apr 20 05:12:40 2012

---------- PHYSICAL DRIVES ----------
LUN dsf              SAS Address          Enclosure    Bay      Size(MB)

/dev/rdsk/c0t1d0     0x5000cca00b51a5c1     1            1      70007     

---------- LOGICAL DRIVE 5 ----------

Raid Level                                         : RAID 0              
Volume sas address                                 : 0x740fa4ea60e452c   
Raid State                                         : MISSING             
Raid Status Flag                                   : ENABLED INACTIVE    
Raid Size                                          : 0                   
Rebuild Rate                                       : 0.00 %              
Rebuild Progress                                   : 100.00 %            

Participating Physical Drive(s) :

SAS Address         Enc   Bay   Size(MB)      Type            State           


---------- LOGICAL DRIVE 7 ----------

Raid Level                                         : RAID 1              
Volume sas address                                 : 0x741fdab160e7893   
Device Special File                                : /dev/rdsk/c0t0d0    
Raid State                                         : DEGRADED            
Raid Status Flag                                   : ENABLED             
Raid Size                                          : 69618               
Rebuild Rate                                       : 0.00 %              
Rebuild Progress                                   : 100.00 %            

Participating Physical Drive(s) :

SAS Address         Enc   Bay   Size(MB)      Type            State           

0x5000cca00b524f25   1     7    70007         PRIMARY         ONLINE         
0x0                  0     0    70007         SECONDARY       MISSING