Emulex OneCommand Manager Command Line Interface User Manual (P006980-01A Version 5.2, August 2011)

OneCommand Manager Command Line Interface User Manual Page 68
GetLunUnMaskByTarget
Supported by: Windows and Solaris
Syntax:
hbacmd GetLunUnMaskByTarget <HBA WWPN> <Target WWPN> <Option>
Description: This command queries for any unmasked LUNs by target.
Parameters:
HBA WWPN - Adapter’s WWPN
Target WWPN - Target’s WWPN
Option -
0 = Get information from driver
1 = Get information from configuration
RescanLuns
Supported by: Windows and Solaris
Syntax:
hbacmd RescanLuns <HBA WWPN> <Target WWPN>
Description: This command rescans LUNs to find any new LUNs.
Parameters:
HBA WWPN - Adapter’s WWPN
Target WWPN - Target’s WWPN
SetLunMask
Supported by: Windows and Solaris
Syntax:
hbacmd SetLunMask <HBA WWPN> <Target WWPN> <Option> <Lun> <LunCount> <MaskOp>
Description: This command masks the specified LUNs.
Parameters:
HBA WWPN - Adapter’s WWPN
Target WWPN - Target’s WWPN
Option -
0 = Send information to the driver
1 = Send information to configuration (make persistent)
2 = Send information to both
Lun - Starting LUN number
LunCount - Number of LUNs