
User Guide
5. System Management
5.3 Zoning
9:0:1290:0 9:0:1302:0 9:0:1383:0 end_device-9:41:19
end_device-9:41:31 end_device-9:44:2 expander-9:43
9:0:1291:0 9:0:1303:0 9:0:1384:0 end_device-9:41:20
end_device-9:41:32 end_device-9:44:3 expander-9:44
9:0:1292:0 9:0:1304:0 9:0:1385:0 end_device-9:41:21
end_device-9:42:2 end_device-9:44:4 sas_host9
9:0:1293:0 9:0:1323:0 9:0:1386:0 end_device-9:41:22
end_device-9:44:0 end_device-9:44:5
9:0:1294:0 9:0:1375:0 9:0:1387:0 end_device-9:41:23
end_device-9:44:1 end_device-9:44:6
9:0:1295:0 9:0:1376:0 9:0:1388:0 end_device-9:41:24
end_device-9:44:10 end_device-9:44:7
9:0:1296:0 9:0:1377:0 9:0:1389:0 end_device-9:41:25
end_device-9:44:11 end_device-9:44:8
b.
Issue the following command to access a single host's SMP Discover output:
smp_discover_list /dev/bsg/expander-9:39
c.
Zone group 9 can be identified by the
ZG:9
located at the end of each line in zone 9.
The above example displays PHYs 0-13 as being in zone group 9. All other devices are
labeled as
inaccessible
because the host is displaying the only devices it has access
to. The step can be repeated on other hosts to see what zone group each host has
access to.
d.
Issue the following command to access all hosts smp_discover_list:
smp_discover_list --ignore /dev/bsg/expander-9:39
e.
Zone group 9, 10, 11, 12, 13, and 14 can be identified by the
ZG
located at the end of each
group in each of their respective zones. The above example displays PHYs 0-13 as being
in zone group 9, PHYs 14-27 as being in zone group 10, and so on.
5.3.5
Disabling Zoning using Linux
Step 1 :
From the host server, identify the sg devices that are associated with the Ultrastar Data60 IOMs.
a.
Issue the following command:
sg_scan -i | grep -i H4060-J -B 1
b.
Identify the sg devices from the output. The devices can be identified by the
<dev>
. The
devices appear as
/dev/sg3
and
/dev/sg106
bolded in the example below.
/dev/sg3: scsi9 channel=0 id=43 lun=0
HGST H460-J 0101 [rmb=0 cmdq=1 pqual=0 pdev=0xd]
'--
/dev/sg106: scsi9 channel=0 id=196 lun=0
HGST H460-J 0101 [rmb=0 cmdq=1 pqual=0 pdev=0xd]
c.
Record the sg device numbers for use in a later step.
Step 2 :
Identify the IOM SAS Address for both IOMs sg_ses page 7h.
a.
Issue the following command:
192