Hi Rainer,

responses/comments inline below

Rainer Montag wrote:
> I'm working with SPARC Enterprise Server M4000 and the SAS HBA 
> SG-XPCIE8SAS-E with an attached SAS-JBOD-Unit. After poweron the server, I
> changed within OBP to the HBAs Fcode.
> 
> {0} ok show-devs
> ...........
>     /[EMAIL PROTECTED],600000/[EMAIL PROTECTED]/[EMAIL 
> PROTECTED]/LSILogic,[EMAIL PROTECTED]
> ...........
> 
> {0} ok select /[EMAIL PROTECTED],600000/[EMAIL PROTECTED]/[EMAIL 
> PROTECTED]/LSILogic,[EMAIL PROTECTED]
> 
> On the SAS HBA the following command is available to show the 
> relation of SAS-Address to Solaris Target Number. 
> 
> {0} ok show-persistent
>                  SAS-Address       Target-Nr (used by Solaris)
> --------------------------------------------
> Entry 00  PhysId 5000c5000468eca9  Target 0 
> Entry 01  PhysId 5000c500049f0a09  Target 1 
> Entry 02  PhysId 5000c5000244e38d  Target 2 
> Entry 03  PhysId 5000c50005f40ff9  Target 3 
> Entry 04  PhysId 5000c50005f409c5  Target 4 
> Entry 05  PhysId 5000c50004768889  Target 5 
> Entry 06  PhysId 5000c500017c8841  Target 6 
> Entry 07  PhysId 5000c500017be6ad  Target 7 
> Entry 08  PhysId 5000c5000468edf9  Target 8 
> Entry 09  PhysId 500c0ff00a61013e  Target 9 
> Entry 0a  PhysId 5000c5000244d8f1  Target a 
> Entry 0b  PhysId 5000c500047651f1  Target b 
> Entry 0c  PhysId 500c0ff00a60c43e  Target c 
> {0} ok 
> 
> The problem is now if I want to change a Disk online, a new Target-ID was 
> created because of the different SAS-Addr. from the new disk. 
> 
> It seems that this behavior is because of a fixed binding mode inside the HBA.

Yes, that is correct.


> Q1: Is it possible to configure another binding, e.g. the PhyNum <-> Solaris 
> Target 

Not immediately. We're investigating how this would and could
work, and what impact it might have on Solaris in general.

> Q2: Is it possible to configure the binding from Solaris

No.

> Q3: Is there a description available for the Fcode commands

Possibly, but which ones do you mean? If the FCode commands
that you're interested in aren't listed in the Writing FCode
3.x Programs manual (http://docs.sun.com/source/806-1379-10/)
then they might be visible on contract sunsolve. Apart from
that you could try searching LSI's support pages.

> Q4: What is the procedure to change a SAS-Disk online,
>       cfgadm -c unconfigure <AP_ID>  or cfgadm -x replace_device <AP_ID>.
>       BTW, cfgadm -x replace_device returns 
>       cfgadm: Hardware-specific Error: Replacement failed: I/O-Error


If you're running the SAS hba in mpxio mode, then cfgadm won't
work because we don't have a cfgadm plugin for that mode. As
far as I recall, we don't have plans for one either - the bigger
picture of disk management is still a little hazy.

If you're running the SAS hba in non-mpxio (ie parallel scsi)
mode then I would expect cfgadm to work as documented.


cheers,
James C. McPherson
--
Senior Kernel Software Engineer, Solaris
Sun Microsystems
http://blogs.sun.com/jmcp       http://www.jmcp.homeunix.com/blog
_______________________________________________
storage-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/storage-discuss

Reply via email to