For IR R2.0, the only external tape drive that is supported is the Sun StorEdge DAT 72 Tape Drive.
To install the Sun StorEdge DAT 72 Tape Drive with the Sun Fire V240 platform or the Sun Fire 280R platform, perform the following steps:
CAUTION: Static electricity can damage the components of your tape drive. Always wear an antistatic wriststrap if possible. If it is not possible to wear an antistatic wriststrap, to equalize the electromagnetic charges, touch a bare metal part of the server (such as the back plate) before you remove the tape drive from its bag.
Note: Your SCSI interface cable is not shipped with the IR system, and should be provided when you purchase your Sun StorEdge DAT 72 external tape drive
ls /dev/rmt
to list the any existing raw tape devices.devfsadm
to load every driver in the system and attach to all possible device instances. After this command has been executed, your IR system should detect the presence of your tape driveNote: This command may take some time to execute.
ls /dev/rmt
to ensure your Sun StorEdge DAT 72 external tape drive is listed. the output of the ls /dev/rmt
command is displayed on the screen as shown below.irv240dev4(root)# ls /dev/rmt
0 0b 0bn 0c 0cb 0cbn 0cn
0h 0hb 0hbn 0hn 0l 0lb 0lbn
0ln 0m 0mb 0mbn 0mn 0n 0u
0ub 0ubn 0un
All these names listed above refer to the first tape drive connected to the system, and these names have a prefix of "0". If this is the second drive connected to the system, then the names have a prefix of 1n.
Note: If after running the "devfsadm" /dev/rmt command, the result does not display the tape drive listing, then the SCSI connector is probably faulty, or not connected properly. Reconnect the SCSI connector and retry the "devfsadm" command.
mt -f/dev/rmt/0n
command to check the status of the tape drive. In this command, 0n
denotes the tape drive being use.There are 5 possible outputs, to the command used above:
irv240dev4(root)# mt -f /dev/rmt/0n status
HP DAT-72 tape drive:
sense key(0x0)= No Additional Sense residual= 0 retries= 0
file no= 4 block no= 0
In this case, since the value of the sense key = No Additional Sense, the tape drive is ready.
irv240dev4(root)# mt -f /dev/rmt/0n status
HP DAT-72 tape drive:
sense key(0x6)= Unit Attention residual= 0 retries= 0
file no= 0 block no= 0
In this case, since the value of the sense key = Unit Attention, the drive is ready. It is similar to the first case, but here, either the drive has been activated for the first time, or is being operated after a long time, or is being operated after a system reset.
irv240dev4(root)# mt -f /dev/rmt/0n status
/dev/rmt/0n: Device busy
In this case, the drive is busy. It is carrying out an operation like read, write, rewind, forward, etc. You should retry the command after some time, when the current system operations have ended.
irv240dev4(root)# mt -f /dev/rmt/1n status
/dev/rmt/1n: No such file or directory
In this case, an incorrect device name has been used. (/dev/rmt/1n). Retry using the correct name.
irv240dev4(root)# mt -f /dev/rmt/0n status
/dev/rmt/0n: no tape loaded or drive offline
In this case, the drive does not have any cartridge.
To install the Sun StorEdge DAT 72 Tape Drive with the Sunblade 150, perform the following steps:
CAUTION: Static electricity can damage the components of your tape drive. Always wear an antistatic wriststrap if possible. If it is not possible to wear an antistatic wriststrap, to equalize the electromagnetic charges, touch a bare metal part of the server (such as the back plate) before you remove the tape drive from its bag.
Note: Your SunBlade 150 system does not have an external SCSI interface.
ls /dev/rmt
to list the any existing raw tape devices.devfsadm
to load every driver in the system and attach to all possible device instances. After this command has been executed, your IR system should detect the presence of your tape driveNote: This command may take some time to execute.
ls /dev/rmt
to ensure your Sun StorEdge DAT 72 external tape drive is listed. The output of the ls /dev/rmt
command is displayed on the screen as shown below.irv240dev4(root)# ls /dev/rmt
0 0b 0bn 0c 0cb 0cbn 0cn
0h 0hb 0hbn 0hn 0l 0lb 0lbn
0ln 0m 0mb 0mbn 0mn 0n 0u
0ub 0ubn 0un
All these names listed above refer to the first tape drive connected to the system, and these names have a prefix of "0". If this is the second drive connected to the system, then the names have a prefix of 1n.
Note: If after running the "devfsadm" /dev/rmt command, the result does not display the tape drive listing, then the SCSI connector is probably faulty, or not connected properly. Reconnect the SCSI connector and retry the "devfsadm" command.
mt -f/dev/rmt/0n
command to check the status of the tape drive. In this command, 0n
denotes the tape drive being use.There are 5 possible outputs, to the command used above:
irv240dev4(root)# mt -f /dev/rmt/0n status
HP DAT-72 tape drive:
sense key(0x0)= No Additional Sense residual= 0 retries= 0
file no= 4 block no= 0
In this case, since the value of the sense key = No Additional Sense, the tape drive is ready.
irv240dev4(root)# mt -f /dev/rmt/0n status
HP DAT-72 tape drive:
sense key(0x6)= Unit Attention residual= 0 retries= 0
file no= 0 block no= 0
In this case, since the value of the sense key = Unit Attention, the drive is ready. It is similar to the first case, but here, either the drive has been activated for the first time, or is being operated after a long time, or is being operated after a system reset.
irv240dev4(root)# mt -f /dev/rmt/0n status
/dev/rmt/0n: Device busy
In this case, the drive is busy. It is carrying out an operation like read, write, rewind, forward, etc. You should retry the command after some time, when the current system operations have ended.
irv240dev4(root)# mt -f /dev/rmt/1n status
/dev/rmt/1n: No such file or directory
In this case, an incorrect device name has been used. (/dev/rmt/1n). Retry using the correct name.
irv240dev4(root)# mt -f /dev/rmt/0n status
/dev/rmt/0n: no tape loaded or drive offline
In this case, the drive does not have any cartridge.