Dell PowerVault ML6000 Dell PowerVault ML6000 SCSI Reference Guide - Page 23

Initialize Element Status With Range - E7h, What the Library Does With This Command, Command Usage - series

Page 23 highlights

Initialize Element Status With Range - E7h What the Library Does With This Command The library will examine the range of elements requested and determine their status relative to media presence (full or empty). Barcode labels will be scanned unless otherwise directed (and the library supports a non-barcode option). The library will always fully execute this command regardless of the Automatic Inventory setting. Results of the status initialization will be buffered by the library for retrieval via the READ ELEMENT STATUS command. Element status and barcode label information is retained by the library across power cycles. Command Usage This command can be issued to gather status for some or all of the elements, and can be used in conjunction with host application error handling if the normal element status maintained by the library returns an unexpected result. It should then be followed by a READ ELEMENT STATUS command to retrieve the status. Initialize Element Status With Range CDB Format The INITIALIZE ELEMENT STATUS WITH RANGE CDB format is shown in the following table. Table 8 INITIALIZE ELEMENT STATUS WITH RANGE CDB format Byte Bit 7 6 5 4 3 2 1 0 0 Op Code (E7h) 1 Logical Unit Number Reserved Range 2 Starting Element Address 3 4 Reserved 5 Reserved 6 Number of Elements 7 8 Reserved 9 NBL Control Range - A value of 0 indicates that all element addresses will be checked and that the Starting Element Address and Number of Elements fields will be ignored. A value of 1 indicates that the series of elements beginning at the specified Starting Element Address for the specified Number of Elements will be checked. Starting Element Address - The Starting Element Address specifies the beginning address of the range to check. It must be a valid address for an element that exists within the library; no adjustment will be made to convert to a next higher valid address. This field is ignored if the Range field is 0. PowerVault ML6000 SCSI Reference Guide 13

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90

PowerVault ML6000 SCSI Reference Guide
13
Initialize Element Status With Range - E7h
What the Library Does With This Command
The library will examine the range of elements requested and determine their status relative to media
presence (full or empty). Barcode labels will be scanned unless otherwise directed (and the library supports
a non-barcode option). The library will always fully execute this command regardless of the Automatic
Inventory setting.
Results of the status initialization will be buffered by the library for retrieval via the READ ELEMENT
STATUS command. Element status and barcode label information is retained by the library across power
cycles.
Command Usage
This command can be issued to gather status for some or all of the elements, and can be used in
conjunction with host application error handling if the normal element status maintained by the library
returns an unexpected result. It should then be followed by a READ ELEMENT STATUS command to
retrieve the status.
Initialize Element Status With Range CDB Format
The INITIALIZE ELEMENT STATUS WITH RANGE CDB format is shown in the following table.
Range
– A value of 0 indicates that all element addresses will be checked and that the Starting Element
Address and Number of Elements fields will be ignored. A value of 1 indicates that the series of elements
beginning at the specified Starting Element Address for the specified Number of Elements will be checked.
Starting Element Address
- The Starting Element Address specifies the beginning address of the range
to check. It must be a valid address for an element that exists within the library; no adjustment will be made
to convert to a next higher valid address. This field is ignored if the Range field is 0.
Table 8
INITIALIZE ELEMENT STATUS WITH RANGE CDB format
Bit
Byte
7
6
5
4
3
2
1
0
0
Op Code (E7h)
1
Logical Unit Number
Reserved
Range
2
Starting Element Address
3
4
Reserved
5
Reserved
6
Number of Elements
7
8
Reserved
9
NBL
Control