User`s guide
Chapter 8 Virtual Host Bus Adapters (vHBAs) 173
6. Display the LUNs that vHBA “oracle-vhba1” is allowed to see:
However, before the rescan, the change will not take effect:
7. Issue the rescan command:
8. After rescan, display the settings of the LUN Mask “oracle-mask” on vHBA
“oracle-vhba1”:
9. After rescan, display the LUNs that vHBA “oracle-vhba1” can see.
Now the mask has taken effect:
oracle-mask 21:78:00:C0:FF:0A:81:30(0,9),
20:70:00:C0:FF:0A:81:30(0,11)
1 record displayed
show vhba oracle-vhba1.testlin2 lun-mask
vhba name descr targets
----------------------------------------------------------------
oracle-vhba1.testlin2 oracle-mask 21:78:00:C0:FF:0A:81:30(0,9),
20:70:00:C0:FF:0A:81:30(0,11)
1 record displayed
show vhba oracle-vhba1.testlin2 targets
vhba name wwnn wwpn lun-ids
------------------------------------------------------------------------------
oracle-vhba1.testlin2 20:70:00:C0:FF:0A:81:30 20:70:00:C0:FF:0A:81:30 11,0
oracle-vhba1.testlin2 20:78:00:C0:FF:0A:81:30 21:78:00:C0:FF:0A:81:30
9,8,7,6,5,4,3,0
2 records displayed
set vhba oracle-vhba1.testlin2 rescan
show vhba oracle-vhba1.testlin2 lun-mask
vhba name descr targets
------------------------------------------------------------------------------
oracle-vhba1.testlin2 oracle-mask 21:78:00:C0:FF:0A:81:30(0,9),
20:70:00:C0:FF:0A:81:30(0,11)
1 record displayed
show vhba oracle-vhba1.testlin2 targets
vhba name wwnn wwpn lun-ids
------------------------------------------------------------------------------
oracle-vhba1.testlin2 20:70:00:C0:FF:0A:81:30 20:70:00:C0:FF:0A:81:30 11,0
oracle-vhba1.testlin2 20:78:00:C0:FF:0A:81:30 21:78:00:C0:FF:0A:81:30 9,0
2 records displayed