System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Add missing disk to hardware raid

 
SOLVED
Go to solution
Highlighted
Advisor

Re: Add missing disk to hardware raid

Sorry, it appears there may have been something wrong with that physical (unused) disk.

I replaced it with another and a new Logical Drive (132) was created automatically.

 

Now from the EFI shell, I was able delete LD132 and LD5 leaving me with the following...

 

Fri Apr 20 06:17:40 2012

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

/dev/rdsk/c0t3d0     0x5000c5000b00ac81     1            8      70007     

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

 

 

I have 2 drives:

Enclosure 1 Bay 7 (boot disk)

Enclosure 1 Bay 8 (new unused disk)

 

Is there a way to make /dev/rdsk/c0t3d0 part of LD7 without loosing the boot disk data?

 

Thank you again

Highlighted
Acclaimed Contributor

Re: Add missing disk to hardware raid

Did you insert the disk from slot 8 into slot 0?

 

It doesn't look so in your output.

 

Try this:

 

- remove disk from slot 8

- do

    # sasmgr -f reset -D /dev/sasd_

- insert disk in slot 0

- check status

 

The system waits for a disk in slot 0 for a rebuild.

 

If all does not work, we can add the disk as spare. 

 


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!   
Highlighted
Advisor

Re: Add missing disk to hardware raid

Thanks for your reply,

 

removed disk from slot 8

reset sasd1

replaced in slot 1

 

Status...

 


Device (/dev/sasd1) has been RESET.
# sasmgr get_info -D /dev/sasd1 -q raid

Fri Apr 20 08:25:55 2012

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

/dev/rdsk/c0t3d0     0x5000c5000b00ac81     1            1      70007     

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

 

 

I really appreciate your time and patience

Highlighted
Acclaimed Contributor
Solution

Re: Add missing disk to hardware raid

Somehow the controller became confused, the normal order is from slot 1 to slot 8, but it expect a disk in encl. 0 slot 0.

I would first delete LD5 (if you don't need it):

# sasmgr delete -D /dev/sasd0 -q raid -q raid_vol=5

then add the disk in slot 8 (move it back to slot 8) as spare:

# sasmgr add -D /dev/sasd0 -q raid -q spare -q enc_bay=1:8

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!   
Advisor

Re: Add missing disk to hardware raid

Yes I agree, the controller seems to have lost it's reference, as there is no enclosure 0 nor slot 0.

 

LD5 has been deleted, but I'm not going to create a spare right now.

 

I really appreciate all the help you've given me,

Thank You