User Guide
4. Management
4.7 Zoning
•
Disabling the file-based zoning feature itself
– This involves downloading and activating a binary
file (
Clear_Config.bin
) that disables the file-based zoning feature and any file-based zoning
configuration, allowing zoning via other standard methods to persist through enclosure power cycles.
4.7.8.1
Enabling File-Based Zoning Using Linux
This task provides instructions for enabling the file-based zoning feature and configuring zoning using the
file-based method in a Linux operating system environment.
Step 1 :
From a command line, use the
lsscsi
and
grep
commands to list all enclosure devices
connected to the host:
# lsscsi -g | grep -i enc
From the output, note the device names for the IOMs (i.e.
/dev/sgX
):
[1:0:3051:0] enclosu HGST H4102-J 2050 - /dev/sg1
[1:0:3154:0] enclosu HGST H4102-J 2050 - /dev/sg2
Note:
Depending on the user's setup, the devices listed in the output may represent
multiple HBAs, connected to multiple IOMs, within multiple enclosures. Further investigation
may be required to determine the correct enclosure for zoning. If further investigation is not
Step 2 :
To determine the correct enclosure:
a.
Use the
sg_inq
utility for each device to determine the serial number of its enclosure:
# sg_inq /dev/sg1
standard INQUIRY:
PQual=0 Device_type=13 RMB=0 LU_CONG=0 version=0x06 [SPC-4]
[AERC=0] [TrmTsk=0] NormACA=0 HiSUP=0 Resp_data_format=2
SCCS=0 ACC=0 TPGS=0 3PC=0 Protect=0 [BQue=0]
EncServ=1 MultiP=0 [MChngr=0] [ACKREQQ=0] Addr16=0
[RelAdr=0] WBus16=0 Sync=0 [Linked=0] [TranDis=0] CmdQue=1
[SPI: Clocking=0x0 QAS=0 IUS=0]
length=96 (0x60) Peripheral device type: enclosure services device
Vendor identification: HGST
Product identification: H4102-J
Product revision level: 2050
Unit serial number: USCSJ03717EB0001
# sg_inq /dev/sg2
standard INQUIRY:
PQual=0 Device_type=13 RMB=0 LU_CONG=0 version=0x06 [SPC-4]
[AERC=0] [TrmTsk=0] NormACA=0 HiSUP=0 Resp_data_format=2
SCCS=0 ACC=0 TPGS=0 3PC=0 Protect=0 [BQue=0]
EncServ=1 MultiP=0 [MChngr=0] [ACKREQQ=0] Addr16=0
[RelAdr=0] WBus16=0 Sync=0 [Linked=0] [TranDis=0] CmdQue=1
[SPI: Clocking=0x0 QAS=0 IUS=0]
length=96 (0x60) Peripheral device type: enclosure services device
Vendor identification: HGST
Product identification: H4102-J
Product revision level: 2050
Unit serial number: USCSJ03717EB0001
242