US9330713B2 - Linear recording executing optimum writing upon receipt of series of commands including mixed read and write commands - Google Patents
Linear recording executing optimum writing upon receipt of series of commands including mixed read and write commands Download PDFInfo
- Publication number
- US9330713B2 US9330713B2 US14/836,874 US201514836874A US9330713B2 US 9330713 B2 US9330713 B2 US 9330713B2 US 201514836874 A US201514836874 A US 201514836874A US 9330713 B2 US9330713 B2 US 9330713B2
- Authority
- US
- United States
- Prior art keywords
- tape
- data
- read
- writing
- commands
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B20/00—Signal processing not specific to the method of recording or reproducing; Circuits therefor
- G11B20/10—Digital recording or reproducing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
- G06F12/02—Addressing or allocation; Relocation
- G06F12/08—Addressing or allocation; Relocation in hierarchically structured memory systems, e.g. virtual memory systems
- G06F12/0802—Addressing of a memory level in which the access to the desired data or data block requires associative addressing means, e.g. caches
- G06F12/0866—Addressing of a memory level in which the access to the desired data or data block requires associative addressing means, e.g. caches for peripheral storage systems, e.g. disk cache
- G06F12/0868—Data transfer between cache memory and other subsystems, e.g. storage devices or host systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/061—Improving I/O performance
- G06F3/0611—Improving I/O performance in relation to response time
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0655—Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices
- G06F3/0656—Data buffering arrangements
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0668—Interfaces specially adapted for storage systems adopting a particular infrastructure
- G06F3/0671—In-line storage system
- G06F3/0673—Single storage device
- G06F3/0682—Tape device
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B20/00—Signal processing not specific to the method of recording or reproducing; Circuits therefor
- G11B20/10—Digital recording or reproducing
- G11B20/10527—Audio or video recording; Data buffering arrangements
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B27/00—Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B27/00—Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
- G11B27/10—Indexing; Addressing; Timing or synchronising; Measuring tape travel
- G11B27/11—Indexing; Addressing; Timing or synchronising; Measuring tape travel by using information not detectable on the record carrier
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B5/00—Recording by magnetisation or demagnetisation of a record carrier; Reproducing by magnetic means; Record carriers therefor
- G11B5/008—Recording on, or reproducing or erasing from, magnetic tapes, sheets, e.g. cards, or wires
- G11B5/00813—Recording on, or reproducing or erasing from, magnetic tapes, sheets, e.g. cards, or wires magnetic tapes
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B5/00—Recording by magnetisation or demagnetisation of a record carrier; Reproducing by magnetic means; Record carriers therefor
- G11B5/008—Recording on, or reproducing or erasing from, magnetic tapes, sheets, e.g. cards, or wires
- G11B5/00813—Recording on, or reproducing or erasing from, magnetic tapes, sheets, e.g. cards, or wires magnetic tapes
- G11B5/00817—Recording on, or reproducing or erasing from, magnetic tapes, sheets, e.g. cards, or wires magnetic tapes on longitudinal tracks only, e.g. for serpentine format recording
-
- G06F2003/0691—
-
- G06F2003/0698—
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2212/00—Indexing scheme relating to accessing, addressing or allocation within memory systems or architectures
- G06F2212/10—Providing a specific technical effect
- G06F2212/1012—Design facilitation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2212/00—Indexing scheme relating to accessing, addressing or allocation within memory systems or architectures
- G06F2212/21—Employing a record carrier using a specific recording technology
- G06F2212/213—Tape storage
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2212/00—Indexing scheme relating to accessing, addressing or allocation within memory systems or architectures
- G06F2212/22—Employing cache memory using specific memory technology
- G06F2212/222—Non-volatile memory
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2212/00—Indexing scheme relating to accessing, addressing or allocation within memory systems or architectures
- G06F2212/25—Using a specific main memory architecture
- G06F2212/253—Centralized memory
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2212/00—Indexing scheme relating to accessing, addressing or allocation within memory systems or architectures
- G06F2212/45—Caching of specific data in cache memory
- G06F2212/452—Instruction code
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B20/00—Signal processing not specific to the method of recording or reproducing; Circuits therefor
- G11B20/10—Digital recording or reproducing
- G11B2020/10898—Overwriting or replacing recorded data
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B20/00—Signal processing not specific to the method of recording or reproducing; Circuits therefor
- G11B20/10—Digital recording or reproducing
- G11B2020/10898—Overwriting or replacing recorded data
- G11B2020/10907—Overwriting or replacing recorded data using pseudo-overwriting, i.e. virtually or logically overwriting data on WORM media by remapping recorded blocks to alternate areas
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B2220/00—Record carriers by type
- G11B2220/60—Solid state media
- G11B2220/65—Solid state media wherein solid state memory is used for storing indexing information or metadata
- G11B2220/652—Solid state media wherein solid state memory is used for storing indexing information or metadata said memory being attached to the recording medium
- G11B2220/655—Memory in cassette [MIC]
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B2220/00—Record carriers by type
- G11B2220/90—Tape-like record carriers
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B2220/00—Record carriers by type
- G11B2220/90—Tape-like record carriers
- G11B2220/93—Longitudinal format, wherein tracks are in the direction of the tape, read with a static head, e.g. DCC
Definitions
- the present invention relates to data storage, and more specifically, the present invention relates to a linear recording tape storage device which executes optimum writing upon receipt of a series of commands including mixed read and write commands (Read and Write), and to a method and a program for executing the same.
- a series of commands including mixed read and write commands (Read and Write)
- Read and Write mixed read and write commands
- a tape recording device (a tape drive) is a sequential access device.
- Drive operations include mount/load and unmount/unload of a tape cartridge.
- Tape operations include operations on a tape medium which are position movement (a Position command), writing (a Write command), reading (a Read command) and synchronization (a Sync command: Synchronize).
- Data to be written in the tape includes user data and a file marker (FM) representing a user data delimiter.
- a write operation is performed either in a write-append method in which data is written in the tape from a position past the end of data after the tape is moved, or in an overwriting method in which old data is overwritten with new data.
- the tape drive is able to perform read and write operations in a mixed manner, and these operations involve a moving operation and a synchronization operation (flush).
- the synchronization and moving operations cause the tape to move in a longitudinal direction thereof, thereby lowering the Read and Write performance of the tape drive.
- the synchronization operation is an operation of ensuring that data temporarily stored in a buffer is written in a tape medium.
- a hierarchical storage management (HSM) system allows the mixed read and write operations to be performed on tape drives.
- the tape drive is also included in a tape library which is at a lower layer of the HSM system.
- a single tape drive is not required to perform read and write operations in a mixed manner in order to prevent the lowering of the overall performance of the entire read and write processing.
- the single tape drive performs either the write operation or the read operation for each mount of a tape cartridge.
- a plurality of tape drives may each be used for either of write and read operations.
- Japanese Patent Application No. 2009-294309 provides a mechanism for causing a tape drive to perform read/write operations in a mixed manner in a single cartridge.
- the writing method is an append writing method (Append Write).
- Append Write the end of data (EOD) of write data in a tape is sequentially brought back by using a sequential moving method of the tape drive.
- the writing method of a tape drive includes Over Write in addition to the append write.
- the Over Write command is used to overwrite data (for example, a data set) having been written on a tape with new data by using the append write.
- An apparatus includes a head, a controller coupled to the head, and logic integrated with and/or executable by the controller.
- the logic is configured to receive a series of commands, the series of commands including mixed read, overwrite, and append write commands, cause reading of data from a specified position of a tape using the head and storing the data in a buffer in response to a read command; and cause writing of data stored in the buffer starting from an appended data end position of the tape in response to an append write command.
- a computer program product for writing data to tape includes a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a computer to cause the computer to perform a method.
- the method includes receiving, by the computer, a series of commands, the series of commands including mixed read, overwrite, and append write commands.
- the method further includes causing, by the computer, reading of data from a specified position of the tape using a head and storing the data in a buffer in response to a read command.
- the method further includes causing, by the computer, writing data stored in the buffer starting from an appended data end position of the tape in response to an append write command.
- an apparatus in yet another embodiment, includes a head, a controller coupled to the head, and logic integrated with and/or executable by the controller.
- the logic is configured to, in response to receipt of an append write command, cause storing of data stored in a buffer to a non-volatile memory starting from an appended data end position.
- the logic is also configured to cause sending a completion notification of the append write command to a higher-level device when data in the buffer is written in the non-volatile memory.
- the logic is also configured to cause moving to a tape writing position where the data stored in the non-volatile memory is to be written.
- a tape recording device which performs operations of position movement, reading, and writing on a tape medium back and forth in a longitudinal direction of the tape medium and which receives a series of commands from a higher-level device.
- the tape recording device includes: a buffer for storing data related to the reading and writing; a tape for recording the data stored in the buffer; a read/write head for reading the data from the tape into the buffer and writing the data from the buffer onto the tape; control means, a controller configured for reading data from the specified position of the tape and storing the data in the buffer in response to a read command and for writing the data stored in the buffer from an appended data end position for data writing of the tape, e.g., end of data (EOD), in response to an append write command; and a non-volatile memory for storing the data stored in the buffer in response to a write command.
- EOD end of data
- the controller may be configured to: (a) upon receipt of the append write command, store the data stored in the buffer from an appended data end position in the non-volatile memory (EOD in the non-volatile memory); (b) send back a completion notification of the append write command to the higher-level device when the data in the buffer is written in the non-volatile memory; (c) move the data temporarily stored in the non-volatile memory and then moving to a tape writing position (EOD) where the data temporarily stored in the non-volatile memory is to be written to perform writing on the basis of a predetermined criterion so as to minimize a moving distance by which the tape travels relative to the head, when moving from an end position on the tape of read data for the m-th read command to a reading start position for the n-th read command after receipt of the append write command; and (d) when receiving an overwrite command (Over Write) of data in a predetermined position on the tape between the mixed commands in the series of commands,
- the device is characterized in that the criterion is satisfied when the data end position of the tape (EOD) at which the data is to be written exists within the moving distance (between the end position and the start position) according to one embodiment.
- the device is further characterized in that the controller stores the updated data end position (EOD) into the non-volatile memory.
- EOD updated data end position
- the device is also characterized in some approaches in that the controller stores the updated data end position (EOD) into the non-volatile memory of the tape cartridge which includes the tape.
- EOD updated data end position
- a method for writing into a tape recording device includes the steps of: (a) upon receipt of the append write command, storing the data stored in the buffer in an appended data end position in the non-volatile memory (EOD in the non-volatile memory); (b) sending back a completion notification of the append write (synchronization) command to the higher-level device when the data in the buffer is written in the non-volatile memory; (c) moving the data temporarily stored in the non-volatile memory and then moving to a tape writing position (EOD) where the data temporarily stored in the non-volatile memory is to be written to perform writing on the basis of a predetermined criterion so as to minimize a moving distance by which the tape travels relative to the head, when moving from an end position on the tape of read data for the m-th read command to a reading start position for the subsequent n-th read command; and (d) when receiving an overwrite (Over Write) command of data in a predetermined position on the tape between the mixed commands
- the tape recording device includes a buffer for temporarily storing data related to reading and append writing, a tape for recording the data stored in the buffer, a read/write head for reading the data from the tape into the buffer and writing the data from the buffer onto the tape, and controller for reading data from a specified position of the tape and storing the data in the buffer in response to a read command and for writing the data stored in the buffer from the tape in response to an append write command and which performs operations of position movement, reading, and writing on the tape medium back and forth in a longitudinal direction of the tape medium, when a single tape cartridge having the tape medium is loaded in the tape recording device and the tape recording device receives a series of commands including mixed read (Read), overwrite, and append write (Write) commands from a higher-level device (each moving to a tape position specified by a moving command, i.e., Position) where the plurality of read commands includes first, second, .
- a buffer for temporarily storing data related to reading and append writing
- a tape for recording
- the tape recording device and/or the tape cartridge is provided with a non-volatile memory for storing the data stored in the buffer in response to a write command.
- a computer program product for writing into a tape recording device causes a computer to perform the steps of: (a) upon receipt of the append write command, storing the data stored in the buffer in an appended data end position in the non-volatile memory (EOD in the non-volatile memory); (b) sending back a completion notification of the append write (synchronization) command to the higher-level device when the data in the buffer is written in the non-volatile memory; (c) moving the data temporarily stored in the non-volatile memory and then moving to a tape writing position (EOD) where the data temporarily stored in the non-volatile memory is to be written to perform writing on the basis of a predetermined criterion so as to minimize a moving distance by which the tape travels relative to the head, when moving from an end position on the tape of read data for the m-th read command to a reading start position for the subsequent n-th read command; and (d) when receiving an overwrite (Over Write) command of data in a predetermined
- a method for writing data in a tape recording apparatus includes receiving a series of commands, the series of commands including mixed read, overwrite, and append write commands. Data is read from a specified position of the tape using a head and the data is stored in a buffer in response to a read command. Data stored in the buffer is written starting from an appended data end position of the tape in response to an append write command.
- a method for writing data in a tape recording apparatus includes, in response to receipt of an append write command, storing data stored in a buffer to a non-volatile memory starting from an appended data end position. A completion notification of the append write command is sent to a higher-level device when data in the buffer is written in the non-volatile memory. The tape is moved to a tape writing position where the data stored in the non-volatile memory is to be written.
- a tape recording device is able to increase the overall performance of the mixed operations even when a higher-level device intervenes for overwriting in a series of commands including mixed read and append write commands.
- FIG. 1 is a diagram illustrating a configuration example of a tape library including a tape drive according to one embodiment.
- FIG. 2 illustrates normal operations of moving, reading, and writing performed on a tape of a tape drive, according to one embodiment.
- FIG. 3 illustrates an example of conventional mixed read and write operations.
- FIG. 4 illustrates that omission of a synchronization operation results in reduction in tape moving distance.
- FIG. 5 illustrates reduction in moving distance resulting from omission of write and synchronization operations in one embodiment.
- FIG. 6 illustrates a table summarizing a relationship in moving distance increase or decrease between omission of a synchronization operation and a subsequent rewrite operation.
- FIG. 7 illustrates that a writing position exists in a moving operation, according to one embodiment.
- FIG. 8 illustrates modes in which data is written in a tape when there is no free space in a non-volatile storage area.
- FIG. 9 illustrates an operation flow of appended data writing.
- FIG. 10 illustrates a flow of receiving both of Over Write and append write commands in mixed append write and read operations.
- FIG. 11 illustrates an operation flow of synchronization.
- FIG. 12 illustrates an operation flow of moving between two points when a writing position exists therebetween.
- example a description is given of an embodiment (hereinafter, referred to as “example”) of a method of append writing new data when an intervention of overwriting (Over Write) in a linear recording tape drive on which a single tape cartridge is loaded and which has received a series of commands including mixed read and append write (Append Write) commands from a host.
- This example is illustrative only and is not intended to limit a tape recording device for append writing in any way.
- the temporary storage area used is an area where no movement in the tape is required or where the total tape moving distance and duration is made less than those for recording in an originally intended area. In addition, writing time is equal to or shorter than normal writing time. 3.
- the temporarily stored data is rewritten later in the originally intended recording position. Normally, the data is left in the buffer, and rereading from the temporary storage area is not required in the rewriting. 4. The rewrite operation is performed as a moving operation in a subsequent process. 5. If data in the buffer is lost due to accidental powering-off, the data is read from the temporary non-volatile storage area as processing of recovery from an error, and then is written in the originally intended recording position.
- FIG. 1 is a diagram illustrating a configuration example of a tape library 100 including the tape drive, to which this embodiment is applied.
- the tape library 100 includes a tape drive 10 , a library control mechanism 30 , an accessor 40 , and a cartridge slot 50 .
- the tape drive 10 includes a host interface (hereinafter, referred to as “host I/F”) 11 , a buffer 12 , a channel 13 , a write head 14 a , a read head 14 b , and a motor 15 , and also includes a controller 16 , a head position control system 17 , and a motor driver 18 .
- a tape cartridge (hereinafter, simply referred to as “cartridge”) 20 is also illustrated, since the cartridge 20 is loadable in the tape drive 10 by being inserted into the tape drive 10 .
- the cartridge 20 includes a tape 23 wound around reels 21 and 22 .
- the tape 23 With the rotation of the reels 21 and 22 , the tape 23 is moved in a longitudinal direction thereof, from the reel 21 to the reel 22 , or from the reel 22 to the reel 21 .
- a magnetic tape is exemplified as the tape 23 , but a tape medium other than the magnetic tape may be used.
- the cartridge 20 also includes a cartridge memory 24 .
- the cartridge memory 24 records information of, for example, how data is written in the tape 23 .
- the indices of the data written in the tape 23 and a use status of the tape 23 are checked in a non-contact manner by using, for example, an RF interface, thereby enabling high-speed access to the data.
- an interface, like the RF interface, for accessing the cartridge memory 24 is shown as a cartridge memory interface (hereinafter, referred to as “CMI/F”) 19 .
- CMI/F cartridge memory interface
- the host I/F 11 communicates with a host 200 .
- the host I/F 11 receives a command for writing data in the tape 23 , a command for moving the tape 23 to a target position, and a command for reading data from the tape 23 .
- SCSI is exemplified as a communication standard used for the host I/F 11 .
- a first command corresponds to a Write command
- a second command corresponds to a Locate command or a Space command, for a tape moving operation
- a third command corresponds to a Read command.
- the host I/F 11 responds to the host 200 , whether or not processing in response to a corresponding one of the commands succeeds or fails.
- Data buffered in the buffer 12 is written in the tape 23 by a synchronization operation (Flush).
- the synchronization after Write is explicitly specified by a command (such as a Write Filemark command), or implicitly specified by a command (such as a Locate, Space, Rewind or Unload command for moving the position).
- a command such as a Write Filemark command
- a command such as a Locate, Space, Rewind or Unload command for moving the position.
- the Write command itself might not be completed until the synchronization is completed.
- the buffer 12 is a memory in which data to be written into the tape 23 and data read from the tape 23 is accumulated.
- the buffer 12 comprises a Dynamic Random Access Memory (DRAM).
- DRAM Dynamic Random Access Memory
- the buffer 12 is formed of a plurality of buffer segments, and each buffer segment stores a dataset which is a unit of reading from and writing in the tape 23 .
- the channel 13 is a communication channel used for transmitting data to be written in the tape 23 to the write head 14 a and for receiving data, which has been read from the tape 23 , from the read head 14 b .
- the write head 14 a writes information in the tape 23
- the read head 14 b reads information from the tape 23 .
- the motor 15 rotates the reels 21 and 22 .
- the motor 15 is shown by a single rectangle in FIG. 1 , it is preferable to provide one motor 15 for each of the reels 21 and 22 , namely two motors 15 in total.
- the controller 16 controls the entire tape drive 10 .
- the controller 16 controls writing or reading data to or from the tape 23 in accordance with a command received by the host I/F 11 .
- the controller 16 also controls the head position control system 17 and the motor driver 18 .
- the head position control system 17 is a system which controls the write head 14 a and the read head 14 b to track on a desired wrap.
- the wrap is a group of a plurality of tracks on the tape 23 .
- electrical switching of the write head 14 a or the read head 14 b is also required. Therefore, the head position control system 17 controls such switching.
- the motor driver 18 drives the motor 15 . When the two motors 15 are provided as described above, two motor drivers 18 should be provided, too.
- the library control mechanism 30 is a mechanism which controls the accessor 40 and the tape drive 10 in response to an instruction from the host 200 . Specifically, the library control mechanism 30 instructs the accessor 40 to load the cartridge 20 in the tape drive 10 so that data designated by the host 200 is able to be read or written, and instructs the tape drive 10 to read the data designated by the host 200 from or to write the data onto the cartridge 20 loaded by the accessor 40 .
- the accessor 40 takes the cartridge 20 out of the cartridge slot 50 to load the cartridge 20 in the tape drive 10 in accordance with the control of the library control mechanism 30 .
- the cartridge slot 50 is a space for storing a cartridge 20 in which no data is read or written.
- the cartridge slot 50 is shown by a single rectangle, but, actually, there are provided a plurality of slots for storing a plurality of cartridges, respectively.
- the library control mechanism 30 notifies the accessor 40 of identification information of one of the tape drives 10 to which a read or write command is to be transmitted, and thereby instructs the accessor 40 to load a cartridge 20 in the tape drive 10 .
- FIG. 2 illustrates operations of normal position movement of data (Position command), reading (Read command), and append writing (Write command) which are performed in the tape 23 of a tape drive.
- the tape drive may be a linear recording enterprise tape product (TSxx series by IBM Corp.) or one in compliance with Liner Tape-Open (LTO).
- TSxx series by IBM Corp.
- LTO Liner Tape-Open
- data reading and writing are performed on a wrap # 2 in the right direction, and then the travelling direction of the tape 23 is reversed as shown by an arrow 204 .
- data reading and writing are performed on a wrap # 55 in the left direction as shown by an arrow 205 .
- the data reading and writing are performed in data storage areas called wraps defined in the tape 23 , while the read/write head reciprocates between the beginning of the tape 23 (BOT) and the end of the tape (EOT).
- the wrap is a set of a plurality of tracks arranged in parallel with each other and spaced away from each other in a width direction of a tape.
- Each of the write head 14 a and the read head 14 b may include a plurality of channels (eight or 16 read/write elements).
- the write head 14 a and the read head 14 b enable the operations of moving, reading, and writing to be performed on the plurality of tracks in parallel in the same wrap.
- the read/write head reciprocates in the wraps. Note that the beginning of the tape 23 is an example of a first end portion and the end of the tape 23 is an example of a second end portion.
- the tape library 100 located in the lowest layer receives a series of commands for mixed read/write operations from the host 200 .
- the following provides an example of enhancing the performance in operation processing of the entire series of commands in the case where a single tape drive receives such a series of commands for the mixed read/write operations.
- the total tape moving distance and duration is reduced when a tape drive performs mixed operations of append writing and reading on a single tape cartridge loaded in the tape drive.
- FIG. 3 illustrates the example of the conventional mixed read/write operations.
- a description is given of an example of receiving a series of commands including mixed Read and Write commands when a tape is traveled linearly relative to tracks such as from right to left or left to right.
- movement is performed after a write (append write) operation (Write) to perform a read operation (Read), and further, a write operation (Write) is performed:
- FM9 is written ((2)). The writing of data9 and FM9 results in movement from the position A to position B.
- Data3 is read ((4)). The reading of data3 results in movement of the tape from position C to position D.
- FM10 is written ((7)).
- the tape moves from position B to position E.
- the total tape length is schematically shown, and the above series of operations results in a moving distance of the tape as indicated by the positions A ⁇ B ⁇ C ⁇ D ⁇ B ⁇ E ⁇ F ⁇ G.
- a synchronization operation for example, Flush by a Sync command
- a moving operation the Position command
- the mixed operations involve a long tape moving distance.
- the mixed operations in this case result in an increase by an overlapping section (B ⁇ E) resulting from the synchronization operation and subsequent halfway moving to the target position F.
- B ⁇ E overlapping section
- the moving operation requires a duration increased by this increase amount. Therefore, a study has been made on whether the synchronization operation and the subsequent overlapping section can be omitted.
- FIG. 4 shows that omission of a synchronization operation enables reduction in a tape moving distance.
- FM9 is written ((2)). The tape moves from position A to position B.
- a synchronization operation on data10 and FM10 ((7)) is omitted, and data10 is maintained buffered in the buffer ((6)).
- Data7 is read ((9)).
- the tape moves from position F to position G.
- the moving distance is represented by the positions A ⁇ B ⁇ C ⁇ D ⁇ F ⁇ G.
- the aforementioned example including the synchronization operations has three moving operations (D ⁇ B ⁇ E ⁇ F), while this example has only one moving operation for moving the tape from position D to position F, thereby reducing the moving distance.
- the moving distance is reduced in the following three operations as compared to the case shown in FIG. 3 .
- the following example discloses a write-once method which suppresses an increase in a moving distance of a series of commands including mixed Read and Write commands by placing Writes strategically.
- a tape cartridge or a tape drive is provided with a new temporary non-volatile storage area.
- the provision of the non-volatile storage area gives the tape cartridge or the tape drive an access characteristic that reduces the synchronization operation.
- Examples of the non-volatile storage area include a non-volatile memory such as a flash memory attached to the cartridge and/or the drive, a special storage area in a tape medium, and the like.
- appended data is temporarily stored in the non-volatile storage area to delay an append write operation in the tape to the originally intended end of write data, such as physical end of data (EOD) on the tape.
- EOD physical end of data
- the non-volatile storage area is used to ensure that data may always be read from the tape cartridge (or the tape drive) after sending back a completion notification of processing in response to a synchronization request from the host.
- the non-volatile storage area is hidden from the host. Specifically, when a read operation occurs after a write operation, data is read from the non-volatile storage area as if the data were written at the originally intended position.
- the tape drive receives a series of commands including mixed Read and Write transmitted from the host.
- Read is often performed after a reading position is specified.
- Write for append writing is performed after a writing position is designated as the EOD.
- the reading position and the writing position often are not related to each other. If a write operation (substantial synchronization operation) at a target position (physical EOD) on the tape can be executed in the course of moving between read operations, as append writing, an unnecessary tape moving distance is able to be reduced. If a writing position (physical EOD) on the tape for writing data stored in the non-volatile storage area exists between any two of a plurality of moving positions for subsequent Read operations, the writing in the tape during the moving increases the overall performance of the series of commands.
- a moving distance in the rewrite operation has a converse relation with a moving distance in the writing and synchronization operations. This means that a distance reduced by the omission of the synchronization operation is equal to a moving distance increased by the rewrite operation.
- Data is rewritten in a case where the moving distance or duration can be made less than those in the conventional operations. For example, if a position (EOD) to be rewritten (to be append written) is to be passed through during moving operations for a plurality of Read commands, data is able to be rewritten without moving exclusively for the rewritten operation.
- FIG. 5 illustrates a moving distance at the time of an append rewrite operation in which a substantial synchronization operation is ensured by using the non-volatile storage area.
- FIG. 5 illustrates increase and decrease of the moving distance caused by omission of the synchronization operation and the rewrite operation in the example.
- a difference in the writing direction affects the moving direction from the position A to B (to C, D, E).
- the moving distance as a result of the rewriting does not increase ( 1 - a ).
- the movement of the position A ⁇ B is the same as the movement of the position A ⁇ X ⁇ B, and therefore the moving distance increases by a distance of a reciprocation between the positions X and Y ( 1 - b ).
- the distance increases by a difference between the movement of the position X ⁇ Y ⁇ C and the movement of the position X ⁇ C ( 2 - a ).
- the movement of the position A ⁇ C is the same as the movement of the position A ⁇ Y ⁇ C, and therefore the moving distance increases by a distance of a reciprocation between the positions Y and X ( 2 - b ). 3.
- the movement of the position A ⁇ X is the same as the movement of the position A ⁇ D ⁇ X, and therefore the distance increases by a distance of a movement of the position D ⁇ X ⁇ Y ⁇ D ( 3 - a ).
- the movement of the position A ⁇ X is the same as the movement of the position A ⁇ D ⁇ Y ⁇ X, and therefore the moving distance increases by a distance of a movement of the position D ⁇ Y ⁇ X ⁇ Y ⁇ D ( 3 - b ).
- the distance increases by a distance of a movement of the position A ⁇ X ⁇ Y ⁇ A ( 4 - a , 4 - b ).
- the moving distance is made equal or reduced regardless of the moving target position after rewriting.
- the moving distance can be reduced in the rewrite operation when the moving distance has the converse relation with the moving distance in the synchronization operation.
- FIG. 6 illustrates a table summarizing a relationship in moving distance increase or decrease between omission of the synchronization operation and the subsequent rewrite operation (the cases 1 - a to 4 - b in FIG. 5 ).
- any data stored in the buffer is stored in a non-volatile storage area (non-volatile memory) in the synchronization operation.
- a rewrite operation involving tape movement can be omitted.
- the total moving distance can be reduced.
- the case 1 - a is a case where the moving distance for the rewrite operation can be fully omitted.
- the rewriting position (physical EOD) on the tape is located within the moving distance between two Read commands (movement from the data end position for first Read for reading the tape to the data beginning position for second Read for reading the tape).
- the data stored in the non-volatile memory by the synchronization operation is rewritten in the tape in the course of the subsequent movement. 3.
- rewriting processing in the moving operation may be determined as follows:
- the execution of the rewrite operation is determined.
- the moving pattern is as in the case 1 - a , there is no increase in moving distance for the rewrite operation. That is, the increase in moving distance is zero.
- the rewrite operation is always performed in movement for the subsequent Read operation. Referring to FIG. 5 , this is the case where the tape writing position (X ⁇ Y) is located between two tape positions (A ⁇ B).
- the rewrite operation increases a moving distance.
- the increase ratio depends on an originally intended moving distance, the position A ⁇ B (C, D, E), the rewriting start position X, and the position Y depending on the volume of data to be rewritten (X ⁇ Y).
- Whether or not to perform the rewriting processing is determined on the basis of the relationship to be described later between the volume of temporarily stored data and the moving distance as a result of rewriting.
- the rewriting (X ⁇ Y) of the data stored in the non-volatile memory is able to be performed without an increase up to halfway of the writing from the position X to Y.
- the rewrite operation causes an increase in the distance. If the increase is small, rewriting of most part of data can be performed within the moving distance. Since there occurs an increase due to moving for some part of tape writing, however, there is not so much advantage of writing between Read commands in this case.
- a moving operation is not performed, but new user data is written in the temporary storage area.
- the temporary storage area might run short during the writing.
- the temporary storage area can be saved.
- each of the two operations above have a correlation with the following two points.
- these two operations are determined based on the volume (use ratio) of data stored in the temporary non-volatile storage area and a moving distance from the current position to the rewriting start position.
- the volume (use ratio) of data stored in the temporary non-volatile storage area For example, in the cases of the aforementioned moving pattern 1 - b , 2 - a , and 2 - b , if movement between two points for reading involves a large increase, it is chosen in principle that the rewrite operation is not performed on the tape.
- reduction in distance as a result of the writing in the temporary storage area might be larger than the increase. In this case, it is possible to make a choice of executing the rewrite operation during the movement for Read.
- FIG. 7 illustrates the case 1 - a where an EOD which is the append writing position exists in the course of movement.
- the data stored in the buffer is not append written in the tape, but stored in the non-volatile storage area.
- the course of movement includes an append tape writing position (physical EOD) for a normal synchronization operation and a distance for writing (distance X-Y).
- the direction (X ⁇ Y) of writing data in the tape is the same as the moving direction for Read (A ⁇ B).
- the append writing position (physical EOD) and the tape writing length are included in the moving distance. If the Read direction matches the rewriting direction, it is advantageous to perform, during the movement, the operation of rewriting the data stored in the non-volatile storage area.
- FIG. 8 illustrates modes in which data is written in the tape in the case where there is no free space in the non-volatile storage area, according to several embodiments.
- the rewrite operation is unconditionally performed. Unless the rewrite operation is performed on the tape, a write operation cannot be continued because there is no free space in the non-volatile storage area. After the rewrite operation, a normal tape write operation may be performed continuously.
- the rewrite operation is performed unconditionally, because Rewind and Unload mean that the tape cartridge is used up.
- the moving target of the position B or E is the BOT of the tape.
- the positions C and D ( FIG. 5 ) cannot be the moving targets, i.e., the BOT.
- the corresponding moving patterns are 1 - a , 1 - b , 4 - a , and 4 - b .
- the rewrite operation might cause a considerable increase in moving distance.
- the moving patterns 4 - a and 4 - b correspond to this case.
- a rewrite operation is required to ensure data custody and to use the cartridge as normal when the cartridge is remounted.
- the increase in moving distance is offset by the reduction in distance by writing in the temporary storage area, except for a case where the moving pattern 4 - a is repeated in a state where the current position A is located closer to the BOT than the rewriting start position X.
- Another example is provided based on the linear recording method in which position movements for Read and Write are performed back and forth in the longitudinal direction of a tape medium.
- Append writing in movement on the tape in the tape drive is applied to a case where data is sequentially read from or written in the tape.
- the example of the present invention is applied to a case of receiving a series of commands including mixed Read and Write commands from an upper-level device (host) in the case where one cartridge is loaded in the tape drive.
- the mixed Read and Write commands included in the series of commands issued by the host to the tape drive are executed.
- a description is given of a flowchart of operations for the append write command (Write), the read command (Read) and the moving command (position) assumed for Read, according to one embodiment.
- FIG. 9 illustrates an operation flow of appended data writing (Write) in one embodiment.
- the tape drive receives a Write command in the tape position A ( FIG. 5 ) from the host.
- Data transmitted from the host, which is to be append written in the tape is stored in the buffer.
- the tape position (physical EOD) in which data is to be append written in the tape is the position X ( FIG. 5 ).
- the position Y (X ⁇ Y) is the EOD.
- a Position command causes the moving to the position X.
- the EOD after the append writing is the position Y.
- the movement from the position Y to, for example, the position B is performed by using a moving command (Position command).
- the Write command has been described with respect to only append writing in the above.
- the end of data (EOD) of write data in a tape is sequentially brought back by using a sequential moving method of the tape drive.
- the writing method of the tape drive includes Over Write in addition to the append write.
- the Over Write command is used to overwrite data (for example, a data set) having been written in a tape with new data by using the append write.
- the end of the overwrite data becomes the end of data (EOD) of the tape and the subsequent write data is treated as no data.
- FIG. 10 illustrates a flow of receiving both of the Over Write and append write commands in mixed append write and read operations. The following describes each of the steps 1 to 100 in FIG. 10 :
- the tape drive receives a write command (Write) in the mixed read and write operations. Most of the write commands received during the mixed operations are likely to be append write commands. In one embodiment, it is also assumed that the tape drive receives an Over Write command in the mixed operations. 10.
- the tape drive checks whether the received write command is an Over Write or append write command. When the command is append write, append writing (corresponding to steps 2 to 5 in FIG. 9 ) is performed in step 7. 2. When the tape drive receives the Over Write command, the processing proceeds to step 3 or 5. 3. This step is provided for a case where the tape drive receives the Over Write command and data in the tape is to be overwritten.
- the end of data which is in the tape physical position specified for data writing by the Over Write command is updated and stored as the end of data (EOD) to be append written in the tape.
- EOD end of data
- data is not written in the specified tape physical position.
- NV cache non-volatile memory
- data is treated as invalid, also with respect to data which is to be used for the append write command received before the Over Write command and which is temporarily stored in the NV cache but not yet moved to the tape.
- the EOD is temporarily stored in a non-volatile memory such as an NV cache, a cartridge memory (CM: a non-volatile memory in the tape cartridge), or a data set (data in the tape). 5.
- This step is provided for a case where the tape drive receives the Over Write command and data in the NV cache is to be overwritten.
- the end of the overwrite data in the cache is considered as the end of appended data in the cache (EOD in the cache) and the end of data is updated and stored in the non-volatile memory.
- the data after the EOD in the NV cache is treated as invalid (in other words, empty).
- data up to the updated EOD in the cache is written from the end of appended data (EOD) in the tape at an optimum time (steps 10 ⁇ 11 ⁇ 12 in FIG. 12 ) during the subsequent moving operation. 6.
- the end of appended data in the tape (EOD in the tape) and the end of appended data in the NV cache (EOD in the cache) are stored as logical EODs.
- step 7 is common to both the Over Write and append write commands. As has already been described with reference to the flow of append write ( FIG. 9 ), this step corresponds to the flow of steps 2 ⁇ (3 or 4) ⁇ 5 in FIG. 9 .
- step 3 of FIG. 9 data for the Over Write command is temporarily stored in the NV cache. Unless the data can be stored in the NV cache, the same processing as for step 4 in FIG. 9 is performed. 100: If the overwrite data is stored in the NV cache, a completion notification of the write operation is sent back to the host.
- FIG. 11 illustrates an operation flow of a synchronization (Sync) command.
- the tape drive receives a synchronization command (Sync) from the host.
- the Write command may involve a synchronization operation.
- the tape drive may receive a synchronization request implicitly specified by a position moving command in a state where data remains in the buffer as a result of a Write command.
- the data is stored in the NV cache, and then a completion notification of the synchronization is sent back to the host ( 8 ). 6. If there is no free space in the NV cache, the normal writing is performed ( 3 ) and then a completion notification of the synchronization is sent back to the host ( 8 ).
- FIG. 12 illustrates a flow of a moving operation in the case where a writing position exists in the movement between two positions.
- a moving command is received from the host.
- a logical EOD is a position where data writing is completed as an EOD for the host and the tape drive notifies the host of the position.
- a physical EOD is an internal end of data of the drive. The physical EOD is a position in which the drive completes data writing on the tape. In a state where data is written in the non-volatile memory, there are two physical EODs of “an EOD on the tape” and “an EOD in the non-volatile memory.” In a state where data is not written in the non-volatile memory, there is only one physical EOD of “an EOD on the tape.” The logical EOD in this case corresponds to the EOD on the tape. 3.
- the current position is the EOD (the EOD on the tape or the EOD in the NV cache), there is no need to move.
- a completion notification of the movement is sent back to the host ( 4 ).
- the Write flow ( 6 , FIG. 9 or FIG. 10 ) and then the synchronization command flow ( 7 , FIG. 11 ) are executed.
- the current position is not the logical EOD ( 2 )
- a moving command (A ⁇ B) for Read transmitted from the host is executed.
- a completion notification of the movement is sent back to the host ( 13 ). 10. If data exists in the NV cache, it is determined whether writing should be performed during movement.
- an EOD for data writing exists on the way during movement, the writing is determined to be executed. 11. If the data should be written, the data in the NV cache is rewritten in the tape from the EOD on the tape ( 12 ). 12. Normal movement is performed ( 9 ). If it is determined in step 10 that the data should not be written during movement, simply movement (A ⁇ B) is performed ( 9 ). Then, a completion notification of the movement is sent back to the host ( 13 ).
- the above example has been described with respect to the movement between Read commands in the series of commands including mixed Write and Read commands.
- the scope of the present invention is not limited to this example, and is provided on the assumption that the completion of a synchronization operation is ensured in writing in a non-volatile storage area.
- the scope of the present invention includes substantial tape writing of data stored in the non-volatile storage area if there is a chance of subsequently encountering a target tape position in a subsequent movement on the tape.
- a lowest-layer tape library receives a series of commands including mixed Read and Write commands. The tape drive with one cartridge loaded thereon has many chances in which tape writing positions for the write and synchronization commands overlap in movement for subsequent Read commands.
- the library system in various embodiments exerts an advantageous effect of avoiding a replacement by unloading and loading of a cartridge exclusively for writing or reading.
- the system in various embodiments has an advantageous effect of achieving the speed-up as a whole even in the case where an overwrite operation is included in mixed read and write operations by minimizing the moving operation involved with data writing.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Multimedia (AREA)
- Signal Processing For Digital Recording And Reproducing (AREA)
Abstract
Description
3. The temporarily stored data is rewritten later in the originally intended recording position. Normally, the data is left in the buffer, and rereading from the temporary storage area is not required in the rewriting.
4. The rewrite operation is performed as a moving operation in a subsequent process.
5. If data in the buffer is lost due to accidental powering-off, the data is read from the temporary non-volatile storage area as processing of recovery from an error, and then is written in the originally intended recording position.
2. In the tape drive, appended data is temporarily stored in the non-volatile storage area to delay an append write operation in the tape to the originally intended end of write data, such as physical end of data (EOD) on the tape. Separately, at a convenient time, a rewrite operation is started at the originally intended end of data (EOD) on the tape.
(1) The non-volatile storage area is used to ensure that data may always be read from the tape cartridge (or the tape drive) after sending back a completion notification of processing in response to a synchronization request from the host. (2) The non-volatile storage area is hidden from the host. Specifically, when a read operation occurs after a write operation, data is read from the non-volatile storage area as if the data were written at the originally intended position.
-
- A distance in the longitudinal direction of the tape is considered.
- Rewriting is assumed to be performed during moving from the current position A to a moving target position B (C, D, E).
- Relationships among a rewriting start position X, a completion position Y, and the moving target position B (C, D, E) viewed from the current position A are classified.
1. The moving target position B is located in the same direction as the rewriting start position X and the completion position Y, and is farther from the current position A than the rewriting start position X and the completion position Y.
2. The moving target position C is located in the same direction as the rewriting start position X and the completion position Y, and is located between the rewriting start position X and the completion position Y.
3. The moving target position D is located in the same direction as the rewriting start position X and the completion position Y, and is closer to the current position A than the rewriting start position X and the completion position Y.
4. The moving target position E is located in an opposite direction to the rewriting start position X and the completion position Y with respect to the current position A.
2. In the case of the same direction, the distance increases by a difference between the movement of the position X→Y→C and the movement of the position X→C (2-a). In the case of the opposite direction, the movement of the position A→C is the same as the movement of the position A→Y→C, and therefore the moving distance increases by a distance of a reciprocation between the positions Y and X (2-b).
3. In the case of the same direction, the movement of the position A→X is the same as the movement of the position A→D→X, and therefore the distance increases by a distance of a movement of the position D→X→Y→D (3-a). In the case of the opposite direction, the movement of the position A→X is the same as the movement of the position A→D→Y→X, and therefore the moving distance increases by a distance of a movement of the position D→Y→X→Y→D (3-b).
4. In each of the directions, the distance increases by a distance of a movement of the position A→X→Y→A (4-a, 4-b).
By omitting the write and synchronization operations, the moving distance is made equal or reduced regardless of the moving target position after rewriting. The moving distance can be reduced in the rewrite operation when the moving distance has the converse relation with the moving distance in the synchronization operation.
3. When a plurality of synchronization operations are omitted and if a rewrite operation for data stored in the non-volatile memory can be executed in the course of movement for a plurality of subsequent Read operations, the total moving distance of the series of commands including mixed Read/Write commands is always reduced
2. Referring again to
3. When there is a free space, the data is stored in the NV cache.
4. When there is no free space, perform normal writing on the data.
5. In each of the above two cases, a completion notification of the write operation is sent back to the host upon completion of the writing.
10. The tape drive checks whether the received write command is an Over Write or append write command. When the command is append write, append writing (corresponding to
2. When the tape drive receives the Over Write command, the processing proceeds to step 3 or 5.
3. This step is provided for a case where the tape drive receives the Over Write command and data in the tape is to be overwritten.
The end of data which is in the tape physical position specified for data writing by the Over Write command is updated and stored as the end of data (EOD) to be append written in the tape. At this point, data is not written in the specified tape physical position. In the
5. This step is provided for a case where the tape drive receives the Over Write command and data in the NV cache is to be overwritten.
In some cases, there is data which is to be used for the append write command received before the Over Write command and which is temporarily stored in the NV cache but not yet moved to the tape. The data in the NV cache is overwritten. The end of the overwrite data in the cache is considered as the end of appended data in the cache (EOD in the cache) and the end of data is updated and stored in the non-volatile memory. The data after the EOD in the NV cache is treated as invalid (in other words, empty). Finally, data up to the updated EOD in the cache is written from the end of appended data (EOD) in the tape at an optimum time (
6. As a result of the overwriting, the end of appended data in the tape (EOD in the tape) and the end of appended data in the NV cache (EOD in the cache) are stored as logical EODs. The higher-level device (host) does not recognize whether the appended data exists in the NV cache or in the tape.
7. This step is common to both the Over Write and append write commands. As has already been described with reference to the flow of append write (
100: If the overwrite data is stored in the NV cache, a completion notification of the write operation is sent back to the host.
2. It is checked whether data is already being written in the tape.
3. If data is being written, the normal append writing is performed on the tape through the normal synchronization processing.
4. If data is not being written, it is checked whether data can be written in the NV cache. In other words, the check is made by determining whether there is the following area.
5. If there is a free space in the NV cache, the data is stored in the NV cache, and then a completion notification of the synchronization is sent back to the host (8).
6. If there is no free space in the NV cache, the normal writing is performed (3) and then a completion notification of the synchronization is sent back to the host (8).
3. If the current position is the EOD (the EOD on the tape or the EOD in the NV cache), there is no need to move. A completion notification of the movement is sent back to the host (4). The Write flow (6,
8. If the current position is not the logical EOD (2), it is checked whether data exists in the NV cache.
9. If data does not exist in the NV cache, a moving command (A→B) for Read transmitted from the host is executed. Then, a completion notification of the movement is sent back to the host (13).
10. If data exists in the NV cache, it is determined whether writing should be performed during movement. For example, if an EOD for data writing exists on the way during movement, the writing is determined to be executed.
11. If the data should be written, the data in the NV cache is rewritten in the tape from the EOD on the tape (12).
12. Normal movement is performed (9). If it is determined in
Claims (20)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US14/836,874 US9330713B2 (en) | 2011-06-24 | 2015-08-26 | Linear recording executing optimum writing upon receipt of series of commands including mixed read and write commands |
Applications Claiming Priority (6)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011-141259 | 2011-06-24 | ||
JP2011141259 | 2011-06-24 | ||
PCT/JP2012/060139 WO2012176539A1 (en) | 2011-06-24 | 2012-04-13 | Linear-recording device for performing optimal writing on receipt of command string of combined read and write commands, method for same, and program |
US201414126839A | 2014-04-21 | 2014-04-21 | |
US14/566,620 US9135949B2 (en) | 2011-06-24 | 2014-12-10 | Linear recording executing optimum writing upon receipt of series of commands including mixed read and write commands |
US14/836,874 US9330713B2 (en) | 2011-06-24 | 2015-08-26 | Linear recording executing optimum writing upon receipt of series of commands including mixed read and write commands |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US14/566,620 Continuation US9135949B2 (en) | 2011-06-24 | 2014-12-10 | Linear recording executing optimum writing upon receipt of series of commands including mixed read and write commands |
Publications (2)
Publication Number | Publication Date |
---|---|
US20150370714A1 US20150370714A1 (en) | 2015-12-24 |
US9330713B2 true US9330713B2 (en) | 2016-05-03 |
Family
ID=47422386
Family Applications (3)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US14/126,839 Active US8929020B2 (en) | 2011-06-24 | 2012-04-13 | Linear recording device for executing optimum writing upon receipt of series of commands including mixed read and write commands and method and program thereof |
US14/566,620 Expired - Fee Related US9135949B2 (en) | 2011-06-24 | 2014-12-10 | Linear recording executing optimum writing upon receipt of series of commands including mixed read and write commands |
US14/836,874 Active US9330713B2 (en) | 2011-06-24 | 2015-08-26 | Linear recording executing optimum writing upon receipt of series of commands including mixed read and write commands |
Family Applications Before (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US14/126,839 Active US8929020B2 (en) | 2011-06-24 | 2012-04-13 | Linear recording device for executing optimum writing upon receipt of series of commands including mixed read and write commands and method and program thereof |
US14/566,620 Expired - Fee Related US9135949B2 (en) | 2011-06-24 | 2014-12-10 | Linear recording executing optimum writing upon receipt of series of commands including mixed read and write commands |
Country Status (6)
Country | Link |
---|---|
US (3) | US8929020B2 (en) |
JP (1) | JP5552195B2 (en) |
CN (1) | CN103534759B (en) |
DE (1) | DE112012002622B4 (en) |
GB (1) | GB2506555B (en) |
WO (1) | WO2012176539A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11823709B2 (en) | 2021-08-12 | 2023-11-21 | International Business Machines Corporation | Write performance by enabling host data transfer immediately after a reposition command |
Families Citing this family (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103534759B (en) | 2011-06-24 | 2016-05-25 | 国际商业机器公司 | For carrying out linear recording equipment and the manner of execution thereof that optimum writes |
US9268676B2 (en) | 2013-01-04 | 2016-02-23 | International Business Machines Corporation | Data storage mechanism using storage system determined write locations |
JP5932877B2 (en) * | 2014-04-15 | 2016-06-08 | インターナショナル・ビジネス・マシーンズ・コーポレーションInternational Business Machines Corporation | Reduce the time required to write files to tape media |
US10719236B2 (en) * | 2015-11-20 | 2020-07-21 | Arm Ltd. | Memory controller with non-volatile buffer for persistent memory operations |
US9847133B2 (en) * | 2016-01-19 | 2017-12-19 | Ememory Technology Inc. | Memory array capable of performing byte erase operation |
US11175853B2 (en) * | 2017-05-09 | 2021-11-16 | Samsung Electronics Co., Ltd. | Systems and methods for write and flush support in hybrid memory |
CN110018784B (en) * | 2018-01-09 | 2023-01-10 | 阿里巴巴集团控股有限公司 | Data processing method and device and computing equipment |
US11386925B2 (en) | 2020-08-25 | 2022-07-12 | Western Digital Technologies, Inc. | Data storage device compensating for head/tape wear |
US11809731B2 (en) | 2021-09-28 | 2023-11-07 | International Business Machines Corporation | Appending data to a tape cartridge during recall operations |
US11853580B1 (en) | 2022-06-30 | 2023-12-26 | International Business Machines Corporation | Data migration management based on data location |
US12087331B2 (en) * | 2022-12-19 | 2024-09-10 | International Business Machines Corporation | Retaining high resolution tape directory in overwritten end of data set |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000048549A (en) | 1998-08-03 | 2000-02-18 | Fujitsu Ltd | Tape device |
US6715033B2 (en) | 2001-03-06 | 2004-03-30 | Hewlett-Packard Development Company, L.C. | Method of and apparatus for tracking appended data on storage medium |
US6839801B2 (en) * | 2003-01-06 | 2005-01-04 | International Business Machines Corporation | Deferred writing of data to be synchronized on magnetic tape employing a non-volatile store |
US20080162803A1 (en) | 2006-12-27 | 2008-07-03 | Kabushiki Kaisha Toshiba | Magnetic disk apparatus and method of controlling the same |
US20090177947A1 (en) | 2008-01-08 | 2009-07-09 | Setsuko Masuda | Method for appending data to tape medium, and apparatus employing the same |
US20090296120A1 (en) | 2008-06-03 | 2009-12-03 | Canon Kabushiki Kaisha | Image processing apparatus, control method therefor, program, and storage medium |
US20110122522A1 (en) | 2009-11-26 | 2011-05-26 | International Business Machines Corporation | Tape Recorder And Tape Recording That Increases Empty Tape Area Without Loss of Necessary Data |
US20110157741A1 (en) | 2009-12-25 | 2011-06-30 | International Business Machines Corporation | Linear recording device for executing optimum writing upon receipt of series of commands including mixed read and write commands and a method for executing the same |
US20110176238A1 (en) | 2010-01-15 | 2011-07-21 | International Business Machines Corporation | Apparatus for controlling writing data and method for the same |
WO2012176539A1 (en) | 2011-06-24 | 2012-12-27 | インターナショナル・ビジネス・マシーンズ・コーポレーション | Linear-recording device for performing optimal writing on receipt of command string of combined read and write commands, method for same, and program |
US8400897B2 (en) | 2010-12-24 | 2013-03-19 | International Business Machines Corporation | Migrating data from one recording medium to another |
US20140379980A1 (en) | 2013-06-21 | 2014-12-25 | International Business Machines Corporation | Selective duplication of tape cartridge contents |
-
2012
- 2012-04-13 CN CN201280022782.8A patent/CN103534759B/en active Active
- 2012-04-13 US US14/126,839 patent/US8929020B2/en active Active
- 2012-04-13 WO PCT/JP2012/060139 patent/WO2012176539A1/en active Application Filing
- 2012-04-13 GB GB1400356.0A patent/GB2506555B/en active Active
- 2012-04-13 DE DE112012002622.5T patent/DE112012002622B4/en active Active
- 2012-04-13 JP JP2013521496A patent/JP5552195B2/en active Active
-
2014
- 2014-12-10 US US14/566,620 patent/US9135949B2/en not_active Expired - Fee Related
-
2015
- 2015-08-26 US US14/836,874 patent/US9330713B2/en active Active
Patent Citations (26)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6763427B1 (en) | 1998-08-03 | 2004-07-13 | Fujitsu Limited | Optimizing the execution sequence in a tape apparatus in order to minimize tape traveling distance |
JP2000048549A (en) | 1998-08-03 | 2000-02-18 | Fujitsu Ltd | Tape device |
US6715033B2 (en) | 2001-03-06 | 2004-03-30 | Hewlett-Packard Development Company, L.C. | Method of and apparatus for tracking appended data on storage medium |
US6839801B2 (en) * | 2003-01-06 | 2005-01-04 | International Business Machines Corporation | Deferred writing of data to be synchronized on magnetic tape employing a non-volatile store |
US7853761B2 (en) | 2006-12-27 | 2010-12-14 | Kabushiki Kaisha Toshiba | Classifying write commands into groups based on cumulated flush time |
US20080162803A1 (en) | 2006-12-27 | 2008-07-03 | Kabushiki Kaisha Toshiba | Magnetic disk apparatus and method of controlling the same |
JP2008165881A (en) | 2006-12-27 | 2008-07-17 | Toshiba Corp | Magnetic disk device and its control method |
CN101226505A (en) | 2006-12-27 | 2008-07-23 | 株式会社东芝 | Magnetic disk apparatus and method of controlling the same |
US8397136B2 (en) | 2008-01-08 | 2013-03-12 | International Business Machines Corporation | Method for appending data to tape medium, and apparatus employing the same |
US20090177947A1 (en) | 2008-01-08 | 2009-07-09 | Setsuko Masuda | Method for appending data to tape medium, and apparatus employing the same |
US8373896B2 (en) | 2008-06-03 | 2013-02-12 | Canon Kabushiki Kaisha | Image processing apparatus, control method therefor, program, and storage medium |
US20090296120A1 (en) | 2008-06-03 | 2009-12-03 | Canon Kabushiki Kaisha | Image processing apparatus, control method therefor, program, and storage medium |
JP2009294309A (en) | 2008-06-03 | 2009-12-17 | Canon Inc | Image forming apparatus, control method for the same, program and storage medium |
US20110122522A1 (en) | 2009-11-26 | 2011-05-26 | International Business Machines Corporation | Tape Recorder And Tape Recording That Increases Empty Tape Area Without Loss of Necessary Data |
JP2011113605A (en) | 2009-11-26 | 2011-06-09 | Internatl Business Mach Corp <Ibm> | Tape recorder and tape recording method |
US8477440B2 (en) | 2009-11-26 | 2013-07-02 | International Business Machines Corporation | Tape recorder and tape recording that increases empty tape area without loss of necessary data |
US20110157741A1 (en) | 2009-12-25 | 2011-06-30 | International Business Machines Corporation | Linear recording device for executing optimum writing upon receipt of series of commands including mixed read and write commands and a method for executing the same |
JP2011134413A (en) | 2009-12-25 | 2011-07-07 | Internatl Business Mach Corp <Ibm> | Device of linear recording system executing optimum write when receiving command sequence in which read and write commands are mixed, method of the same, and program |
US20110176238A1 (en) | 2010-01-15 | 2011-07-21 | International Business Machines Corporation | Apparatus for controlling writing data and method for the same |
US8400897B2 (en) | 2010-12-24 | 2013-03-19 | International Business Machines Corporation | Migrating data from one recording medium to another |
WO2012176539A1 (en) | 2011-06-24 | 2012-12-27 | インターナショナル・ビジネス・マシーンズ・コーポレーション | Linear-recording device for performing optimal writing on receipt of command string of combined read and write commands, method for same, and program |
US20140226236A1 (en) | 2011-06-24 | 2014-08-14 | International Business Machines Corporation | Linear recording device for executing optimum writing upon receipt of series of commands including mixed read and write commands and method and program thereof |
US8929020B2 (en) | 2011-06-24 | 2015-01-06 | International Business Machines Corporation | Linear recording device for executing optimum writing upon receipt of series of commands including mixed read and write commands and method and program thereof |
US20150098148A1 (en) | 2011-06-24 | 2015-04-09 | International Business Machines Corporation | Linear recording device for executing optimum writing upon receipt of series of commands including mixed read and write commands and method and program for executing the same |
US9135949B2 (en) * | 2011-06-24 | 2015-09-15 | International Business Machines Corporation | Linear recording executing optimum writing upon receipt of series of commands including mixed read and write commands |
US20140379980A1 (en) | 2013-06-21 | 2014-12-25 | International Business Machines Corporation | Selective duplication of tape cartridge contents |
Non-Patent Citations (10)
Title |
---|
Bell, T., "Tape Efficiency," https:fltwiki.cern.ch/twiki/pub/FIOgroup/TapeRefCernUsageNov2007/tape-usage-efficiencLv05.pdf, Nov. 2007, pp. 1-19. |
International Preliminary Report from International Application No. PCT/JP2012/060139, dated Mar. 6, 2014. |
International Search Report and Written Opinion from PCT Application No. PCT/JP2012/060139, dated May 29, 2012. |
Non-Final Office Action from U.S. Appl. No. 14/126,839, dated Jun. 5, 2014. |
Non-Final Office Action from U.S. Appl. No. 14/566,620, dated Jan. 16, 2015. |
Notice of Allowance from U.S. Appl. No. 14/126,839, dated Aug. 28, 2014. |
Notice of Allowance from U.S. Appl. No. 14/566,620, dated May 8, 2015. |
Osborne, T., "Castor Monitoring," http://castorweb.cern.ch/castorold/presentations/2006/Review/Castor-Monitoring.pdf, 2006, pp. 1-60. |
Shiratori et al., U.S. Appl. No. 14/126,839, filed Apr. 21, 2014. |
Shiratori et al., U.S. Appl. No. 14/566,620, filed Dec. 10, 2014. |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11823709B2 (en) | 2021-08-12 | 2023-11-21 | International Business Machines Corporation | Write performance by enabling host data transfer immediately after a reposition command |
Also Published As
Publication number | Publication date |
---|---|
US9135949B2 (en) | 2015-09-15 |
US20150098148A1 (en) | 2015-04-09 |
GB2506555B (en) | 2019-02-06 |
CN103534759B (en) | 2016-05-25 |
CN103534759A (en) | 2014-01-22 |
JP5552195B2 (en) | 2014-07-16 |
DE112012002622B4 (en) | 2017-01-26 |
GB201400356D0 (en) | 2014-02-26 |
US20150370714A1 (en) | 2015-12-24 |
GB2506555A (en) | 2014-04-02 |
WO2012176539A1 (en) | 2012-12-27 |
DE112012002622T5 (en) | 2014-04-17 |
US20140226236A1 (en) | 2014-08-14 |
US8929020B2 (en) | 2015-01-06 |
JPWO2012176539A1 (en) | 2015-02-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9330713B2 (en) | Linear recording executing optimum writing upon receipt of series of commands including mixed read and write commands | |
US9601141B2 (en) | Linear recording device for executing optimum writing upon receipt of series of commands including mixed read and write commands and a method for executing the same | |
US10915244B2 (en) | Reading and writing via file system for tape recording system | |
US9025271B2 (en) | Method for reading file using plurality of tape media | |
US9053745B2 (en) | Method for writing file on tape medium that can be read at high speed | |
JP3870215B1 (en) | Data writing / reading control method for tape recorder | |
US20180046397A1 (en) | Method of writing a file to a plurality of media and a storage system thereof | |
JP5885298B2 (en) | Data writing method and program in tape drive | |
JP5325128B2 (en) | Apparatus and method for controlling data writing | |
US8964327B2 (en) | Tape storage device, data writing method, and program | |
US20150095566A1 (en) | Reading Speed of Updated File by Tape Drive File System | |
EP2671147B1 (en) | System and method for storing data with host configuration of storage media | |
US20160012073A1 (en) | Method of managing, writing, and reading file on tape | |
JP5437371B2 (en) | Tape storage system including a plurality of tape recording devices | |
JP2012181896A (en) | Control method of magnetic tape device, magnetic tape device, and control program thereof | |
JP2014215668A (en) | Method and program for writing data to tape drive | |
JP5044822B2 (en) | Apparatus and method for writing data to tape medium | |
JP2013045474A (en) | Magnetic tape device, cyclic recording control method for magnetic tape, and control program thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
AS | Assignment |
Owner name: INTERNATIONAL BUSINESS MACHINES CORPORATION, NEW Y Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:SHIRATORI, TOSHIYUKI;TAGUCHI, KOHEI;REEL/FRAME:036431/0416 Effective date: 20131216 |
|
STCF | Information on status: patent grant |
Free format text: PATENTED CASE |
|
MAFP | Maintenance fee payment |
Free format text: PAYMENT OF MAINTENANCE FEE, 4TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1551); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY Year of fee payment: 4 |
|
MAFP | Maintenance fee payment |
Free format text: PAYMENT OF MAINTENANCE FEE, 8TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1552); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY Year of fee payment: 8 |