Scsi Tape Drive on RH 6.2?

Scsi Tape Drive on RH 6.2?

Post by Neal Rhode » Sat, 09 Sep 2000 04:01:58



Ok, I've got a working RH 6.2 system, Scsi controller(s).  I've got
a shiny new external VXA tape drive and cable.   And I've read every
How-to I could find on what happens next to make the linux system
aware of the tape drive, and what device names I should use to access
it.

Can anyone point me in a direction?
--

------------------------------------------------------------------------------
Neal Rhodes                       MNOP Ltd                     (770)-
972-5430
President                Lilburn (atlanta) GA 30247             Fax:
978-4741

                          http://www.mnopltd.com/

 
 
 

Scsi Tape Drive on RH 6.2?

Post by Christopher A. Steven » Sat, 09 Sep 2000 04:38:52



> Ok, I've got a working RH 6.2 system, Scsi controller(s).  I've got
> a shiny new external VXA tape drive and cable.   And I've read every
> How-to I could find on what happens next to make the linux system
> aware of the tape drive, and what device names I should use to access
> it.

> Can anyone point me in a direction?
> --

Not a redhat user, so I don't have detailed instructions, but the scsi
device for  tape drives is
st# as in /dev/st0, /dev/st1, etc.

Watch bootup or do a "dmesg" and look for the kernel detecting SCSI
device st0 and the tape drive name.
If not there, then you need to install the kernel module for the scsi
tape support called st.o using whatever configuration tool is available
for redhat.

From the command line, you can do (as root), "/sbin/insmod st" as a
temporary solution until you get redhat configured to load the module
for you.

 
 
 

Scsi Tape Drive on RH 6.2?

Post by John Thompso » Sun, 10 Sep 2000 05:11:04



> Ok, I've got a working RH 6.2 system, Scsi controller(s).  I've got
> a shiny new external VXA tape drive and cable.   And I've read every
> How-to I could find on what happens next to make the linux system
> aware of the tape drive, and what device names I should use to access
> it.

> Can anyone point me in a direction?

Using SCSI devices in linux is usually just making sure you have
SCSI support available, either in the kernel or as a module.
Hook up the hardware, power up, and the device should be
detected.  As far as what device names to use, look in
/usr/src/linux/Documentation/devices.txt:

 9 char        SCSI tape devices
                  0 = /dev/st0          First SCSI tape, mode 0
                  1 = /dev/st1          Second SCSI tape, mode 0
                    ...
                 32 = /dev/st0l         First SCSI tape, mode 1
                 33 = /dev/st1l         Second SCSI tape, mode 1
                    ...
                 64 = /dev/st0m         First SCSI tape, mode 2
                 65 = /dev/st1m         Second SCSI tape, mode 2
                    ...
                 96 = /dev/st0a         First SCSI tape, mode 3
                 97 = /dev/st1a         Second SCSI tape, mode 3
                      ...
                128 = /dev/nst0         First SCSI tape, mode 0,
no rewind
                129 = /dev/nst1         Second SCSI tape, mode 0,
no rewind
                    ...
                160 = /dev/nst0l        First SCSI tape, mode 1,
no rewind
                161 = /dev/nst1l        Second SCSI tape, mode 1,
no rewind
                    ...
                192 = /dev/nst0m        First SCSI tape, mode 2,
no rewind
                193 = /dev/nst1m        Second SCSI tape, mode 2,
no rewind
                    ...
                224 = /dev/nst0a        First SCSI tape, mode 3,
no rewind
                225 = /dev/nst1a        Second SCSI tape, mode 3,
no rewind

--


 
 
 

Scsi Tape Drive on RH 6.2?

Post by frank » Thu, 14 Sep 2000 08:55:24



> Ok, I've got a working RH 6.2 system, Scsi controller(s).  I've got
> a shiny new external VXA tape drive and cable.   And I've read every
> How-to I could find on what happens next to make the linux system
> aware of the tape drive, and what device names I should use to access
> it.

> Can anyone point me in a direction?
> --

> ------------------------------------------------------------------------------
> Neal Rhodes                       MNOP Ltd                     (770)-
> 972-5430
> President                Lilburn (atlanta) GA 30247             Fax:
> 978-4741

>                           http://www.mnopltd.com/

...and once you get the system to recognize your drive, just
insert a tape into the unit and try this command:

        mt -f /dev/rst0 status
                   ^^^^
           or whatever is reported
         to be the assigned dev name

"mt" is a nice tool for doing things with SCSI tapes. Other
commands you can use besides "status" are "offline" (unload)
"erase", "fsf" (file-skip-forward), "rewind".  

Try "man mt" for a more complete synopsis.

ed
--
  Ed Franks                      |  Contracted to :    
  SysAdmin - Solaris/SunOS/Linux |    CIO Office    
  UNISYS Federal Systems         |    Air Force Research Lab
  Albuquerque, New Mexico        |    Kirtland AFB

 
 
 

1. SCSI tape drive on RH 6.2 error

I'm having a problem with installation of a Sony SDT-11000 SCSI tape drive
in a SuperMicro 6021-H running RedHat 6.2 (software dependencies dictate
running this version and it is a supported drive). The drive is recognized
on bootup as an SDT-10000. mt status reports no errors. Running mt erase
results in a busy light flashing on the drive and a further mt status gives
a device or resource busy error until machine is rebooted. The machine has
two controllers and the tape drive is the only device on one of the
controllers, the cable is < 1 meter, the tape drive is connected to the
next to the last connector on the cable, and a terminator is installed in
the last connector position. Any ideas? TIA.

Cheers,

Jim

2. getty problems

3. RH 6.2 IDE Tape Drive

4. using Grep

5. Colorado Tape worked w/RH 5.2, not w/RH 6.2

6. Trident 9680 or 9660

7. ADAPTEC 1542B DOES NOT RECOGNIZE SCSI TAPE DRIVE AND SCSI TAPE ?

8. RH51: compiled 2035 and...

9. Tape Drive Support: HP c1533A DDS-2 SCSI TAPE DRIVE

10. IDE Tape STT220000a and RH 6.2

11. ATL tape library and RH 6.2

12. Replaced scsi hard drive can no longer find scsi tape drive

13. Promblems with SCSI in RH 6.2