Multiple LUN support for SATA devices
AssigneeQuantum Corporation
InventorsJim Wong, Osama Aweida, Don Matthews
Life of this patent
Estimating the term…
Abstract
An exemplary embodiment provides for a device driver embodied in a computer readable medium. The device driver includes instructions operative to cause a programmable processor to receive a command and perform a determination as to whether the command is a drive command or a media changer command. The command is then conditionally modified, based on the determination and the command is forwarded.
Claims20
A device driver embodied in a computer readable medium, wherein the device driver comprises instructions operative to cause a programmable processor to:
- concurrently emulate a first device and a second device to a host system, wherein each device is identified to the host system by a unique logic unit number (LUN);
- receive a command addressed to one of the two devices;
- determine to which one of the first device and the second device the command is addressed;
- if the command is addressed to the first device, forward the command to the first device;
- and
- if the command is addressed to the second device, modify the command by embedding an operation code instruction into the command, which indicates to the first device that the command is addressed to the second device, and forward the modified command to the first device.
In a system operable to generate and forward media changer and drive commands, a method for conditionally modifying a command, the method comprising:
- concurrently emulating a first device and a second device to a host system, wherein each device is identified to the host system by a unique logic unit number (LUN);
- receiving a command addressed to one of the two devices;
- determining to which one of the first device and the second device the command is addressed;
- if the command is addressed to the first device, forwarding the command to the first device;
- and
- if the command is addressed to the second device, modifying the command by embedding an operation code instruction into the command, which indicates to the first device that the command is addressed to the second device, and forwarding the modified command to the first device.
In a SATA drive operable to identify and bridge media changer commands, a method comprising:
- receiving a command from a host system at the SATA drive;
- determining whether an operation code instruction is embedded in the command, wherein the operation code instruction indicates to the SATA drive that the command is addressed to a media changer system;
- if the operation code instruction is embedded in the command, forwarding the command to the media changer system connected to the SATA drive;
- and
- if the operation code instruction is not embedded in the command, processing the command at the SATA drive.
A system operable to generate and forward media changer and drive commands, the system comprising:
- one or more processors;
- a memory;
- a host adapter;
- and
- a plurality of drivers, stored in the memory, wherein the plurality of drivers includes at least two command set layers each corresponding to only one of at least one drive or at least one media changer, a port driver and a filter driver, wherein the filter driver further includes instructions operable to cause the one or more processors and the host adapter to:
- concurrently emulate a first device and a second device to a host system, wherein each device is identified to the host system by a unique logic unit number (LUN);
- receive a command addressed to one of the two devices;
- determine to which one of the first device and the second device the command is addressed;
- if the command is addressed to the first device, forward the command to the first device;
- and
- if the command is addressed to the second device, modify the command by embedding an operation code instruction into the command, which indicates to the first device that the command is addressed to the second device, and forward the modified command to the first device.
A SATA drive operable to identify and bridge media changer commands, the drive comprising:
- one or more processors;
- a memory;
- a target adapter for connection to a host system;
- a device controller for connection to a media changer system;
- and
- a device driver, stored in the memory, including instructions operable to cause the device controller, the one or more processors and the target adapter to:
- receiving a command from a host system at the SATA drive;
- determine whether an operation code instruction is embedded in the command, wherein the operation code instruction indicates to the SATA drive that the command is addressed to a media changer system;
- if the operation code instruction is embedded in the command, forward the command to the media changer system connected to the SATA drive;
- and
- if the operation code instruction is not embedded in the command, process the command at the SATA drive.
Dependencies are inferred from the claim text.