Parameters
Keyword and Value Description
Default Value
-i host or hostgroup ID The host ID or host group ID. The value ranges as
follows:
l
The value of the host ID ranges from 0 to 31.
You can query the information by running the
showhostgroup
command.
l
If it is the host ID, the value ranges from 0 to 255.
You can query the information by running the
showhost
command.
None.
-t virtual lunmask type The virtual LUN mask type. The value can be 1 or
2.
l
The value
1
stands for the
host
, that is, the virtual
LUN mask of the host.
l
The value
2
stands for the
host group
, that is, the
virtual LUN mask of the host group.
None.
Modes
Normal mode.
Level
Super administrator level and administrator level.
Usage Guidelines
None.
Example
Create a lunmasking on the host group with the
ID
of
2
.
OceanStor: admin> createvirlunmask -i 2 -t 2
System Response
When the command is complete, you can run the
showmap
command to view the result.
9.6.3 cancelvirlunmask
Function
The command
cancelvirlunmask
is used to cancel a virtual lunmasking.
9 Value-Added Service Management Commands
OceanStor S2600 Storage System
Command Reference
9-64
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Issue 07 (2010-05-20)