System information
Using the CLI Commands
4-12
4.4.4 Presentation planning
4.4.5 Selective storage presentation
4.4.6 Simple storage presentation
Command
sglistlun
Synopsis
sglistlun sgxluny/fcpxluny/sasxluny/scpxluny/sgx/fcpx/sasx/scpx/all
Description
List LUN information in one or all storage groups / default storage groups.
Command
sgsetmethod
Synopsis
sgsetmethod sim/sym/sel [-a on/off]
Description
Select storage presentation method.
Parameters
sim/sym/sel: simple, symmetric-LUN, or selective storage presentation by default, the
method is sim.
[-a on/off]: enable or disable automatic LUN mapping
Command
sgmgmtdevice
Synopsis
sgmgmtdevice on/off [-l lunx]
Description
Enable or disable management device support of in-band API.
Parameters
[-l lunx]: This option specifies the LUN be used by the management device. default is LUN
127.
Note:SCSI host interface system, the default is LUN 15
Command
htpbind
Synopsis
htpbind fcpx/sasx/all sgy hostz/hgz
Description
Bind a storage group to one or all FC ports for a host or a host group.
Command
htpunbind
Synopsis
htpunbind fcpx/sasx/all hostz/hgz
Description
Unbind a host or a host group from one or all FC ports.
Command
htplist
Synopsis
htplist fcpx/sasx/all
Description
List all storage groups bound to one or all FC ports.
Command
htpaddlun
Synopsis
htpaddlun fcpx/sasx jbdy/dgyldz/voly/vvoly [-l lunz] [-s 512b/1kb/2kb/4kb] [-g cylinder
head sector] [-w wt/wb]
htpaddlun scpx jbdy/dgyldz/voly/vvoly [-i scsi_id] [-l lunz] [-s 512b/1kb/2kb/4kb] [-g
cylinder head sector] [-w wt/wb]
Description
Add a LUN in a FC port with a virtual disk.
Parameters
[-i scsi_id]: SCSI ID
Refer to sgaddlun for other parameters.
Command
htpremovelun
Synopsis
htpremovelun fcpx/sasx luny/all
htpremovelun scpx idx/idxluny/all
Description
Remove one or all LUNs in a host port.