5Non-interactive Commands Command Summary

S

5.3.24

-p

(Display Persistent Target Binding Info)

With this command you can:

„Show binding information for one or on all HBAs (1)

„Bind a specific target to a selected HBA (2)

„Bind all targets on a specific HBA or on all HBAs (3)

„Unbind a specific target (4)

„Unbind all targets on a specific HBA or on all HBAs (5)

NOTES:

„Under Solaris, if you use the driver from the OS installation CDs (QLC driver), these features are disabled.

„Under Linux, if you use the ioctl or sysfs (inbox) driver these features are disabled.

To show target persistent binding information for a specific HBA port, type:

#scli -p (<HBA Instance> <HBA WWPN>) (view ?)

To show persistent binding information for all HBAs, type:

#scli -p all (view ?)

Where:

HBA Instance = HBA number (use -gcommand to find)

HBA WWPN = World wide port name of the HBA

NOTE:

In Solaris SPARC using a csh or tsch shell, include double quotes around the question mark (?). For example:

#scli -p <HBA> "?"

The following example is a typical SANsurfer FC HBA CLI screen showing all targets currently bound to an HBA:

--------------------------------------------------------------------------

HBA 0: QLA2462 Port 1 WWPN xx-xx-xx-xx-xx-xx-xx-xxPort ID 11-06-EF

--------------------------------------------------------------------------

Bind

Type

Device Node Name

Device Port Name

Port ID

ID

----

----

----------------

----------------

-------

--

No

Disk xx-xx-xx-xx-xx-xx-xx-xx

xx-xx-xx-xx-xx-xx-xx-xx 10-02-E1

0

Yes

Disk

xx-xx-xx-xx-xx-xx-xx-xx

xx-xx-xx-xx-xx-xx-xx-xx

10-02-E2

5-34

SN0054614-00 F

Page 174
Image 174
Q-Logic FC HBA CLI manual Display Persistent Target Binding Info, To show persistent binding information for all HBAs, type