Integrity Servers
cancel
Showing results for 
Search instead for 
Did you mean: 

rx6600 SAS phy address to BAY

 
kavanagh_1
Frequent Advisor

rx6600 SAS phy address to BAY

I have been using the "sasmgr get_info -D /dev/sasd0 -q phy=all" to try and establish what drives are in which bay however the phy address does not match the bay id on the front panel. As far as I am aware it is as follows.
Bay1 = phy 2
Bay2 = phy 3
Bay3 = phy 0
Bay4 = phy 1
Bay5 = phy 6
Bay6 = phy 7
Bay7 = phy 4
Bay8 = phy 5

Is this correct?
Is there any significance in the phy address numbering?
I know the SAS drives are identified by the SAS address but why do HP put the drives in bday 7&8?

David
8 REPLIES 8
Torsten.
Acclaimed Contributor

Re: rx6600 SAS phy address to BAY

Try this, maybe this is what you want:

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

Mon Dec 10 11:15:02 2007

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

/dev/rdsk/c2t0d0 0x5000c50005200000 1 7 70007
/dev/rdsk/c2t1d0 0x5000c50005200000 1 8 70007


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

Re: rx6600 SAS phy address to BAY

I have already used the RAID qualifier thanks to no avail, I am just finding the business of discovering exactly what bay the drives are in rather difficult to determine! Any ideas?
Torsten.
Acclaimed Contributor

Re: rx6600 SAS phy address to BAY

Maybe I don't understand ... the above command is telling that /dev/rdsk/c2t0d0 is in bay 7 - what else do you want to know?

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

Re: rx6600 SAS phy address to BAY

Hi Torsten,

Sorry, I am not making myself clear.

Let's imagine you do not have RAID set up.

Would the RAID command still give info on what bay the drives are in? The phy=all does not seem to do so. Perhaps another command option may give this but I can't find it.


David
Torsten.
Acclaimed Contributor

Re: rx6600 SAS phy address to BAY

Here is the sample output for a built-in SAS controller with 2 hardware (integrated) RAIDs. As you can see it is bay 5+6 and 7+8:

> sasmgr get_info -D /dev/sasd0 -q raid=all


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

Raid Level : RAID 1
Volume sas address : 0xf777162ae84aaaa
Device Special File : /dev/rdsk/c1t1d0
Raid State : OPTIMAL
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

0x5000c50001d1aaa9 1 8 70007 SECONDARY ONLINE
0x5000c50001d1aaa9 1 7 70007 PRIMARY ONLINE

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

Raid Level : RAID 1
Volume sas address : 0x2497e06a1d0aaa6
Device Special File : /dev/rdsk/c1t0d0
Raid State : OPTIMAL
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

0x5000c50001d1aaa1 1 6 70007 SECONDARY ONLINE
0x5000c50001d1aaa1 1 5 70007 PRIMARY ONLINE


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!   

Re: rx6600 SAS phy address to BAY

Hi Torsten,

Thanks for your help so far.

We have found that the physical location (Bay id) of the disks in our enclosure do not match the output of the RAID command(sasmgr get_info -D /dev/sasd0 -q raid)

When running the RAID command it shows the the physical location of the disks as being bay 7 & 8 but we do not have disks in these bays?

It almost seems that when running sasmgr the bay id are being obtained from old information perhaps NVRAM on the SAS controller?

Have you any thoughts?
Torsten.
Acclaimed Contributor

Re: rx6600 SAS phy address to BAY

Also interesting for you?

http://docs.hp.com/en/14556/sas_fw_update-e3.pdf

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!   
Phil uk
Honored Contributor

Re: rx6600 SAS phy address to BAY

As far as I know, the PHY ID is NOT same as the bay/slot number,unless the new firmware (as per Torstens link) rectifies this - which it looks like it possibly does.
Regds
Phil