The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
how to install tape drive on sun ver 5.9 eykyn17 SUN Solaris 9 03-20-2007 04:36 PM
DDS-2 Sun tape drive kingdbag UNIX for Dummies Questions & Answers 2 08-10-2006 07:31 PM
tape drive alisevA3 UNIX for Dummies Questions & Answers 4 04-24-2006 05:53 AM
4MM Tape Drive joeweisser AIX 1 08-18-2005 08:44 AM
How do l install Travan Tape drive 20/40 DAT on Redhat 8.0 kayode Linux 1 08-25-2004 11:41 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 02-18-2002
kikkin
Guest
  
 

Posts: n/a
Bits: 0 [Banking]
Angry Tape drive install

I'm trying to install a tape drive on a compaq SCO OS 505. well I have gone through the mkdev tape comands and what have you yet no luck. when I reboot and do a simple tape rewind it gives me an error no such device etc.etc. IS there a diference in the xct0 and rct0 a the default?

help..
  #2 (permalink)  
Old 02-19-2002
killerserv's Avatar
killerserv killerserv is offline Forum Advisor  
Unix Predator
  
 

Join Date: Dec 2000
Location: Phoenix, AZ
Posts: 670
Ok,
I Experienced this problems before. You may try with this steps.
If you can tar cvf /dev/rStp0 .(or rStp1 if this was the second drive), but cannot do "tape" commands, then run mkdev tape again and select the default tape drive. Or for a quicker test:

rm /dev/xct0
mknod /dev/xct0 c 46 128 (assuming rStp0)

and then try "tape status" etc.

For tapes, the minor number for ioctl is 128. The ioctl devices are /dev/xct0, /dev/xStp0, etc. If you have created a SCSI tape, but didn't set it as default, then the /dev/xct0 is

crw-r--r-- 1 root sys 10,128 Sep 21 10:35 /dev/xct0

which has the right minor number, but the major (10) is for a cartridge tape, not SCSI.

You could fix this as suggested above, or by editing /etc/default/tape and changing the

device = /dev/xct0
to
device = /dev/xStp0

Give a try first, let me know if this helps.
Works for me.
  #3 (permalink)  
Old 02-19-2002
kikkin
Guest
  
 

Posts: n/a
Bits: 0 [Banking]
Well I finally got fed up with it and desided to go back to the frist step. I opend the server and verified all the phisical connections.
I found out that the tape drive was actually connected to the host 0 and bus 1 and the jumper on the tape drive was set to id1.
and I was setting it up at mkdev tape as on host 0 bus 0 id 1.
Well after actually installing it to the propper settings it still didnt work, till I noticed at boot that the server was recognising the tape drive at id 2. That was odd because I verified the jumper and it was on id 1. so to make a long story short I just set the parameter hots 0 moved the cable to bus 0 and set the tape id to 2 and it worked.


Thanks for the advice, I gues I learn more the hard way.
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 04:32 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0