Sponsored Content
Operating Systems Linux Red Hat manually add tape drive in linux Post 302332050 by graboid888 on Wednesday 8th of July 2009 04:22:43 AM
Old 07-08-2009
manually add tape drive in linux

Hi Guys..
Good day to all. This is my first time to install the OS, Red Hat. Anyway, the purpose of installing Linux is to see how tape drive works with this OS.
Now what i have done so far is to connect and install my scsi card but when i connected two different tape drives, the Linux system is not able to detect the tape drive.

By executing the command:

cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel:00 Id:00 Lun: 00
Vendor: Quantum Model: ATLAS IV 18 SCA Rev: 0808
Type: Direct-Access ANSI SCSI Revision:03

then when I tried:

lsmod | grep st ... it shows:

st 30768 0 (unused)
scsi_mod 107144 3 [st aic7xxx sd_mod]

so i think since the st driver is listed and my SCSI card is detected, i should not have a problem... but when i tried:

mt -f /dev/st0 status .. it resulted to:

/dev/st0: No such device

I tried from 0 until 6 but still no such device.

from constant research and forum search,

I tried to use the following commands:

modprobe st (to load st driver)
mknod /dev/st0 c 9 0 (to create a file /dev/st0)
insmod st.o (i think to invoke the st driver also)

and i also tried several commands from several resources but still cannot see my tape drive... I tried to use diff tape drive, LTO and DLT but same problem.. i really need to fix this issue today after working for several days now..

Thanks a lot for this forum and appreciate all insights.. SmilieSmilieSmilie
 

8 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

linux/unix tape drive & AMANDA

Trying to set up AMANDA on my linux machine, with the DDS-3 HP Tape drive. Am having problems, in my amanda.conf it doesn't like /dev/st0 or /dev/st0nr and I need to have it as non rewinding, is there another command/params i can give it for the tape drive to be non rewinding? I'm trying to use... (1 Reply)
Discussion started by: kymberm
1 Replies

2. Linux

linux backup to solaris tape drive

All, Has anybody ever got a Linux server to backup to a remote Solaris tape drive using the dump command and rsh? I can remtoely backup two Solaris server this way. Any help would be appreciated. Thanks, Mike (0 Replies)
Discussion started by: bubba112557
0 Replies

3. UNIX for Dummies Questions & Answers

tape drive

Hi, I need to restore my tape backup, when I type "tape status" it gives; status : ready beginning-of-tape write-protected soft errors : 0 hard errors : 0 underruns : 3 but... (4 Replies)
Discussion started by: alisevA3
4 Replies

4. Filesystems, Disks and Memory

DDS2 Tape Drive onto Linux/Unix

Knoppix, latest distribution is what I am using. I have a DDS2 tape drive. Recognised in Windows, etc. Cannot see it in UX/Lux. How do I mount it? How do I copy the data from the tape to another partition? What I need to do is transfer the contents of the DDS2 tape onto DVD. Simple. ... (1 Reply)
Discussion started by: rockgeek
1 Replies

5. UNIX for Advanced & Expert Users

rs600 tape drive

Hello sir Please I just have tape blocked inside the tape drive of my server. My server have 2 tape drives configured but only one is available (rmt0). The problem is that i have a separed tape drive ready to be connected to my server and i wan to know how to make available the second tape drive ?... (0 Replies)
Discussion started by: sobnc
0 Replies

6. AIX

Tape Drive

I have tape drive in one Lpar. when i saw that time tape is in defined state. After that i deleted the tape drive using the rmdev -R command. Then fired the cfgmgr -v command. But I am not getting the tape drive. Now the drive is even not in defined state also. It is not shown the tape drive. How... (1 Reply)
Discussion started by: pernasivam
1 Replies

7. Solaris

Help with tape drive

Hey folks, Linux admin here, forced to use Opensolaris to try to use ufsdump/ufsrestore to get some data of some old tapes. I've got Opensolaris 2009.06 on x86 and a Sony SDX-700V. As a "control" experiment, I booted the system with a Linux live CD and the tape drive worked perfectly. ... (2 Replies)
Discussion started by: eddy_sysad
2 Replies

8. HP-UX

TAPE drive

I have used ioscan -fnC tape and the system identified the tape drive. what is the command to show a listing of what is on the tape? I have used ls /dev/rmt/rmt0 to no avail. can anyone help? Thanks in advance (10 Replies)
Discussion started by: Randydog
10 Replies
TAPEINFO(1)						      General Commands Manual						       TAPEINFO(1)

NAME
tapeinfo - report SCSI tape device info SYNOPSIS
tapeinfo -f <scsi-generic-device> DESCRIPTION
The tapeinfo command reads various information from SCSI tape drives that is not generally available via most vendors' tape drivers. It issues raw commands directly to the tape drive, using either the operating system's SCSI generic device ( e.g. /dev/sg0 on Linux, /dev/pass0 on FreeBSD) or the raw SCSI I/O ioctl on a tape device on some operating systems. One good time to use 'tapeinfo' is immediately after a tape i/o operation has failed. On tape drives that support HP's 'tapealert' API, 'tapeinfo' will report a more exact description of what went wrong. Do be aware that 'tapeinfo' is not a substitute for your operating system's own 'mt' or similar tape driver control program. It is intended to supplement, not replace, programs like 'mt' that access your operating system's tape driver in order to report or set information. OPTIONS
The first argument, given following -f , is the SCSI generic device corresponding to your tape drive. Consult your operating system's doc- umentation for more information (for example, under Linux these are generally start at /dev/sg0 under FreeBSD these start at /dev/pass0). Under FreeBSD, 'camcontrol devlist' will tell you what SCSI devices you have, along with which 'pass' device controls them. Under Linux, "cat /proc/scsi/scsi" will tell you what SCSI devices you have. BUGS AND LIMITATIONS
This program has only been tested on Linux with a limited number of tape drives (HP DDS4, Seagate AIT). AVAILABILITY
tapeinfo is currently being maintained by Eric Lee Green <eric@badtux.org> formerly of Enhanced Software Technologies Inc. The 'mtx' home page is http://mtx.sourceforge.net and the actual code is currently available there and via CVS from http://sourceforge.net/projects/mtx/ . SEE ALSO
mt(1),mtx(1),scsitape(1) TAPEINFO1.0 TAPEINFO(1)
All times are GMT -4. The time now is 10:30 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy