System information
Using the CLI Commands
4-11
4.4.3 Storage groups
Command
hgname
Synopsis
hgname hgx name
Description
Name a host group.
Command
hglist
Synopsis
hglist hgx/all
Description
List one or all host groups.
Command
sgaddlun
Synopsis
sgaddlun sgx/fcpx/sasx/scpx jbdy/dgyldz/voly/vvoly
[-l lunz] [-s 512b/1kb/2kb/4kb] [-g cylinder head sector]
[-w wt/wb]
Description
Add a LUN in a storage group or a default storage group.
Parameters
[-l lunz]: LUN to be used by the virtual disk
[-s 512b/1kb/2kb/4kb]: set sector size
[-g cylinder head sector]: set the cylinder/head/sector mapping of the LUN
[-w wt/wb]: write completion (write-through or write-behind)
Command
sgremovelun
Synopsis
sgremovelun sgx/fcpx/sasx/scpx luny/all
Description
Remove one or all LUNs in a storage group or a default storage group.
Command
sgremovedisk
Synopsis
sgremovedisk sgx/fcpx/sasx/scpx/all jbdy/dgyldz/voly/vvoly
Description
Remove LUNs of a virtual disk from one storage groups, a default storage group, or all
storage groups.
Command
sgmasklun
Synopsis
sgmasklun sgx/fcpx/sasx luny/all
Description
Mask one or all LUNs in a storage group or a default storage group.
Command
sgunmasklun
Synopsis
sgunmasklun sgx/fcpx/sasx luny/all
Description
Unmask one or all LUNs in a storage group or a default storage group.
Command
sgaccess
Synopsis
sgaccess sgx/fcpx/sasx/scpx all/luny ro/rw
Description
Set LUN access right of one or all LUNs in a storage group or a default storage group.
Parameters
ro/rw: read-only or read-writable
Command
sgname
Synopsis
sgname sgx name
Description
Name a storage group.