User Guide
5. System Management
5.3 Zoning
Host connection (SAS Port)
Enclosure IOM connection (SAS Port)
Host 2
B4
Host 2
B5
Host 2
B6
5.3.3
sg_senddiag Command
The sg_senddiag command is used to configure zoning on Ultrastar Data60. This command contains
several values that are important to enable and disable zoning through the use of the IOMs and expanders.
The following section breaks down how to understand the necessary information to properly enable or
disable zoning on the enclosure. Each important part of the command has been color coded to match up
with the explanation of each part below. Understanding the function of the command will ensure that the
proper information is collected to build the command in the following sections.
sg_senddiag Command
sg_senddiag <a> --pf --raw=04,00,00,90,<b>,<c>,00,00,<d>
Command Breakdown
sg_senddiag
is a utility that performs a SCSI send diagnostic command.
<a>
is the sg device (Linux) or SCSI device (Windows) that is assigned by the SEP. The information collected for
the device will be input in any location that requests
<dev>
. There will be one sg or SCSI device handle for
each of the two IOMs.
--pf
Page Format (--pf) is a bit and in this case is clear due to the lack of a –list option.
--raw
raw reads the sequence of bytes from the standard input.
<b>
is the value that enables or disables the zone configuration. Input one of the following values:
•
60
disables zoning configurations on the enclosure
•
61
enables zoning configurations on the enclosure
<c>
is the value that chooses the zoning configuration that will be applied to the enclosure. The following
options display the preconfigured zones for the enclosure:
•
00
disables zoning in the enclosure
•
01
configures the zone groups into six sections containing 10 drives each
•
02
configures the zone groups into three sections containing 20 drives each
•
03
configures the zone groups into two sections containing 30 drives each
188