Enclosure IOM connection (SAS Port)
Host connection (SAS Port)
B5
Host 2
B6
Host 2
5.2.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
Command Breakdown
is a utility that performs a SCSI send diagnostic command.
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.
Page Format (--pf) is a bit and in this case is clear due to the lack of a –list option.
raw reads the sequence of bytes from the standard input.
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
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 17 drives each
168
5
System Management
User Guide
5.2
Zoning