home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 571.lha / SCSI_II_Documentation / SCSI2.LZH / SCSIDOC.015 < prev    next >
Text File  |  1991-08-11  |  84KB  |  2,014 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7. Optical Memory Devices                                                  3/9/90
  8.  
  9. 15. Optical Memory Devices
  10.  
  11. 15.1. Model for Optical Memory Devices
  12.  
  13. An optical memory device is a is one that can potentially support a variety of
  14. optical media, (e.g., read-only, write-once, erasable, or reversible).  In
  15. several respects an optical memory device is similar to a direct-access
  16. device.  However optical memory devices typically offer features that are not
  17. available with other devices, including very large capacity removable media.
  18. These devices often require the functions which are not found in direct-
  19. access devices such as logical block update, pre-erasure before writing, or
  20. scanning for blank medium and twelve-byte command descriptor blocks.
  21.  
  22. This standard has specific device types for write-once and CD-ROM devices
  23. which also use optical media, but are not capable of supporting a several
  24. types of optical media.  It is possible to implement devices using write-once
  25. media as optical memory devices.  It is possible to implement devices using
  26. read-only media as optical memory devices, however devices using CD-ROM media
  27. have certain unique characteristics and should not be implemented as optical
  28. memory devices.
  29.  
  30. A model of optical memory devices is complicated by the nature of one of its
  31. potential advantages, that it can support media which has different
  32. characteristics.  There are three types of optical media in general use, read-
  33. only, write-once and reversible.  Read-only media is typically used as for
  34. publishing applications requiring dissemination of large amounts of data,
  35. since the data can be replicated on a disk at low cost.  Write-once media is
  36. used in applications that have large backup or archiving requirements.  It is
  37. also used in applications that have a need for large amounts of on-line
  38. reference information.  Reversible media is typically used in applications
  39. that need large amounts of temporary storage (e.g., graphics workstations) and
  40. can take advantage of removable media.  In some applications reversible media
  41. drives are used in place of direct-access devices.
  42.  
  43. Reversible media usually needs to be reversed (erased, blanked) before new
  44. data can be written.  In such cases an erase operation is required before data
  45. can be written.  Some optical memory devices perform this erase operation
  46. implicit with each write operation which typically will impact the data
  47. throughput. Some devices can perform the erase as a separately.  The ERASE
  48. command may be used to erase areas of the medium  with a corresponding
  49. increase in data throughput on subsequent write operations.  Products using
  50. optical media should not be implemented as direct-access devices due to the
  51. overhead penalty on performance from the emulation and lack of support in
  52. direct-access devices to take advantage of the sophisticated features
  53. available in with optical memory devices.
  54.  
  55. The type of medium supported by the device and the type of medium currently
  56.  
  57.  
  58.  
  59.  
  60. SCSI-2 draft proposed American National Standard        15-1     Revision 10c1
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68. Optical Memory Devices                                                  3/9/90
  69.  
  70. loaded can be determined by examining the MODE SENSE data.  One unique feature
  71. of optical memory devices is support of media with mixed types (e.g., media
  72. with read-only and write-once areas).  The INQUIRY command informs the
  73. initiator that the target is an optical memory device; the initiator should
  74. then determine the medium type from the MODE SENSE data.  The initiator needs
  75. to be cognizant of medium type since the devices characteristics can change
  76. when the media is changed.
  77.  
  78. Write-once media can have valid data written to a logical block once.  This is
  79. an important feature where audit trails and permanent archives are needed.
  80. Many optical memory devices supporting write-once media have the ability to
  81. update a logical block, preserving the previous generation of data.  These
  82. devices usually provide a means to recover the previous data through use of
  83. commands that allow read access to the different generations of data that are
  84. stored at the same logical block address.
  85.  
  86. An important requirement in dealing with optical media is determining the
  87. which logical blocks are contain written data and which are blank.  A blank
  88. logical block is one that is properly initialized so that data written to it
  89. can be recovered.  The logical blocks usually have a flag associated with each
  90. that indicates whether they have been written or not.
  91.  
  92. Many of the strategies used to manage write once and erasable media depend on
  93. being able to determine the boundary between written and blank areas of the
  94. medium.  The MEDIUM SCAN command is useful in finding blank areas for
  95. subsequent write operations.
  96.  
  97.  
  98. 15.1.1. Defect Management
  99.  
  100. Defect management can also be performed by use of logical block can be
  101. updating in a manner similar to that used by direct-access devices with the
  102. REASSIGN BLOCKS command.  The advantage of using the updating (which is not
  103. supported by direct-access devices) is access to the previous data.
  104.  
  105. The update operation assigns an alternate physical block to the logical block
  106. while simultaneously writing the data to the block.  Commands are provided to
  107. allow the recovery of previous generations of updated blocks.
  108.  
  109. Defect management on optical-memory devices is usually vendor specific.
  110. However there are standards for some types of optical-memory media that
  111. specify defect management techniques.  These standards, where they exist, may
  112. supersede the implementation requirements pertaining to error and defect
  113. reporting in this standard.
  114.  
  115. 15.1.2. Error Reporting
  116.  
  117.  
  118.  
  119.  
  120.  
  121. SCSI-2 draft proposed American National Standard        15-2     Revision 10c2
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129. Optical Memory Devices                                                  3/9/90
  130.  
  131.  
  132. If any of the following conditions occur during the execution of a command the
  133. target shall return CHECK CONDITION status.  The appropriate sense key and
  134. additional sense code should be set.  The following table illustrates some
  135. error conditions and the applicable sense keys.  The table does not provide an
  136. exhaustive enumeration of all conditions that may cause the CHECK CONDITION
  137. status.
  138.  
  139. Condition                                         Sense Key
  140. ----------------------------------------------    ----------------------------
  141. Invalid logical block address                     ILLEGAL REQUEST
  142.  
  143. Unsupported option requested                      ILLEGAL REQUEST
  144.  
  145. Target reset or medium change since
  146. last command from this initiator                  UNIT ATTENTION
  147.  
  148. Self diagnostic failed                            HARDWARE ERROR
  149.  
  150. Unrecovered read error                            MEDIUM ERROR
  151.                                                   HARDWARE ERROR
  152.  
  153. Recovered read error                              RECOVERED ERROR
  154.  
  155. Overrun or other error that might
  156. be resolved by repeating the command              ABORTED COMMAND
  157.  
  158. Attempt to write on write protected medium        DATA PROTECT
  159.  
  160. Attempt to read a blank or previously
  161. unwritten block.                                  BLANK CHECK
  162.  
  163. Attempt to write a previously written
  164. block and blank checking is enabled.              BLANK CHECK
  165.  
  166. Attempt to write on read-only medium.             DATA PROTECT
  167.  
  168.  
  169. In the case of an invalid logical block address, the sense data information
  170. field shall be set to the logical block address of the first invalid address.
  171.  
  172. In the case of an attempt to read a blank or previously unwritten block, the
  173. sense data information field shall be set to the logical block address of the
  174. first blank block encountered.  The data read up to that block shall be
  175. transferred.
  176.  
  177. In the case of an attempt to write a previously written block and blank
  178. checking is enabled, the sense information field shall be set to the logical
  179. block address of the first non-blank block encountered.
  180.  
  181.  
  182. SCSI-2 draft proposed American National Standard        15-3     Revision 10c3
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190. Optical Memory Devices                                                  3/9/90
  191.  
  192. 15.2. Commands for Optical Memory Devices
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.  
  203.  
  204.  
  205.  
  206.  
  207.  
  208.  
  209.  
  210.  
  211.  
  212.  
  213.  
  214.  
  215.  
  216.  
  217.  
  218.  
  219.  
  220.  
  221.  
  222.  
  223.  
  224.  
  225.  
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232.  
  233.  
  234.  
  235.  
  236.  
  237.  
  238.  
  239.  
  240.  
  241.  
  242.  
  243. SCSI-2 draft proposed American National Standard        15-4     Revision 10c4
  244.  
  245.  
  246.  
  247.  
  248.  
  249.  
  250.  
  251. Optical Memory Devices                                                  3/9/90
  252.  
  253.  
  254. The commands for optical memory devices shall be as shown in Table 15-1 and
  255. 15-2.
  256.  
  257.               Table 15-1: Commands for Optical Memory Devices(1)
  258.  
  259. ==============================================================================
  260.                                 Operation
  261. Command Name                       Code   Type    Section     Page
  262. ------------------------------------------------------------------------------
  263. CHANGE DEFINITION                  40h      O      7.2.1
  264. COMPARE                            39h      O      7.2.2
  265. COPY                               18h      O      7.2.3
  266. COPY AND VERIFY                    3Ah      O      7.2.4
  267. ERASE(10)                          2Ch      O     15.2.1
  268. ERASE(12)                          ACh      O     15.2.2
  269. FORMAT UNIT                        04h      O      8.2.1
  270. INQUIRY                            12h      M      7.2.5
  271. LOCK UNLOCK CACHE                  36h      O      8.2.2
  272. LOG SELECT                         4Ch      O      7.2.6
  273. LOG SENSE                          4Dh      O      7.2.7
  274. MEDIUM SCAN                        38h      O     15.2.3
  275. MODE SELECT(6)                     15h      O      7.2.8
  276. MODE SELECT(10)                    55h      O      7.2.9
  277. MODE SENSE(6)                      1Ah      O      7.2.10
  278. MODE SENSE(10)                     5Ah      O      7.2.11
  279. PRE-FETCH                          34h      O      8.2.3
  280. PREVENT ALLOW MEDIUM REMOVAL       1Eh      O      8.2.4
  281. READ(6)                            08h      O      8.2.5
  282. READ(10)                           28h      M      8.2.6
  283. READ(12)                           A8h      O     15.2.4
  284. READ BUFFER                        3Ch      O      7.2.12
  285. READ CAPACITY                      25h      M      8.2.7
  286. READ DEFECT DATA(10)               37h      O      8.2.8
  287. READ DEFECT DATA(12)               B7h      O     15.2.5
  288. READ GENERATION                    29h      O     15.2.6
  289. READ LONG                          3Eh      O      8.2.9
  290. READ UPDATED BLOCK                 2Dh      O     15.2.7
  291. REASSIGN BLOCKS                    07h      O      8.2.10
  292. RECEIVE DIAGNOSTIC RESULTS         1Ch      O      7.2.13
  293. RELEASE                            17h      M      8.2.11
  294. REQUEST SENSE                      03h      M      7.2.14
  295. RESERVE                            16h      M      8.2.12
  296. REZERO UNIT                        01h      O      8.2.13
  297. =============================================================================
  298.  
  299.               Table 15-2: Commands for Optical Memory Devices(2)
  300.  
  301.  
  302.  
  303.  
  304. SCSI-2 draft proposed American National Standard        15-5     Revision 10c5
  305.  
  306.  
  307.  
  308.  
  309.  
  310.  
  311.  
  312. Optical Memory Devices                                                  3/9/90
  313.  
  314.  
  315. ==============================================================================
  316.                                 Operation
  317. Command Name                       Code   Type    Section     Page
  318. ------------------------------------------------------------------------------
  319. SEARCH DATA EQUAL(10)              31h      O      8.2.14.1
  320. SEARCH DATA EQUAL(12)              B1h      O     15.2.8
  321. SEARCH DATA HIGH(10)               30h      O      8.2.14.2
  322. SEARCH DATA HIGH(12)               B0h      O     15.2.8
  323. SEARCH DATA LOW(10)                32h      O      8.2.14.3
  324. SEARCH DATA LOW(12)                B2h      O     15.2.8
  325. SEEK(6)                            0Bh      O      8.2.15
  326. SEEK(10)                           2Bh      O      8.2.15
  327. SEND DIAGNOSTIC                    1Dh      M      7.2.15
  328. SET LIMITS(10)                     33h      O      8.2.16
  329. SET LIMITS(12)                     B3h      O     15.2.9
  330. START STOP UNIT                    1Bh      O      8.2.17
  331. SYNCHRONIZE CACHE                  35h      O      8.2.18
  332. TEST UNIT READY                    00h      M      7.2.16
  333. UPDATE BLOCK                       3Dh      O     15.2.10
  334. VERIFY(10)                         2Fh      O     15.2.11
  335. VERIFY(12)                         AFh      O     15.2.12
  336. WRITE(6)                           0Ah      O      8.2.20
  337. WRITE(10)                          2Ah      M     15.2.13
  338. WRITE(12)                          AAh      O     15.2.14
  339. WRITE AND VERIFY(10)               2Eh      O     15.2.15
  340. WRITE AND VERIFY(12)               AEh      O     15.2.16
  341. WRITE BUFFER                       3Bh      O      7.2.17
  342. WRITE LONG                         3Fh      O      8.2.23
  343. =============================================================================
  344.  
  345. Key: M  =  Command implementation is mandatory.
  346.      O  =  Command implementation is optional.
  347.  
  348. The following codes are vendor specific: 20h, 21h, 22h, 23h, and C0h through
  349. FFh.  All remaining codes for optical memory devices are reserved for future
  350. standardization.
  351.  
  352.  
  353. 15.2.1. ERASE(10) Command
  354.  
  355.  
  356.  
  357.  
  358.  
  359.  
  360.  
  361.  
  362.  
  363.  
  364.  
  365. SCSI-2 draft proposed American National Standard        15-6     Revision 10c6
  366.  
  367.  
  368.  
  369.  
  370.  
  371.  
  372.  
  373. Optical Memory Devices                                                  3/9/90
  374.  
  375.  
  376.                           Table 15-3: ERASE(10) Command
  377.  
  378. ==============================================================================
  379.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    |
  380. Byte |        |        |        |        |        |        |        |        |
  381. ==============================================================================
  382.  0   |                           Operation Code (2Ch)                        |
  383. -----|-----------------------------------------------------------------------|
  384.  1   |   Logical Unit Number    |     Reserved    |  ERA   |Reserved| RelAdr |
  385. -----|-----------------------------------------------------------------------|
  386.  2   | (MSB)                                                                 |
  387. -----|---                                                                 ---|
  388.  3   |                                                                       |
  389. -----|---                        Logical Block Address                    ---|
  390.  4   |                                                                       |
  391. -----|---                                                                 ---|
  392.  5   |                                                                 (LSB) |
  393. -----|-----------------------------------------------------------------------|
  394.  6   |                           Reserved                                    |
  395. -----|-----------------------------------------------------------------------|
  396.  7   | (MSB)                                                                 |
  397. -----|---                        Transfer Length                          ---|
  398.  8   |                                                                 (LSB) |
  399. -----|-----------------------------------------------------------------------|
  400.  9   |                           Control                                     |
  401. ==============================================================================
  402.  
  403.  
  404. The ERASE(10) command (Table 15-3) requests that the target erase the
  405. specified number of blocks starting at the specified logical block address on
  406. the medium.  As used here, "erased" means either the medium shall be erased,
  407. or a pattern shall be written on the medium that appears to the target as no
  408. data present.  The blocks erased shall be considered blank for purposes of
  409. blank checking (see 15.1).  The previous data recorded on the medium, if any,
  410. shall not be recoverable.
  411.  
  412. The erase all (ERA) bit set to one indicates that all remaining blocks on the
  413. medium shall be erased.  If the ERA bit is set to one and if the number of
  414. blocks is not zero, the target shall return CHECK CONDITION, and the sense key
  415. shall be set to ILLEGAL REQUEST, with an additional sense code of INVALID
  416. FIELD IN CDB.
  417.  
  418. See 8.2.2 for a description of the RelAdr bit and logical block address field.
  419.  
  420. The transfer length specifies the number of contiguous logical blocks that
  421.  
  422.  
  423.  
  424.  
  425.  
  426. SCSI-2 draft proposed American National Standard        15-7     Revision 10c7
  427.  
  428.  
  429.  
  430.  
  431.  
  432.  
  433.  
  434. Optical Memory Devices                                                  3/9/90
  435.  
  436. shall be erased when the ERA bit is zero.  If the ERA bit is zero a transfer
  437. length of zero indicates that no blocks shall be erased.  This condition shall
  438. not be considered as an error and no data shall be erased.  Any other value
  439. indicates the number of logical blocks that shall be erased.
  440.  
  441. This command shall be terminated with a status of RESERVATION CONFLICT if any
  442. reservation access conflict (see 8.2.12) exists and no data shall be erased.
  443.  
  444. IMPLEMENTORS NOTE:  This command allows the user to separate the erase and
  445. write operations.  This may increase system performance in certain
  446. applications.
  447.  
  448. 15.2.2. ERASE(12) Command
  449.  
  450.                         Table 15-4: ERASE(12) Command
  451.  
  452. ==============================================================================
  453.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    |
  454. Byte |        |        |        |        |        |        |        |        |
  455. ==============================================================================
  456.  0   |                           Operation Code (ACh)                        |
  457. -----|-----------------------------------------------------------------------|
  458.  1   |   Logical Unit Number    |     Reserved    |  ERA   |Reserved| RelAdr |
  459. -----|-----------------------------------------------------------------------|
  460.  2   | (MSB)                                                                 |
  461. -----|---                                                                 ---|
  462.  3   |                                                                       |
  463. -----|---                        Logical Block Address                    ---|
  464.  4   |                                                                       |
  465. -----|---                                                                 ---|
  466.  5   |                                                                 (LSB) |
  467. -----|-----------------------------------------------------------------------|
  468.  6   | (MSB)                                                                 |
  469. -----|---                                                                 ---|
  470.  7   |                                                                       |
  471. -----|---                        Transfer Length                          ---|
  472.  8   |                                                                       |
  473. -----|---                                                                 ---|
  474.  9   |                                                                 (LSB) |
  475. -----|-----------------------------------------------------------------------|
  476.  10  |                           Reserved                                    |
  477. -----|-----------------------------------------------------------------------|
  478.  11  |                           Control                                     |
  479. ==============================================================================
  480.  
  481.  
  482. The ERASE(12) command (Table 15-4) requests that the target erase the
  483. specified number of blocks starting at the specified logical block address on
  484. the medium.
  485.  
  486.  
  487. SCSI-2 draft proposed American National Standard        15-8     Revision 10c8
  488.  
  489.  
  490.  
  491.  
  492.  
  493.  
  494.  
  495. Optical Memory Devices                                                  3/9/90
  496.  
  497. See the ERASE(10) command (15.2.1) for a description of the fields in this
  498. command.
  499.  
  500. 15.2.3. MEDIUM SCAN Command
  501.  
  502.                        Table 15-5: MEDIUM SCAN Command
  503.  
  504. ==============================================================================
  505.   Bit |   7    |   6    |   5    |   4    |   3    |   2    |   1   |   0    |
  506. Byte  |        |        |        |        |        |        |       |        |
  507. ==============================================================================
  508.  0    |                           Operation Code (38h)                       |
  509. ------|----------------------------------------------------------------------|
  510.  1    | Logical Unit Number      |   WBS  |   ASA  |   RSD  |   PRA | RelAdr |
  511. ------|----------------------------------------------------------------------|
  512.  2    | (MSB)                                                                |
  513. ------|---                                                                ---|
  514.  3    |                                                                      |
  515. ------|---                        Logical Block Address                   ---|
  516.  4    |                                                                      |
  517. ------|---                                                                ---|
  518.  5    |                                                                (LSB) |
  519. ------|----------------------------------------------------------------------|
  520.  6    |                           Reserved                                   |
  521. ------|----------------------------------------------------------------------|
  522.  7    |                           Reserved                                   |
  523. ------|----------------------------------------------------------------------|
  524.  8    |                           Parameter List Length                      |
  525. ------|----------------------------------------------------------------------|
  526.  9    |                           Control                                    |
  527. ==============================================================================
  528.  
  529.  
  530. The MEDIUM SCAN command (Table 15-5) requests the target to scan the medium
  531. for a contiguous set of written or blank logical blocks.
  532.  
  533. A written block search (WBS) bit of zero indicates that the scan is for blank
  534. blocks.  A WBS bit of one indicates that the scan is for written blocks.
  535.  
  536. An advanced scan algorithm (ASA) bit of zero indicates that the scan area is
  537. scanned in sequential order (as selected by the RSD bit).  An ASA bit of one
  538. indicates to the target that the written and blank areas within the scan area
  539. form contiguous extents (as opposed to scattered blocks).  This indication is
  540. advisory to the target.
  541.  
  542. IMPLEMENTORS NOTE:  The purpose of this bit is to allow the target to use a
  543. more advanced algorithm (such as a binary search) to locate the requested
  544. blocks.
  545.  
  546. A reverse scan direction (RSD) bit of zero indicates the scan shall begin with
  547.  
  548. SCSI-2 draft proposed American National Standard        15-9     Revision 10c9
  549.  
  550.  
  551.  
  552.  
  553.  
  554.  
  555.  
  556. Optical Memory Devices                                                  3/9/90
  557.  
  558. the first logical block of the scan area. A RSD bit of one indicates the scan
  559. shall begin with the last logical block of the scan area.
  560.  
  561. A partial results acceptable (PRA) bit of zero indicates that the scan shall
  562. not be considered satisfied until a contiguous set of blocks is found within
  563. the scan area which is greater than or equal in size to the number of blocks
  564. requested, and meets the other criteria specified in the command descriptor
  565. block.  A PRA bit of one indicates that the scan may be satisfied by a
  566. contiguous set of blocks within the scan area which is less than the number of
  567. blocks requested, and meets the other criteria specified in the command
  568. descriptor block.  In this case, the target shall determine the largest
  569. contiguous set of blocks in the scan area for reporting to the initiator.
  570.  
  571. See 8.2.2 for a description of the RelAdr bit and logical block address field.
  572.  
  573. The parameter list length specifies the length in bytes of the parameter list
  574. that shall be transferred during the DATA OUT phase.  A parameter list length
  575. of zero indicates that the number of blocks requested field has a value of
  576. one, and the number of blocks to scan field has a value of zero.  This
  577. condition shall not be considered an error.  The contents of the parameter
  578. list are specified in Table 15-6.
  579.  
  580. A link bit of zero indicates a non-linked command and if the scan is
  581. satisfied, the command shall be terminated with a CONDITION MET status.  A
  582. REQUEST SENSE command can then be issued to determine the starting logical
  583. block address of the area that meets the request.  If the scan is not
  584. satisfied and no error occurs, the command shall be terminated with GOOD
  585. status.
  586.  
  587. A link bit of one indicates a command is linked to the MEDIUM SCAN command and
  588. if the search is satisfied, CONDITION MET status is returned and the next
  589. command is executed.  If the RelAdr bit in the next command is one, the
  590. logical block address of the next command is used as a displacement from the
  591. logical block address at which the search was satisfied.    If a linked scan
  592. is not satisfied, the command is terminated with a CHECK CONDITION status.  A
  593. REQUEST SENSE command may then be issued.
  594.  
  595. A REQUEST SENSE command following a satisfied MEDIUM SCAN command shall:
  596.  
  597.  
  598.  
  599.  
  600.  
  601.  
  602.  
  603.  
  604.  
  605.  
  606.  
  607.  
  608.  
  609. SCSI-2 draft proposed American National Standard        15-10     Revision 10c10
  610.  
  611.  
  612.  
  613.  
  614.  
  615.  
  616.  
  617. Optical Memory Devices                                                  3/9/90
  618.  
  619. (1) Return a sense key of EQUAL if the scan was satisfied by a contiguous set
  620. of blocks equal in size to the number of blocks requested. If the scan was
  621. satisfied by a contiguous set of blocks not equal in size to the number of
  622. blocks requested, then a sense key of NO SENSE shall be returned.
  623. (2) Return the valid bit set to one.
  624. (3) Return the logical block address of the first logical block of the
  625. contiguous set of blocks that satisfied the scan criteria in the information
  626. bytes.
  627. (4) Return the number of contiguous logical blocks meeting the scan criteria
  628. in the command specific information bytes.
  629.  
  630. A REQUEST SENSE command following an unsatisfied MEDIUM SCAN command shall:
  631. (1) Return a sense key of NO SENSE if no errors occurred during the command
  632. execution.
  633. (2) Return the valid bit set to zero.
  634.  
  635.  
  636.                     Table 15-6: MEDIUM SCAN Parameter List
  637.  
  638. ==============================================================================
  639.   Bit |   7    |   6    |   5    |   4    |   3    |   2    |   1   |   0    |
  640. Byte  |        |        |        |        |        |        |       |        |
  641. ==============================================================================
  642.  0    | (MSB)                                                                |
  643. ------|---                                                                ---|
  644.  1    |                                                                      |
  645. ------|---                        Number of Blocks Requested              ---|
  646.  2    |                                                                      |
  647. ------|---                                                                ---|
  648.  3    |                                                                (LSB) |
  649. ------|----------------------------------------------------------------------|
  650.  4    | (MSB)                                                                |
  651. ------|---                                                                ---|
  652.  5    |                                                                      |
  653. ------|---                        Number of Blocks to Scan                ---|
  654.  6    |                                                                      |
  655. ------|---                                                                ---|
  656.  7    |                                                                (LSB) |
  657. ==============================================================================
  658.  
  659.  
  660. The number of blocks requested field specifies the number of blocks that meet
  661. the specified requirements.  The number of blocks requested field, if set to
  662. zero, indicates that the scan shall not take place.  This shall not be
  663. considered an error condition.
  664.  
  665. The number of blocks to scan field specifies the length in blocks of the area
  666. to be scanned on the medium.  The number of blocks to scan field, if set to
  667. zero, indicates that the scan shall continue for all remaining blocks on the
  668. medium or until the scan is satisfied.  See 15.1.3 for a description of error
  669.  
  670. SCSI-2 draft proposed American National Standard        15-11     Revision 10c11
  671.  
  672.  
  673.  
  674.  
  675.  
  676.  
  677.  
  678. Optical Memory Devices                                                  3/9/90
  679.  
  680. handling.
  681.  
  682. 15.2.4. READ(12) Command
  683.  
  684.                          Table 15-7: READ(12) Command
  685.  
  686. ==============================================================================
  687.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    |
  688. Byte |        |        |        |        |        |        |        |        |
  689. ==============================================================================
  690.  0   |                           Operation Code (A8h)                        |
  691. -----|-----------------------------------------------------------------------|
  692.  1   |   Logical Unit Number    |   DPO  |   FUA  |     Reserved    | RelAdr |
  693. -----|-----------------------------------------------------------------------|
  694.  2   | (MSB)                                                                 |
  695. -----|---                                                                 ---|
  696.  3   |                                                                       |
  697. -----|---                        Logical Block Address                    ---|
  698.  4   |                                                                       |
  699. -----|---                                                                 ---|
  700.  5   |                                                                 (LSB) |
  701. -----|-----------------------------------------------------------------------|
  702.  6   | (MSB)                                                                 |
  703. -----|---                                                                 ---|
  704.  7   |                                                                       |
  705. -----|---                        Transfer Length                          ---|
  706.  8   |                                                                       |
  707. -----|---                                                                 ---|
  708.  9   |                                                                 (LSB) |
  709. -----|-----------------------------------------------------------------------|
  710.  10  |                           Reserved                                    |
  711. -----|-----------------------------------------------------------------------|
  712.  11  |                           Control                                     |
  713. ==============================================================================
  714.  
  715.  
  716. The READ(12) command (Table 15-7) requests that the target transfer data to
  717. the initiator from the medium.  See the READ(10) command (8.2.6) for a
  718. complete description of the fields in this command.
  719.  
  720. 15.2.5. READ DEFECT DATA(12) Command
  721.  
  722.  
  723.  
  724.  
  725.  
  726.  
  727.  
  728.  
  729.  
  730.  
  731. SCSI-2 draft proposed American National Standard        15-12     Revision 10c12
  732.  
  733.  
  734.  
  735.  
  736.  
  737.  
  738.  
  739. Optical Memory Devices                                                  3/9/90
  740.  
  741.  
  742.                    Table 15-8: READ DEFECT DATA(12) Command
  743.  
  744. ==============================================================================
  745.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    |
  746. Byte |        |        |        |        |        |        |        |        |
  747. ==============================================================================
  748.  0   |                           Operation Code (B7h)                        |
  749. -----|-----------------------------------------------------------------------|
  750.  1   |   Logical Unit Number    | Plist  | GList  | Defect List Format       |
  751. -----|-----------------------------------------------------------------------|
  752.  2   |                           Reserved                                    |
  753. -----|-----------------------------------------------------------------------|
  754.  3   |                           Reserved                                    |
  755. -----|-----------------------------------------------------------------------|
  756.  4   |                           Reserved                                    |
  757. -----|-----------------------------------------------------------------------|
  758.  5   |                           Reserved                                    |
  759. -----|-----------------------------------------------------------------------|
  760.  6   | (MSB)                                                                 |
  761. -----|---                                                                 ---|
  762.  7   |                                                                       |
  763. -----|---                        Allocation Length                        ---|
  764.  8   |                                                                       |
  765. -----|---                                                                 ---|
  766.  9   |                                                                 (LSB) |
  767. -----|-----------------------------------------------------------------------|
  768.  10  |                           Reserved                                    |
  769. -----|-----------------------------------------------------------------------|
  770.  11  |                           Control                                     |
  771. ==============================================================================
  772.  
  773.  
  774. The READ DEFECT DATA(12) command (Table 15-8) requests that the target
  775. transfer the medium defect data to the initiator. See the READ DEFECT DATA(10)
  776. command (8.2.8) for a description of the fields in this command.
  777.  
  778. The READ DEFECT DATA(12) list header (Table 15-9) contains an eight byte
  779. header, followed by zero or more defect descriptors.
  780.  
  781.                  Table 15-9: READ DEFECT DATA(12) LIST HEADER
  782.  
  783.  
  784.  
  785.  
  786.  
  787.  
  788.  
  789.  
  790.  
  791.  
  792. SCSI-2 draft proposed American National Standard        15-13     Revision 10c13
  793.  
  794.  
  795.  
  796.  
  797.  
  798.  
  799.  
  800. Optical Memory Devices                                                  3/9/90
  801.  
  802.  
  803. ==============================================================================
  804.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    |
  805. Byte |        |        |        |        |        |        |        |        |
  806. ==============================================================================
  807.  0   |                           Reserved                                    |
  808. -----|-----------------------------------------------------------------------|
  809.  1   |          Reserved        | PList  | GList  | Defect List Format       |
  810. -----|-----------------------------------------------------------------------|
  811.  2   |                           Reserved                                    |
  812. -----|-----------------------------------------------------------------------|
  813.  3   |                           Reserved                                    |
  814. -----|-----------------------------------------------------------------------|
  815.  4   | (MSB)                                                                 |
  816. -----|---                                                                 ---|
  817.  5   |                                                                       |
  818. -----|---                        Defect List Length                          |
  819.  6   |                                                                       |
  820. -----|---                                                                 ---|
  821.  7   |                                                                 (LSB) |
  822. ==============================================================================
  823.                               Defect Descriptors
  824. ==============================================================================
  825.  0-n |                                                                       |
  826. ==============================================================================
  827.  
  828.  
  829. See the description of the READ DEFECT DATA defect list (Table 8-19) for a
  830. description of the fields in this header.
  831.  
  832. 15.2.6. READ GENERATION Command
  833.  
  834.  
  835.  
  836.  
  837.  
  838.  
  839.  
  840.  
  841.  
  842.  
  843.  
  844.  
  845.  
  846.  
  847.  
  848.  
  849.  
  850.  
  851.  
  852.  
  853. SCSI-2 draft proposed American National Standard        15-14     Revision 10c14
  854.  
  855.  
  856.  
  857.  
  858.  
  859.  
  860.  
  861. Optical Memory Devices                                                  3/9/90
  862.  
  863.  
  864.                      Table 15-10: READ GENERATION Command
  865.  
  866. ==============================================================================
  867.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    |
  868. Byte |        |        |        |        |        |        |        |        |
  869. ==============================================================================
  870.  0   |                           Operation Code (29h)                        |
  871. -----|-----------------------------------------------------------------------|
  872.  1   |   Logical Unit Number    |             Reserved              | RelAdr |
  873. -----|-----------------------------------------------------------------------|
  874.  2   | (MSB)                                                                 |
  875. -----|---                                                                 ---|
  876.  3   |                                                                       |
  877. -----|---                        Logical Block Address                    ---|
  878.  4   |                                                                       |
  879. -----|---                                                                 ---|
  880.  5   |                                                                 (LSB) |
  881. -----|-----------------------------------------------------------------------|
  882.  6   |                           Reserved                                    |
  883. -----|-----------------------------------------------------------------------|
  884.  7   |                           Reserved                                    |
  885. -----|-----------------------------------------------------------------------|
  886.  8   |                           Allocation Length                           |
  887. -----|-----------------------------------------------------------------------|
  888.  9   |                           Control                                     |
  889. ==============================================================================
  890.  
  891.  
  892. The READ GENERATION command (Table 15-10) requests that the target transfer to
  893. the initiator the maximum generation address for the logical block specified.
  894.  
  895. See 8.2.2 for a description of the RelAdr bit and logical block address field.
  896.  
  897. The READ GENERATION data is defined in Table 15-11.
  898.  
  899.                   Table 15-11: Maximum Generation Data Block
  900.  
  901.  
  902.  
  903.  
  904.  
  905.  
  906.  
  907.  
  908.  
  909.  
  910.  
  911.  
  912.  
  913.  
  914. SCSI-2 draft proposed American National Standard        15-15     Revision 10c15
  915.  
  916.  
  917.  
  918.  
  919.  
  920.  
  921.  
  922. Optical Memory Devices                                                  3/9/90
  923.  
  924.  
  925. ==============================================================================
  926.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    |
  927. Byte |        |        |        |        |        |        |        |        |
  928. ==============================================================================
  929.  0   | (MSB)                                                                 |
  930. -----|---                       Maximum Generation Address                ---|
  931.  1   |                                                                 (LSB) |
  932. -----|-----------------------------------------------------------------------|
  933.  2   |                          Reserved                                     |
  934. -----|-----------------------------------------------------------------------|
  935.  3   |                          Reserved                                     |
  936. ==============================================================================
  937.  
  938.  
  939. The maximum generation address field defines the maximum generation address
  940. available for the logical block address specified.
  941.  
  942. 15.2.7. READ UPDATED BLOCK(10) Command
  943.  
  944.  
  945.  
  946.  
  947.  
  948.  
  949.  
  950.  
  951.  
  952.  
  953.  
  954.  
  955.  
  956.  
  957.  
  958.  
  959.  
  960.  
  961.  
  962.  
  963.  
  964.  
  965.  
  966.  
  967.  
  968.  
  969.  
  970.  
  971.  
  972.  
  973.  
  974.  
  975. SCSI-2 draft proposed American National Standard        15-16     Revision 10c16
  976.  
  977.  
  978.  
  979.  
  980.  
  981.  
  982.  
  983. Optical Memory Devices                                                  3/9/90
  984.  
  985.  
  986.                   Table 15-12: READ UPDATED BLOCK(10) Command
  987.  
  988. ==============================================================================
  989.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    |
  990. Byte |        |        |        |        |        |        |        |        |
  991. ==============================================================================
  992.  0   |                           Operation Code (2Dh)                        |
  993. -----|-----------------------------------------------------------------------|
  994.  1   |   Logical Unit Number    |   DPO  |   FUA  |     Reserved    | RelAdr |
  995. -----|-----------------------------------------------------------------------|
  996.  2   | (MSB)                                                                 |
  997. -----|---                                                                 ---|
  998.  3   |                                                                       |
  999. -----|---                        Logical Block Address                    ---|
  1000.  4   |                                                                       |
  1001. -----|---                                                                 ---|
  1002.  5   |                                                                 (LSB) |
  1003. -----|-----------------------------------------------------------------------|
  1004.  6   | Latest | (MSB)                                                        |
  1005. -----|------------               Generation Address                          |
  1006.  7   |                                                                 (LSB) |
  1007. -----|-----------------------------------------------------------------------|
  1008.  8   |                           Reserved                                    |
  1009. -----|-----------------------------------------------------------------------|
  1010.  9   |                           Control                                     |
  1011. ==============================================================================
  1012.  
  1013.  
  1014. The READ UPDATED BLOCK(10) command (Table 15-12) requests that the target
  1015. transfer data to the initiator from the specified generation and logical
  1016. block.
  1017.  
  1018. See 8.2.6 for a description of the cache control bits (DPO and FUA).  See
  1019. 8.2.2 for a description of the RelAdr bit and logical block address field.
  1020.  
  1021. One block of data is transferred during the DATA IN phase.
  1022.  
  1023. The latest bit determines the meaning of the generation address field.  A
  1024. latest bit of zero indicates that the generation address is specified relative
  1025. to the first generation of the block; generation address zero specifies the
  1026. first generation.  Increasing generation addresses specify later generations.
  1027.  
  1028. A latest bit of one indicates that the generation address is specified
  1029. relative to the latest generation of the block; generation address zero
  1030. specifies the most recent generation.  Increasing generation addresses specify
  1031. earlier generations.
  1032.  
  1033. If the requested generation does not exist, the command shall be terminated
  1034.  
  1035.  
  1036. SCSI-2 draft proposed American National Standard        15-17     Revision 10c17
  1037.  
  1038.  
  1039.  
  1040.  
  1041.  
  1042.  
  1043.  
  1044. Optical Memory Devices                                                  3/9/90
  1045.  
  1046. with CHECK CONDITION status.  The sense key shall be set to BLANK CHECK, and
  1047. the additional sense code shall be set to GENERATION DOES NOT EXIST.
  1048.  
  1049. This command shall be terminated with a status of RESERVATION CONFLICT if any
  1050. reservation access conflict (see 8.2.12) exists and no data shall be
  1051. transferred.
  1052.  
  1053. 15.2.8. SEARCH DATA(12) Commands
  1054.  
  1055.                      Table 15-13: SEARCH DATA(12) Commands
  1056.  
  1057. ==============================================================================
  1058.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    |
  1059. Byte |        |        |        |        |        |        |        |        |
  1060. ==============================================================================
  1061.  0   |                           Operation Code (B0h, B1h, B2h)              |
  1062. -----|-----------------------------------------------------------------------|
  1063.  1   |   Logical Unit Number    | Invert |    Reserved     | SpnDat | RelAdr |
  1064. -----|-----------------------------------------------------------------------|
  1065.  2   | (MSB)                                                                 |
  1066. -----|---                                                                 ---|
  1067.  3   |                                                                       |
  1068. -----|---                        Logical Block Address                    ---|
  1069.  4   |                                                                       |
  1070. -----|---                                                                 ---|
  1071.  5   |                                                                 (LSB) |
  1072. -----|-----------------------------------------------------------------------|
  1073.  6   | (MSB)                                                                 |
  1074. -----|---                                                                 ---|
  1075.  7   |                                                                       |
  1076. -----|---                        Transfer Length                          ---|
  1077.  8   |                                                                       |
  1078. -----|---                                                                 ---|
  1079.  9   |                                                                 (LSB) |
  1080. -----|-----------------------------------------------------------------------|
  1081.  10  |                           Reserved                                    |
  1082. -----|-----------------------------------------------------------------------|
  1083.  11  |                           Control                                     |
  1084. ==============================================================================
  1085.  
  1086.  
  1087. The SEARCH DATA(12) commands (Table 15-13) search one or more logical blocks
  1088. for equality or inequality to a data pattern.  See the SEARCH DATA(10)
  1089. commands (8.2.14) for a description of the fields in this command.
  1090.  
  1091. 15.2.9. SET LIMITS(12) Command
  1092.  
  1093.  
  1094.  
  1095.  
  1096.  
  1097. SCSI-2 draft proposed American National Standard        15-18     Revision 10c18
  1098.  
  1099.  
  1100.  
  1101.  
  1102.  
  1103.  
  1104.  
  1105. Optical Memory Devices                                                  3/9/90
  1106.  
  1107.  
  1108.                       Table 15-14: SET LIMITS(12) Command
  1109.  
  1110. ==============================================================================
  1111.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    |
  1112. Byte |        |        |        |        |        |        |        |        |
  1113. ==============================================================================
  1114.  0   |                           Operation Code (B3h)                        |
  1115. -----|-----------------------------------------------------------------------|
  1116.  1   |   Logical Unit Number    |         Reserved         | RdInh  | WrInh  |
  1117. -----|-----------------------------------------------------------------------|
  1118.  2   | (MSB)                                                                 |
  1119. -----|---                                                                 ---|
  1120.  3   |                                                                       |
  1121. -----|---                        Logical Block Address                    ---|
  1122.  4   |                                                                       |
  1123. -----|---                                                                 ---|
  1124.  5   |                                                                 (LSB) |
  1125. -----|-----------------------------------------------------------------------|
  1126.  6   | (MSB)                                                                 |
  1127. -----|---                                                                 ---|
  1128.  7   |                                                                       |
  1129. -----|---                        Number of Blocks                         ---|
  1130.  8   |                                                                       |
  1131. -----|---                                                                 ---|
  1132.  9   |                                                                 (LSB) |
  1133. -----|-----------------------------------------------------------------------|
  1134.  10  |                           Reserved                                    |
  1135. -----|-----------------------------------------------------------------------|
  1136.  11  |                           Control                                     |
  1137. ==============================================================================
  1138.  
  1139.  
  1140. The SET LIMITS(12) command (Table 15-14) defines the range within which
  1141. subsequent linked commands may operate.  See the SET LIMITS(10) command
  1142. (8.2.16) for a description of the fields in this command.
  1143.  
  1144. 15.2.10. UPDATE BLOCK Command
  1145.  
  1146.  
  1147.  
  1148.  
  1149.  
  1150.  
  1151.  
  1152.  
  1153.  
  1154.  
  1155.  
  1156.  
  1157.  
  1158. SCSI-2 draft proposed American National Standard        15-19     Revision 10c19
  1159.  
  1160.  
  1161.  
  1162.  
  1163.  
  1164.  
  1165.  
  1166. Optical Memory Devices                                                  3/9/90
  1167.  
  1168.  
  1169.                        Table 15-15: UPDATE BLOCK Command
  1170.  
  1171. ==============================================================================
  1172.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    |
  1173. Byte |        |        |        |        |        |        |        |        |
  1174. ==============================================================================
  1175.  0   |                           Operation Code (3Dh)                        |
  1176. -----|-----------------------------------------------------------------------|
  1177.  1   |   Logical Unit Number    |            Reserved               | RelAdr |
  1178. -----|-----------------------------------------------------------------------|
  1179.  2   | (MSB)                                                                 |
  1180. -----|---                                                                 ---|
  1181.  3   |                                                                       |
  1182. -----|---                        Logical Block Address                    ---|
  1183.  4   |                                                                       |
  1184. -----|---                                                                 ---|
  1185.  5   |                                                                 (LSB) |
  1186. -----|-----------------------------------------------------------------------|
  1187.  6   |                           Reserved                                    |
  1188. -----|-----------------------------------------------------------------------|
  1189.  7   |                           Reserved                                    |
  1190. -----|-----------------------------------------------------------------------|
  1191.  8   |                           Reserved                                    |
  1192. -----|-----------------------------------------------------------------------|
  1193.  9   |                           Control                                     |
  1194. ==============================================================================
  1195.  
  1196.  
  1197. The UPDATE BLOCK command (Table 15-15) requests that the target logically
  1198. replace data on the medium with the data sent during the DATA OUT phase.
  1199.  
  1200. See 8.2.2 for a description of the RelAdr bit and logical block address field.
  1201.  
  1202. One block of data is transferred during the DATA OUT phase.
  1203.  
  1204. IMPLEMENTORS NOTE:  See the MODE Parameters (15.3) for a description of the
  1205. behavior of the UPDATE BLOCK command relative to the enable blank check (EBC)
  1206. bit.
  1207.  
  1208. This standard does not define the result of a WRITE command issued to a block
  1209. previously updated by an UPDATE BLOCK command when blank checking is disabled.
  1210.  
  1211.  
  1212. IMPLEMENTORS NOTE: It is recommended that the target inhibit this behavior.
  1213.  
  1214. A logical block may be updated until the alternate block area is exhausted.
  1215.  
  1216.  
  1217.  
  1218.  
  1219. SCSI-2 draft proposed American National Standard        15-20     Revision 10c20
  1220.  
  1221.  
  1222.  
  1223.  
  1224.  
  1225.  
  1226.  
  1227. Optical Memory Devices                                                  3/9/90
  1228.  
  1229. The alternate blocks used for the update operation shall not be reported in
  1230. the READ CAPACITY data. If the alternate block area is exhausted the command
  1231. shall be terminated with CHECK CONDITION and the sense key shall be set to
  1232. MEDIUM ERROR, and the additional sense code set to NO DEFECT SPARE LOCATION
  1233. AVAILABLE.
  1234.  
  1235. If the report updated block read parameter specifies posting of recovered
  1236. errors for a read operation of a logical block that has had a successful
  1237. update operation performed occurs the command shall terminate with a CHECK
  1238. CONDITION status.  The sense key shall be set to RECOVERED ERROR and the
  1239. additional sense code set to UPDATED BLOCK READ.
  1240.  
  1241. 15.2.11. VERIFY(10) Command
  1242.  
  1243.                           Table 15-16: VERIFY Command
  1244.  
  1245. ==============================================================================
  1246.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    |
  1247. Byte |        |        |        |        |        |        |        |        |
  1248. ==============================================================================
  1249.  0   |                           Operation Code (2Fh)                        |
  1250. -----|-----------------------------------------------------------------------|
  1251.  1   |   Logical Unit Number    |   DPO  |Reserved| BlkVfy | BytChk | RelAdr |
  1252. -----|-----------------------------------------------------------------------|
  1253.  2   | (MSB)                                                                 |
  1254. -----|---                                                                 ---|
  1255.  3   |                                                                       |
  1256. -----|---                        Logical Block Address                    ---|
  1257.  4   |                                                                       |
  1258. -----|---                                                                 ---|
  1259.  5   |                                                                 (LSB) |
  1260. -----|-----------------------------------------------------------------------|
  1261.  6   |                           Reserved                                    |
  1262. -----|-----------------------------------------------------------------------|
  1263.  7   | (MSB)                                                                 |
  1264. -----|---                        Verification Length                         |
  1265.  8   |                                                                 (LSB) |
  1266. -----|-----------------------------------------------------------------------|
  1267.  9   |                           Control                                     |
  1268. ==============================================================================
  1269.  
  1270.  
  1271. The VERIFY command (Table 15-16) requests that the target verify the data on
  1272. the medium.
  1273.  
  1274. If the MODE SELECT command is implemented, and the Verify Error Recovery
  1275. Parameters page is also implemented, then the current settings in that page
  1276. define the verification criteria. If the Verify Error Recovery Parameters page
  1277. is not implemented, then the verification criteria is vendor unique.
  1278.  
  1279.  
  1280. SCSI-2 draft proposed American National Standard        15-21     Revision 10c21
  1281.  
  1282.  
  1283.  
  1284.  
  1285.  
  1286.  
  1287.  
  1288. Optical Memory Devices                                                  3/9/90
  1289.  
  1290. A byte check (BytChk) bit of zero causes a medium verification to be performed
  1291. with no data comparison. A BytChk bit of one causes a byte-by-byte compare of
  1292. the data written on the medium and the data transferred from the initiator.
  1293. The data shall be transferred as it would be for a WRITE command.  If the
  1294. compare is unsuccessful, for any reason, the target shall return CHECK
  1295. CONDITION status and the sense key shall be set to MISCOMPARE.
  1296.  
  1297. A blank verify (BlkVfy) bit of one causes a verification that the blocks are
  1298. blank.
  1299.  
  1300. If the BytChk is one when the BlkVfy bit is one, this shall be considered an
  1301. error. The target shall return CHECK CONDITION status and the sense key shall
  1302. be set to ILLEGAL REQUEST, and the additional sense code set to INVALID FIELD
  1303. IN CDB.
  1304.  
  1305. See 8.2.6 for a description of the cache control bits (DPO).  See 8.2.2 for a
  1306. description of the RelAdr bit and logical block address field.
  1307.  
  1308. The verification length specifies the number of contiguous logical blocks of
  1309. data or blanks that shall be verified.  A verification length of zero
  1310. indicates that no logical blocks shall be verified.  This condition shall not
  1311. be considered as an error.  Any other value indicates the number of logical
  1312. blocks that shall be verified.
  1313.  
  1314. 15.2.12. VERIFY(12) Command
  1315.  
  1316.  
  1317.  
  1318.  
  1319.  
  1320.  
  1321.  
  1322.  
  1323.  
  1324.  
  1325.  
  1326.  
  1327.  
  1328.  
  1329.  
  1330.  
  1331.  
  1332.  
  1333.  
  1334.  
  1335.  
  1336.  
  1337.  
  1338.  
  1339.  
  1340.  
  1341. SCSI-2 draft proposed American National Standard        15-22     Revision 10c22
  1342.  
  1343.  
  1344.  
  1345.  
  1346.  
  1347.  
  1348.  
  1349. Optical Memory Devices                                                  3/9/90
  1350.  
  1351.  
  1352.                         Table 15-17: VERIFY(12) Command
  1353.  
  1354. ==============================================================================
  1355.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    |
  1356. Byte |        |        |        |        |        |        |        |        |
  1357. ==============================================================================
  1358.  0   |                           Operation Code (AFh)                        |
  1359. -----|-----------------------------------------------------------------------|
  1360.  1   |   Logical Unit Number    |   DPO  |Reserved| BlkVfy | BytChk | RelAdr |
  1361. -----|-----------------------------------------------------------------------|
  1362.  2   | (MSB)                                                                 |
  1363. -----|---                                                                 ---|
  1364.  3   |                                                                       |
  1365. -----|---                        Logical Block Address                    ---|
  1366.  4   |                                                                       |
  1367. -----|---                                                                 ---|
  1368.  5   |                                                                 (LSB) |
  1369. -----|-----------------------------------------------------------------------|
  1370.  6   | (MSB)                                                                 |
  1371. -----|---                                                                 ---|
  1372.  7   |                                                                       |
  1373. -----|---                        Verification Length                      ---|
  1374.  8   |                                                                       |
  1375. -----|---                                                                 ---|
  1376.  9   |                                                                 (LSB) |
  1377. -----|-----------------------------------------------------------------------|
  1378.  10  |                           Reserved                                    |
  1379. -----|-----------------------------------------------------------------------|
  1380.  11  |                           Control                                     |
  1381. ==============================================================================
  1382.  
  1383.  
  1384. The VERIFY(12) command (Table 15-17) requests that the target verify the data
  1385. on the medium.  See the VERIFY(10) command (15.2.11) for a description of the
  1386. fields in this command.
  1387.  
  1388. 15.2.13. WRITE(10) Command
  1389.  
  1390.  
  1391.  
  1392.  
  1393.  
  1394.  
  1395.  
  1396.  
  1397.  
  1398.  
  1399.  
  1400.  
  1401.  
  1402. SCSI-2 draft proposed American National Standard        15-23     Revision 10c23
  1403.  
  1404.  
  1405.  
  1406.  
  1407.  
  1408.  
  1409.  
  1410. Optical Memory Devices                                                  3/9/90
  1411.  
  1412.  
  1413.                         Table 15-18: WRITE(10) Command
  1414.  
  1415. ==============================================================================
  1416.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    |
  1417. Byte |        |        |        |        |        |        |        |        |
  1418. ==============================================================================
  1419.  0   |                           Operation Code (2Ah)                        |
  1420. -----|-----------------------------------------------------------------------|
  1421.  1   |   Logical Unit Number    |   DPO  |   FUA  |   EBP  |Reserved| RelAdr |
  1422. -----|-----------------------------------------------------------------------|
  1423.  2   | (MSB)                                                                 |
  1424. -----|---                                                                 ---|
  1425.  3   |                                                                       |
  1426. -----|---                        Logical Block Address                    ---|
  1427.  4   |                                                                       |
  1428. -----|---                                                                 ---|
  1429.  5   |                                                                 (LSB) |
  1430. -----|-----------------------------------------------------------------------|
  1431.  6   |                           Reserved                                    |
  1432. -----|-----------------------------------------------------------------------|
  1433.  7   | (MSB)                                                                 |
  1434. -----|---                        Transfer Length                             |
  1435.  8   |                                                                 (LSB) |
  1436. -----|-----------------------------------------------------------------------|
  1437.  9   |                           Control                                     |
  1438. ==============================================================================
  1439.  
  1440.  
  1441. The WRITE(10) command (Table 15-18) requests that the target write the data
  1442. transferred from the initiator to the medium.
  1443.  
  1444. An erase by-pass (EBP) bit of zero indicates that the device will default to
  1445. the normal write operation.  An EBP bit of one indicates that the target is
  1446. allowed to by-pass the erase operation prior to writing the data. When
  1447. accessing write-once media, the EBP bit shall be considered reserved.
  1448.  
  1449. See 8.2.6 for a description of the cache control bits (DPO and FUA).  See
  1450. 8.2.2 for a description of the RelAdr bit and logical block address field.
  1451.  
  1452. The transfer length specifies the number of contiguous logical blocks of data
  1453. that shall be transferred.  A transfer length of zero indicates that no data
  1454. shall be transferred.  This condition shall not be considered as an error and
  1455. no data shall be written.  Any other value indicates the number of logical
  1456. blocks that shall be transferred.
  1457.  
  1458. This command shall be terminated with a status of RESERVATION CONFLICT if any
  1459.  
  1460.  
  1461.  
  1462.  
  1463. SCSI-2 draft proposed American National Standard        15-24     Revision 10c24
  1464.  
  1465.  
  1466.  
  1467.  
  1468.  
  1469.  
  1470.  
  1471. Optical Memory Devices                                                  3/9/90
  1472.  
  1473. reservation access conflict (see 8.2.12) exists and no data shall be written.
  1474.  
  1475. 15.2.14. WRITE(12) Command
  1476.  
  1477.                         Table 15-19: WRITE(12) Command
  1478.  
  1479. ==============================================================================
  1480.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    |
  1481. Byte |        |        |        |        |        |        |        |        |
  1482. ==============================================================================
  1483.  0   |                           Operation Code (AAh)                        |
  1484. -----|-----------------------------------------------------------------------|
  1485.  1   |   Logical Unit Number    |   DPO  |   FUA  |   EBP  |Reserved| RelAdr |
  1486. -----|-----------------------------------------------------------------------|
  1487.  2   | (MSB)                                                                 |
  1488. -----|---                                                                 ---|
  1489.  3   |                                                                       |
  1490. -----|---                        Logical Block Address                    ---|
  1491.  4   |                                                                       |
  1492. -----|---                                                                 ---|
  1493.  5   |                                                                 (LSB) |
  1494. -----|-----------------------------------------------------------------------|
  1495.  6   | (MSB)                                                                 |
  1496. -----|---                                                                 ---|
  1497.  7   |                                                                       |
  1498. -----|---                        Transfer Length                          ---|
  1499.  8   |                                                                       |
  1500. -----|---                                                                 ---|
  1501.  9   |                                                                 (LSB) |
  1502. -----|-----------------------------------------------------------------------|
  1503.  10  |                           Reserved                                    |
  1504. -----|-----------------------------------------------------------------------|
  1505.  11  |                           Control                                     |
  1506. ==============================================================================
  1507.  
  1508.  
  1509. The WRITE(12) command (Table 15-19) requests that the target write the data
  1510. transferred from the initiator to the medium.  See the WRITE(10) command
  1511. (15.2.13) for a description of the fields in this command.
  1512.  
  1513. 15.2.15. WRITE AND VERIFY(10) Command
  1514.  
  1515.  
  1516.  
  1517.  
  1518.  
  1519.  
  1520.  
  1521.  
  1522.  
  1523.  
  1524. SCSI-2 draft proposed American National Standard        15-25     Revision 10c25
  1525.  
  1526.  
  1527.  
  1528.  
  1529.  
  1530.  
  1531.  
  1532. Optical Memory Devices                                                  3/9/90
  1533.  
  1534.  
  1535.                    Table 15-20: WRITE AND VERIFY(10) Command
  1536.  
  1537. ==============================================================================
  1538.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    |
  1539. Byte |        |        |        |        |        |        |        |        |
  1540. ==============================================================================
  1541.  0   |                           Operation Code (2Eh)                        |
  1542. -----|-----------------------------------------------------------------------|
  1543.  1   |   Logical Unit Number    |   DPO  |Reserved|   EBP  | BytChk | RelAdr |
  1544. -----|-----------------------------------------------------------------------|
  1545.  2   | (MSB)                                                                 |
  1546. -----|---                                                                 ---|
  1547.  3   |                                                                       |
  1548. -----|---                        Logical Block Address                    ---|
  1549.  4   |                                                                       |
  1550. -----|---                                                                 ---|
  1551.  5   |                                                                 (LSB) |
  1552. -----|-----------------------------------------------------------------------|
  1553.  6   |                           Reserved                                    |
  1554. -----|-----------------------------------------------------------------------|
  1555.  7   | (MSB)                                                                 |
  1556. -----|---                        Transfer Length                             |
  1557.  8   |                                                                 (LSB) |
  1558. -----|-----------------------------------------------------------------------|
  1559.  9   |                           Control                                     |
  1560. ==============================================================================
  1561.  
  1562.  
  1563. The WRITE AND VERIFY(10) command (Table 15-20) requests that the target write
  1564. the data transferred from the initiator to the medium and then verify that the
  1565. data is correctly written.
  1566.  
  1567. If the MODE SELECT command is implemented, and the Verify Error Recovery
  1568. Parameters page is also implemented, then the current settings in that page
  1569. define the verification criteria. If the Verify Error Recovery Parameters page
  1570. is not implemented, then the verification criteria is vendor unique.
  1571.  
  1572. A byte check (BytChk) bit of zero causes a medium verification to be performed
  1573. with no data comparison. A BytChk bit of one causes a byte-by-byte compare of
  1574. the data written on the medium and the data transferred from the initiator.
  1575. The data shall be transferred as it would be for a WRITE command.  If the
  1576. compare is unsuccessful, for any reason, the target shall return CHECK
  1577. CONDITION status and the sense key shall be set to MISCOMPARE.
  1578.  
  1579. An erase by-pass (EBP) bit of zero indicates that the device will default to
  1580. the normal write operation.  An EBP bit of one indicates that the target is
  1581. allowed to by-pass the erase operation prior to writing the data.  When
  1582. accessing write-once media, the EBP bit shall be considered reserved.
  1583.  
  1584.  
  1585. SCSI-2 draft proposed American National Standard        15-26     Revision 10c26
  1586.  
  1587.  
  1588.  
  1589.  
  1590.  
  1591.  
  1592.  
  1593. Optical Memory Devices                                                  3/9/90
  1594.  
  1595. See 8.2.6 for a description of the cache control bits (DPO).  See 8.2.2 for a
  1596. description of the RelAdr bit and logical block address field.
  1597.  
  1598. The transfer length specifies the number of contiguous logical blocks of data
  1599. that shall be transferred.  A transfer length of zero indicates that no
  1600. logical blocks shall be transferred.  This condition shall not be considered
  1601. as an error and no data shall be written.  Any other value indicates the
  1602. number of logical blocks that shall be transferred.
  1603.  
  1604.  
  1605. 15.2.16. WRITE AND VERIFY(12) Command
  1606.  
  1607.                    Table 15-21: WRITE AND VERIFY(12) Command
  1608.  
  1609. ==============================================================================
  1610.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    |
  1611. Byte |        |        |        |        |        |        |        |        |
  1612. ==============================================================================
  1613.  0   |                           Operation Code (AEh)                        |
  1614. -----|-----------------------------------------------------------------------|
  1615.  1   |   Logical Unit Number    |   DPO  |Reserved|   EBP  | BytChk | RelAdr |
  1616. -----|-----------------------------------------------------------------------|
  1617.  2   | (MSB)                                                                 |
  1618. -----|---                                                                 ---|
  1619.  3   |                                                                       |
  1620. -----|---                        Logical Block Address                    ---|
  1621.  4   |                                                                       |
  1622. -----|---                                                                 ---|
  1623.  5   |                                                                 (LSB) |
  1624. -----|-----------------------------------------------------------------------|
  1625.  6   | (MSB)                                                                 |
  1626. -----|---                                                                 ---|
  1627.  7   |                                                                       |
  1628. -----|---                        Transfer Length                          ---|
  1629.  8   |                                                                       |
  1630. -----|---                                                                 ---|
  1631.  9   |                                                                 (LSB) |
  1632. -----|-----------------------------------------------------------------------|
  1633.  10  |                           Reserved                                    |
  1634. -----|-----------------------------------------------------------------------|
  1635.  11  |                           Control                                     |
  1636. ==============================================================================
  1637.  
  1638. The WRITE AND VERIFY(12) command (Table 15-21) requests that the target write
  1639. the data transferred from the initiator to the medium and then verify that the
  1640. data is correctly written.  See the WRITE AND VERIFY(10) command (15.2.15) for
  1641. a description of the bits in this command.
  1642.  
  1643. 15.3. Parameters for Optical Memory Devices
  1644.  
  1645.  
  1646. SCSI-2 draft proposed American National Standard        15-27     Revision 10c27
  1647.  
  1648.  
  1649.  
  1650.  
  1651.  
  1652.  
  1653.  
  1654. Optical Memory Devices                                                  3/9/90
  1655.  
  1656.  
  1657. 15.3.1. Diagnostic Parameters
  1658.  
  1659. This section defines the descriptors and pages for diagnostic parameters used
  1660. with optical memory devices.
  1661.  
  1662. The diagnostic page codes for optical memory devices are defined in Table
  1663. 15-22.
  1664.  
  1665.                       Table 15-22: Diagnostic Page Codes
  1666.  
  1667. ==============================================================================
  1668.   Page Code   Description                                           Section
  1669. ------------------------------------------------------------------------------
  1670. 00h        List of Supported Parameters Page                     7.3.1.1
  1671. 01h - 3Fh     Reserved (for all device type pages)
  1672. 40h        Translate Address Page                                8.3.1
  1673. 41h - 7Fh     Reserved 80h - FFh     Vendor specific pages
  1674. ==============================================================================
  1675.  
  1676.  
  1677. 15.3.2. Log Parameters
  1678.  
  1679. This section defines the descriptors and pages for log parameters used with
  1680. optical memory devices.
  1681.  
  1682. The log page codes for optical memory devices are defined in Table 15-23.
  1683.  
  1684.                           Table 15-23: Log Page Codes
  1685.  
  1686. ==============================================================================
  1687.   Page Code   Description                                           Section
  1688. ------------------------------------------------------------------------------
  1689. 01h        Buffer Over-Run/Under-Run Page                        7.3.2.1
  1690. 03h        Error Counter Page (Read) Page                        7.3.2.2
  1691. 05h        Error Counter Page (Verify) Page                      7.3.2.2
  1692. 02h        Error Counter Page (Write) Page                       7.3.2.2
  1693. 07h        Last n Error Events Page                              7.3.2.3
  1694. 00h        List of Supported Parameters Page                     7.3.2.5
  1695. 06h        Non-Media Error Page                                  7.3.2.4
  1696.    04h        Reserved
  1697. 08h - 2Fh     Reserved
  1698. 30h - 3Eh     Vendor Specific
  1699. 3Fh        Reserved
  1700. ==============================================================================
  1701.  
  1702.  
  1703. 15.3.3. Mode Parameters
  1704.  
  1705.  
  1706.  
  1707. SCSI-2 draft proposed American National Standard        15-28     Revision 10c28
  1708.  
  1709.  
  1710.  
  1711.  
  1712.  
  1713.  
  1714.  
  1715. Optical Memory Devices                                                  3/9/90
  1716.  
  1717.  
  1718. This section defines the descriptors and pages for mode parameters used with
  1719. optical memory devices.
  1720.  
  1721. The mode parameter list, including the mode parameter header and mode block
  1722. descriptor are defined in 7.3.3.
  1723.  
  1724. The medium-type code field is contained in the mode parameter header (see
  1725. Table 7-61 and 7-62).  Table 15-24 defines the medium-type code values used
  1726. for optical memory devices.
  1727.  
  1728.                  Table 15-24: Optical Memory Medium-Type Codes
  1729.  
  1730. ==============================================================================
  1731. Code Value                       Medium Type
  1732. ----------  ------------------------------------------------------------------
  1733.    00h        Default (only one medium type supported)
  1734.    01h        Optical Read Only medium
  1735.    02h        Optical Write Once medium
  1736.    03h        Optical Reversible or Erasable medium
  1737.    04h        Combination of Read only and Write Once medium
  1738.    05h        Combination of Read only and Reversible or Erasable medium
  1739.    06h        Combination of Write Once and Reversible or Erasable medium
  1740.    07h - 7Fh  RESERVED
  1741.    80h - FFh  Vendor unique
  1742. ==============================================================================
  1743.  
  1744.  
  1745. The device specific parameter field is contained in the mode parameter header
  1746. (see Table 7-61 and 7-62).  Table 15-25 defines the device specific parameter
  1747. values used for optical memory devices.
  1748.  
  1749.              Table 15-25: Optical Memory Device Specific Parameter
  1750.  
  1751. ==============================================================================
  1752.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    |
  1753. ==============================================================================
  1754.      |   WP   |    Reserved     | Cache  |           Reserved       |  EBC   |
  1755. ==============================================================================
  1756.  
  1757.  
  1758. The WP bit is reserved for the MODE SELECT command.
  1759.  
  1760. For the MODE SENSE command, a write protected (WP) bit of zero indicates that
  1761. the medium is write enabled.  A WP bit of one indicates that the medium is
  1762. write protected.  For read-only media the WP bit is reserved.
  1763.  
  1764. The cache bit is reserved for the MODE SELECT command.
  1765.  
  1766. For the MODE SENSE command, a cache bit of zero indicates that the target does
  1767.  
  1768. SCSI-2 draft proposed American National Standard        15-29     Revision 10c29
  1769.  
  1770.  
  1771.  
  1772.  
  1773.  
  1774.  
  1775.  
  1776. Optical Memory Devices                                                  3/9/90
  1777.  
  1778. not contain a cache memory.  A cache bit of one indicates that the target
  1779. contains a cache memory and supports the cache control bits (see 8.2.6).
  1780.  
  1781. For the MODE SELECT command, an enable blank check (EBC) bit of zero advises
  1782. the target to disable the blank checking operation of the medium during write
  1783. operations or during an UPDATE BLOCK command.  An EBC bit of one enables blank
  1784. checking.  If a non-blank block is found during a write operation, the command
  1785. shall be terminated with a CHECK CONDITION status and the sense key shall be
  1786. set to BLANK CHECK.  If a blank block is found during an UPDATE BLOCK command,
  1787. the command shall be terminated with a CHECK CONDITION status and the sense
  1788. key shall be set to BLANK CHECK.  For read-only media the EBC bit is reserved.
  1789.  
  1790. For the MODE SENSE command, an enable blank check (EBC) bit of zero indicates
  1791. that blank checking of the medium during write operations is disabled.  An EBC
  1792. bit of one indicates that blank checking during write and update operations is
  1793. enabled.  For read-only media the EBC bit is reserved.
  1794.  
  1795. The density code field is contained in the mode parameter block descriptor
  1796.  
  1797.  
  1798.  
  1799.  
  1800.  
  1801.  
  1802.  
  1803.  
  1804.  
  1805.  
  1806.  
  1807.  
  1808.  
  1809.  
  1810.  
  1811.  
  1812.  
  1813.  
  1814.  
  1815.  
  1816.  
  1817.  
  1818.  
  1819.  
  1820.  
  1821.  
  1822.  
  1823.  
  1824.  
  1825.  
  1826.  
  1827.  
  1828.  
  1829. SCSI-2 draft proposed American National Standard        15-30     Revision 10c30
  1830.  
  1831.  
  1832.  
  1833.  
  1834.  
  1835.  
  1836.  
  1837. Optical Memory Devices                                                  3/9/90
  1838.  
  1839. (see Table 7-63).  Table 15-26 defines the density code values used for
  1840. optical memory devices.
  1841.  
  1842.                    Table 15-26: Optical Memory Density Codes
  1843.  
  1844. ==============================================================================
  1845. Density                        Optical Media
  1846.  Code
  1847. -------  ---------------------------------------------------------------------
  1848.   00h    Default density (currently mounted density)
  1849.  
  1850.          Diameter           Sector                         Reference
  1851.          mm (inch)   Type    Size    Tracks  Sides  Servo  Standard    Note
  1852.          ----------  ----  --------  ------  -----  -----  ----------  ----
  1853.   01h     86 (3.5)    R/W  512/1024   12500    1            660-D       1
  1854.   02h     89 (3.5)    R/W  512/1024   12500    2            581-D       1
  1855.   03h    130 (5.25)   R/W  512/1024   18750    2     CS     607-I       1
  1856.   04h    130 (5.25)   W-O  512/1024   30000    2     SS     655-D       1,2
  1857.   05h    130 (5.25)   W-O  512/1024   20000    2     SS     659-D       1,3
  1858.   06h    130 (5.25)   W-O  512/1024   18750    2     CS     457-D       1
  1859.   07h    200 (8.0)                                          407-D       1,4
  1860.   08h    300 (12.0)          1024              2            408-D       1,4
  1861.   09h    356 (14.0)          1024     56350    2            456-D       1
  1862.  
  1863. 80h - FFh   Vendor unique
  1864. All others  Reserved
  1865. ==============================================================================
  1866.  
  1867. Key:
  1868.            Type                       Servo
  1869. -----------------------------     ------------------------------
  1870. R/W     Erasable                   CS    Continuous Servo
  1871. W-O     Write Once                 SS    Sampled Servo
  1872. R/O     Read Only
  1873.  
  1874.  
  1875. NOTES:
  1876. (1) The reference standard refers to an ANSI X3B11 project under development.
  1877. The project may have several documents describing different aspects of the
  1878. media. Please contact the Secretariat for current information on status and
  1879. availability.
  1880. (2) RZ modulation.
  1881. (3) 4/15 modulation.
  1882. (4) This project is not presently active.
  1883.  
  1884. The mode page codes for optical memory devices are shown in Table 15-27.
  1885.  
  1886.  
  1887.  
  1888.  
  1889.  
  1890. SCSI-2 draft proposed American National Standard        15-31     Revision 10c31
  1891.  
  1892.  
  1893.  
  1894.  
  1895.  
  1896.  
  1897.  
  1898. Optical Memory Devices                                                  3/9/90
  1899.  
  1900.  
  1901.                          Table 15-27: Mode Page Codes
  1902.  
  1903. ==============================================================================
  1904.   Page Code   Description                                           Section
  1905. ------------------------------------------------------------------------------
  1906. 08h        Caching Page                                          8.3.3.1
  1907. 0Ah        Control Mode Page                                     7.5.3.1
  1908. 02h        Disconnect-Reconnect Page                             7.3.3.2
  1909. 0Bh        Medium Types Supported Page                           8.3.3.4
  1910. 06h        Optical Memory Page                                  15.3.3.1
  1911. 09h        Peripheral Device Page                                7.3.3.3
  1912. 01h        Read-Write Error Recovery Page                        8.3.3.6
  1913. 07h        Verify Error Recovery Page                            8.3.3.8
  1914. 03h - 05h     Reserved
  1915. 0Ch - 1Fh     Reserved
  1916. 3Fh        Returns all pages (valid only for the MODE SENSE command)
  1917. 00h        Vendor specific (does not require page format)
  1918. 20h - 3Eh     Vendor specific
  1919. ==============================================================================
  1920.  
  1921. 15.3.3.1. Optical Memory Page
  1922.  
  1923.                        Table 15-28: Optical Memory Page
  1924.  
  1925. ==============================================================================
  1926.   Bit|   7    |   6    |   5    |   4    |   3    |   2    |   1    |   0    |
  1927. Byte |        |        |        |        |        |        |        |        |
  1928. ==============================================================================
  1929.  0   |   PS   |Reserved|         Page Code (06h)                             |
  1930. -----|-----------------------------------------------------------------------|
  1931.  1   |                           Parameter Length (02h)                      |
  1932. -----|-----------------------------------------------------------------------|
  1933.  2   |                           Reserved                           |  RUBR  |
  1934. -----|-----------------------------------------------------------------------|
  1935.  3   |                           Reserved                                    |
  1936. ==============================================================================
  1937.  
  1938.  
  1939. The optical memory page (Table 15-28) defines parameters for control of
  1940. optical memory devices.
  1941.  
  1942. The parameters savable (PS) bit is only used with the MODE SENSE command.
  1943. This bit is reserved with the MODE SELECT command.  A PS bit of one indicates
  1944. that the target is capable of saving the page in a non-volatile vendor-
  1945. specific location.
  1946.  
  1947. A report updated block read (RUBR) bit of zero indicates the target shall not
  1948.  
  1949.  
  1950.  
  1951. SCSI-2 draft proposed American National Standard        15-32     Revision 10c32
  1952.  
  1953.  
  1954.  
  1955.  
  1956.  
  1957.  
  1958.  
  1959. Optical Memory Devices                                                  3/9/90
  1960.  
  1961. report an error when a command performs a successful read of a block that has
  1962. been updated.  A RUBR bit of one indicates the target shall terminate a
  1963. command that performs a read of a block that has been updated with CHECK
  1964. CONDITION status, the sense key set to RECOVERED ERROR, the additional sense
  1965. code set to UPDATED BLOCK READ, and the data shall be transferred to the
  1966. initiator.  The default state of the RUBR bit for write-once devices (as
  1967. reported in the INQUIRY command) shall be one.
  1968.  
  1969. 15.4. Glossary for Optical Memory Devices
  1970.  
  1971. blank.  The logical block contains no information detectable by the target, or
  1972. is written with a pattern that appears to the target as no data present.  The
  1973. logical block is considered ready for a write operation.
  1974.  
  1975. generation.  Indicates a relative revision level of a logical block that has
  1976. been updated via the UPDATE BLOCK command.  A logical block that has never
  1977. been updated has only one generation associated with it.
  1978.  
  1979. read-only medium.  This is medium that may not be written by the initiator.
  1980. The media contains data prepared in a manner not defined by this standard.
  1981.  
  1982. update.  To write new data to a logical block without destroying the previous
  1983. data.  After a block has been updated, a normal read returns the most recent
  1984. generation of the data.  Earlier generations are still available after the
  1985. update.
  1986.  
  1987. write-once medium.  This is medium that may be written only once by the
  1988. initiator.  Logical blocks on write-once media that have not been written are
  1989. considered blank.  Logical blocks on write-once media that have been written
  1990. may not be written again.
  1991.  
  1992.  
  1993.  
  1994.  
  1995.  
  1996.  
  1997.  
  1998.  
  1999.  
  2000.  
  2001.  
  2002.  
  2003.  
  2004.  
  2005.  
  2006.  
  2007.  
  2008.  
  2009.  
  2010.  
  2011.  
  2012. SCSI-2 draft proposed American National Standard        15-33     Revision 10c33
  2013.  
  2014.