|
|
What is the tape drive called? |
The tape drive device files are in /dev/rmt/* ctape1 For rewinding, non retensioning
ntape1 For non rewinding, non retensioning
rtape1 For rewinding, retensioning
nrtape1 For non rewinding, retensioning
utape1 For unloading the tape after the operation.
Tape devices can also have c#b#t#l#. The c, b, t, and l stand for:
c# is the controller number (like c0 or c1 for each HBA card or IDE).
b# is the bus number of the HBA. This is usually 0, as in b0.
t# is the scsi id (or scsi target id) of the device you are naming.
l# is the lun number (also usually 0 as in d0).
where on a disk drive
d# is the lun number (also usually 0 as in d0).
The first device on each list is the easiest to remember, but all devices in a column are equivalent. In this scsi setup, the tape device is at scsi id=2. Rew/Non-Ret Non-Rew/Non-Ret Rew/Ret Non-Rew/Ret
ctape1 ntape1 rtape1 nrtape1
c0s0 c0s0n c0s0r c0s0nr
c0b0t2l0 c0b0t2l0n c0b0t2l0r c0b0t2l0nr
Unload after op
utape1
c0b0t2l0u
Use a device like ctape2 if you have a second drive. Substitute a 2 if you are using the second tape drive. Usually we find ourselves using /dev/rmt/ctape1 for common cpio and tar tasks.
| |
| [Append to This Answer] |
| Previous: |
|
| Next: |
|
| ||||||||