EasyManua.ls Logo

Western Digital Ultrastar Data60 - Sg_Senddiag Command; Enabling Zoning Using Linux

Western Digital Ultrastar Data60
260 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
User Guide
4. Management
4.6 Zoning
Host Enclosure IOM SAS Port
A6
B4
B5
B6
4.6.3
 
sg_senddiag Command
The sg_senddiag command is used to configure zoning on the Ultrastar Data60 . This command contains
several values that are important for enabling and disabling 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 matches an explanation
of that part's function. Understanding the parts of the command will ensure that the proper information is
collected to build the commands 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 – a utility that performs a SCSI send diagnostic command
• <a> – 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 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> – 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> – the value that chooses the zoning configuration that will be applied to the enclosure. Input one
of the following values:
◦ 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
Note: For more information on zoning configurations, see: Partial Population
Configurations (page 214).
• <d> – the value obtained from getting the SAS Address of each IOM. There will be one for each
of the two IOMs on the enclosure. When the IOM SAS Address is applied to the string, each pair of
characters should be offset by a comma.
188

Table of Contents