# US 2004/0081082 A1 · Mechanism for enabling enhanced fibre channel error recovery across redundant paths using SCSI level commands

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2004/0081082 A1
- Document ID: US20040081082A1
- Status: Published application
- Kind: A1
- Application number: 10/064,436
- Filed: 2002-07-12
- Published: 2004-04-29
- Earliest claimed: 2002-07-12
- Assignees: Crossroads Systems, Inc.
- Inventors: William H. Moody II; John F. Tyndall
- Web page: https://patentgrep.com/patent/US20040081082A1

## CPC

- G06F 11/201: {between storage system components}
- G06F 11/1443: {Transmit or communication errors}
- G06F 11/2007: {using redundant communication media}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Systems and methods for performing error recovery in a system utilizing redundant communication links. In one embodiment, a host device is coupled to a sequential device such as a tape drive by a pair of Fibre Channel links. The host is configured to associate an identifier with each command. Upon detecting a failure of the transmission of the command via the first link, the host re-transmits the command via the second link. When the link failure is detected, the status of the last command transmitted before the failure is requested. After receiving the status of the command, a request that recovery start (possibly at a point indicated by the status information) is transmitted to the sequential device. If the recovery request is accepted, performance of the command is completed.

## Claims

### Claim 1

A system comprising:
a host device having two or more ports configured to be coupled to a sequential device via corresponding links, wherein the host device is configured to associate a command identifier with a command, to transmit the command via a first one of the ports, to detect a failure associated with the transmission of the command via the first one of the ports, and to transmit the command via a second one of the ports.

### Claim 2 (depends on 1)

The system of claim 1, wherein the host device is configured to associate the command identifier with the command by counting commands transmitted from the host device to the sequential device and associating the count with the corresponding command, the system further comprising a router coupled between the host device and the sequential device, wherein the router is configured to count commands transmitted from the host device to the sequential device and to associate the count with the corresponding command.

### Claim 3 (depends on 2)

The system of claim 2, wherein the host device is configured to initiate transmission of a set of commands to the sequential device by issuing a first command to establish a command stream, wherein the host device and the router are configured to begin counting commands after receiving the first command.

### Claim 4 (depends on 1)

The system of claim 1, wherein the host is configured to make the command identifier explicit in the command.

### Claim 5 (depends on 4)

The system of claim 4, wherein the host device is further configured to transmit subsequent commands and corresponding command identifiers via the second one of the ports.

### Claim 6 (depends on 4)

The system of claim 4, further comprising two or more communication links corresponding to the two or more ports.

### Claim 7 (depends on 6)

The system of claim 6, wherein the communication links comprise Fibre Channel links.

### Claim 8 (depends on 7)

The system of claim 7, wherein the communication links are configured to provide Class 3 service.

### Claim 9 (depends on 4)

The system of claim 4, further comprising a router coupled to the communication links to receive the command and command identifier from the host device, wherein the router is configured to be coupled to the sequential device.

### Claim 10 (depends on 9)

The system of claim 9, wherein the router is configured to: identify the command identifier transmitted via the second one of the ports as identical to the command identifier transmitted via the first one of the ports; and forward a portion of the command to the sequential device, wherein the forwarded portion of the command comprises a portion of the command that was not received by the sequential device via the first one of the ports.

### Claim 11 (depends on 9)

The system of claim 9, wherein the host is configured to request a status of the command via the second one of the ports.

### Claim 12 (depends on 11)

The system of claim 11, wherein the host is configured to receive an indication of a number of data bytes received by the router in response to requesting the status of the command.

### Claim 13 (depends on 12)

The system of claim 12, wherein the host is configured to request that error recovery begin with a next data byte following a last received data byte.

### Claim 14 (depends on 13)

The system of claim 13, wherein the host is configured to receive an indication of acceptance to beginning error recovery.

### Claim 15 (depends on 9)

The system of claim 9, further comprising a sequential device coupled to the router to receive the command.

### Claim 16 (depends on 15)

The system of claim 15, wherein the sequential device comprises a tape drive.

### Claim 17 (depends on 15)

The system of claim 15, wherein the sequential device comprises a SCSI device.

### Claim 18 (depends on 4)

The system of claim 4, further comprising a sequential device coupled to the communication links to receive the command and command identifier from the host device.

### Claim 19 (depends on 4)

The system of claim 4, wherein the host device is configured to request a status of the command via the second one of the ports.

### Claim 20 (depends on 19)

The system of claim 19, wherein the host device is configured to receive a number of data bytes received in response to requesting the status of the command.

### Claim 21 (depends on 20)

The system of claim 20, wherein the host device is configured to request that error recovery begin with a next data byte following a last received data byte.

### Claim 22 (depends on 21)

The system of claim 21, wherein the host device is configured to receive an indication of acceptance to beginning error recovery.

### Claim 23

A method comprising:
associating a first command identifier with a first command;
transmitting the first command via a first link;
detecting a failure of the first link; and
transmitting at least a portion of the first command and first command identifier via a second link.

### Claim 24 (depends on 23)

The method of claim 23, the method is implemented in a host and a router coupled between the host and a sequential device, wherein associating a first command identifier with a first command comprises the host and the router counting commands transmitted from the host device to the sequential device and associating the count with the corresponding command, and wherein transmitting the first command via a first link, detecting a failure of the first link and transmitting at least a portion of the first command and first command identifier via a second link are performed by the host.

### Claim 25 (depends on 24)

The method of claim 24, further comprising initiating transmission of a set of commands to the sequential device by issuing a first command to establish a command stream, wherein the host device and the router are configured to begin counting commands after receiving the first command.

### Claim 26 (depends on 23)

The method of claim 23, wherein associating the first command identifier with the first command comprises making the first command identifier explicit in the first command.

### Claim 27 (depends on 26)

The method of claim 26, further comprising, prior to transmitting at least a portion of the first command and first command identifier via a second link, requesting a status of execution of the first command, receiving the status of execution of the first command, requesting recovery starting at a next byte following a last byte previously received and receiving acknowledgement of acceptance of the recovery request.

### Claim 28 (depends on 27)

The method of claim 27, wherein the status indicates a number of bytes of the first command actually received by the router.

### Claim 29 (depends on 26)

The method of claim 26, further comprising receiving at the router the first command and first command identifier via the second link and executing an unexecuted portion of the first command.

### Claim 30 (depends on 26)

The method of claim 26, further comprising identifying the first command and first command identifier received via the second link, identifying a redundant portion of the first command received via the second link and discarding the redundant portion of the first command.

### Claim 31

A software product configured to cause a device programmed with the software product to perform the method comprising:
associating a first command identifier with a first command;
transmitting the first command via a first link;
detecting a failure of the first link; and
transmitting at least a portion of the first command and first command identifier via a second link.

### Claim 32 (depends on 31)

The method of claim 31, the method is implemented in a host and a router coupled between the host and a sequential device, wherein associating a first command identifier with a first command comprises the host and the router counting commands transmitted from the host device to the sequential device and associating the count with the corresponding command, and wherein transmitting the first command via a first link, detecting a failure of the first link and transmitting at least a portion of the first command and first command identifier via a second link are performed by the host.

### Claim 33 (depends on 32)

The method of claim 32, further comprising initiating transmission of a set of commands to the sequential device by issuing a first command to establish a command stream, wherein the host device and the router are configured to begin counting commands after receiving the first command.

### Claim 34 (depends on 31)

The method of claim 31, wherein associating the first command identifier with the first command comprises making the first command identifier explicit in the first command.

### Claim 35 (depends on 31)

The software product of claim 31, wherein the method further comprises, prior to transmitting at least a portion of the first command and first command identifier via the second link, requesting a status of execution of the first command, receiving the status of execution of the first command, requesting recovery starting at a next byte following a last byte previously received and receiving acknowledgement of acceptance of the recovery request.

### Claim 36 (depends on 35)

The software product of claim 35, wherein the status indicates a number of bytes of the first command actually received.

### Claim 37 (depends on 25)

The software product of claim 25, wherein the software product is implemented in a device driver.

### Claim 38 (depends on 25)

The software product of claim 25, wherein the software product is implemented in a shim driver between a device driver and a command driver.

### Claim 39 (depends on 25)

The software product of claim 25, wherein the command driver comprises a SCSI driver.
