ITEM: D4888L

How to write one file after another on a tape drive.




Question:

I would like to be able to write one file to a tape, then another
immediately after it , etc.  These files are not in the same
filesystem so I will have to write them one at a time.  What command
would I use to accomplish this?

Response:

To write one file after another on a tape drive, you would simply use
the no rewind device for every file except the last file.  The no
rewind device is rmtX.1.

Question:

I re-read the tape after writing multiple files to images and it
always reads only the last file written. Also, how can I specify
both a low-density (rmt0.4) and a no-rewind (rmt0.1) device?

Response:

Customer was not using the no-rewind option when reading the tape so
it was rewinding after reading each file and they then ended up
reading the same file again. Had them use a no-rewind option for the
reads so it will read the tape files consecutively.

To use a no-rewind and low-density option, use rmt0.5 (for low-density,
always add .4 to the tape drive name (rmt0.4 for regular rewind or
rmt0.5 (.1 + .4) for no-rewind)


Support Line: How to write one file after another on a tape drive. ITEM: D4888L
Dated: August 1993 Category: N/A
This HTML file was generated 99/06/24~13:30:57
Comments or suggestions? Contact us