beautypg.com

Rewind 01h, Pre-execution checks, Command descriptor block – HP Q153090901 User Manual

Page 166: Cdb fields, Rewind specific status, Rewind h 166

background image

Commands

166

REWIND 01h

R

EWIND

causes the drive to write all buffered logical objects to tape and then positions the tape at

BOM (beginning of media). Once a rewind is started, it will complete even if the SCSI operation is

aborted (for example, if the host selects and sends an abort message).

Pre-execution checks:

Command descriptor block:

CDB fields:

Rewind specific status:

If the rewind is successful, unsolicited positional sense will indicate that the tape is at BOM by the

EOD bit being set and an additional sense code of 0004h (BOP).

Illegal Field

Reservation

Deferred Error

Unit Attention

Media Access

Diagnostic Status

7

6

5

4

3

2

1

0

0

Operation Code (01h)

1

Reserved (0)

Immed

2

Reserved (0)

4
5

Control

Immed

0 Status is returned after the rewind has completed.
1 The drive first writes any unwritten buffered data to tape. It then returns GOOD status to

the host before beginning the actual rewind operation.