hostlun
Use this command to map or unmap a volume to a host using the specified LUN
number or to get a list of all host LUNs.
Important:
When using this command with the
-unmap
argument to unmap a
volume to a host, the command requires you to end all application I/O processes
on the LUN that is being unmapped and to shut down any active Blade servers in
accordance with the recommended non-concurrent practices.
Command arguments:
<CLI> hostlun –[get –wwn WWN | map –volume poolname:volumeName –permission
[ro/rw] –wwn WWN –lun number | unmap –wwn WWN –lun number]
CLI> host
Please select one of the below options
Usage : [ -add | -delete |-get ]
COMMAND-HELP: host
Usage
: host -[get |delete WWN | add WWN]
This command is used to add/delete a host WWN to/from the controller list of hosts or get
the list of hosts added to the controller.
WWN
: The WWN name of the host (16 hexadecimal digits).
Where:
v
WWN
- Specifies host World Wide Name for which LUNs will be mapped or
unmapped.
v
poolname:volumeName
- Specifies pool name and volume name. Volume name can
be up to 12 characters long and contain alphanumeric and underscores; it must
be unique across pool on which it is created.
v
[ro/rw]
- Specifies whether permission is read only or read-write.
v
number
- Specifies LUN number to be mapped or unmapped.
Running the
hostlun
command with the
-map
option maps any volume to any host
using the specified LUN number. This command adds the host if it has not already
been added. It returns an error message if the specified volume is already mapped
to the specified host.
Example:
<CLI> hostlun –map -volume Grp1:vol1 –permission RW
–wwn 500062b00008ace9 –lun 6
Host Lun 6 for host 500062b00008ace9 mapped to volume 'vol1' in pool 'Grp1'.
Running this command with the
-get
option returns a list of all host LUNs.
Example:
<CLI> hostlun -get -wwn 500062b00008ace9
HostWWN
500062b00008ace9
:
LUNs Mapped
___________________________________________________________
|
LUN
|
Permission
|
Volume
|
|_________|_____________________|___________________________|
|
2|
ACCESS_READWRITE|
raid1_1:vol01|
|
3|
ACCESS_READWRITE|
raid1_1:vol02|
|
0|
ACCESS_READWRITE|
raid0_0:vol01|
|
1|
ACCESS_READWRITE|
raid0_0:vol02|
|
6|
ACCESS_READWRITE|
raid10_1:vol01|
|
7|
ACCESS_READWRITE|
raid10_1:vol02|
Chapter 8. Using the RAID Controller command line interface
85
Содержание BladeCenter S SAS RAID Controller Module
Страница 2: ......
Страница 7: ...Taiwan Class A compliance statement 199 Index 201 Contents v...
Страница 10: ...viii IBM SAS RAID Controller Module Installation and User s Guide IBM BladeCenter S SAS RAID Controller Module...
Страница 40: ...30 IBM SAS RAID Controller Module Installation and User s Guide IBM BladeCenter S SAS RAID Controller Module...
Страница 101: ...host get Chapter 8 Using the RAID Controller command line interface 91...
Страница 102: ...92 IBM SAS RAID Controller Module Installation and User s Guide IBM BladeCenter S SAS RAID Controller Module...
Страница 104: ...94 IBM SAS RAID Controller Module Installation and User s Guide IBM BladeCenter S SAS RAID Controller Module...
Страница 196: ...186 IBM SAS RAID Controller Module Installation and User s Guide IBM BladeCenter S SAS RAID Controller Module...
Страница 200: ...190 IBM SAS RAID Controller Module Installation and User s Guide IBM BladeCenter S SAS RAID Controller Module...
Страница 209: ...Taiwan Class A compliance statement Notices 199...
Страница 210: ...200 IBM SAS RAID Controller Module Installation and User s Guide IBM BladeCenter S SAS RAID Controller Module...
Страница 214: ...204 IBM SAS RAID Controller Module Installation and User s Guide IBM BladeCenter S SAS RAID Controller Module...
Страница 215: ......
Страница 216: ...Part Number 00D9332 Printed in USA 1P P N 00D9332...