Log Page X'30': Library Device Attributes
Table 1 shows the data that is
returned for the Library Attributes Page of the tape library.
Byte | Bit 7 | Bit 6 | Bit 5 | Bit 4 | Bit 3 | Bit 2 | Bit 1 | Bit 0 |
---|---|---|---|---|---|---|---|---|
0 | Reserved | Page Code | ||||||
1 | Reserved | |||||||
2–3 | Page Length (n - 3) | |||||||
Log Parameters (see Log Parameter Format) | ||||||||
4 x + 3 |
Log Parameter (first) Length = x |
|||||||
: | ||||||||
n - y + 3 n |
Log Parameter (last) Length = y |
Log parameter format
Each log parameter
begins with a 4-byte parameter header, followed by 1 or more bytes
of parameter data. Table 2 shows
the log parameter format.
Byte | Bit 7 | Bit 6 | Bit 5 | Bit 4 | Bit 3 | Bit 2 | Bit 1 | Bit 0 |
---|---|---|---|---|---|---|---|---|
0–1 | Parameter Code | |||||||
2 | DU (B'0') |
DS (B'1') |
TSD (B'0') |
ETC (B'0') |
TMC (B'0') |
Reserved | LP (B'1') |
|
3 | Parameter Length (n - 3) | |||||||
4 n |
Parameter Value |
Log Parameter Byte 2-Control Byte
A Log Parameter Control Byte is returned for each parameter code that is described in the log pages. The Log Parameter Control Byte is described here one time only. Any parameters that use a different Log Parameter Control Byte have that byte described within that parameter.
Note: The
contents of this byte are constant; the user cannot set these values.
This byte is part of the returned data that is described in the SCSI
standard; it is described in the following list:
Bit | Description |
---|---|
7 | DU (Disable Update): B'0' |
6 | DS (Disable Save): B'1' |
5 | TSD (Target Save Disable): B'0' |
4 | ETC (Enable Threshold Comparison): B'0' |
3–2 | TMC (Threshold Met Comparison): B'00' |
1 | Reserved |
0 | LP (List Parameter): B'1' (Indicates a list parameter) |
Parameter definitions
Table 3 lists the parameter codes
for Log Page X'30'.
Note: All ASCII parameters are left justified padded with X'00'.
Code | Description | Type | Size |
---|---|---|---|
X'0001' | Number of Frames in Library String | Binary | 1 |
X'0002' | Library Web Page URL | ASCII | 255 |
X'0003' | Logical Library Name | ASCII | 32 |
X'0004' | Physical Library Serial Number | ASCII | 12 |
X'0005' | Library Hardware Version | Binary | 1 |
- X'0003' – Logical Library Name: Indicates the length of the logical library name,
where:
Length = 16 bytes for all TS3500 libraries and TS4500 libraries with firmware versions below 1.3.0.0.
Length = 32 bytes for TS4500 libraries at firmware version 1.3.0.0 and above. - X'0005' – Library Hardware Version: Indicates if the library is a TS3500 or TS4500,
where:
X'00' or parameter not present = TS3500
X'01' = TS4500This parameter code is supported on TS4500 libraries at firmware version 1.3.0.0 and above. Therefore the library firmware will need to be at this version or higher to identify the library as a TS4500 using this parameter.