Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* tape backup questions
@ 1997-11-15 22:23 Amer M Mallah
  0 siblings, 0 replies; 4+ messages in thread
From: Amer M Mallah @ 1997-11-15 22:23 UTC (permalink / raw)


I have an EXABYTE DAT tape drive. Linux recognizes (in that it
acknowledges that there is an EXABYTE tape backup device attached to the
SCSI card) when it boots.

I'm not sure if it is truly working, since attempts to 
mt -f /dev/st0 rewind don't work, and the /dev/tape device doesn't even
exist. Can anyone send me their backup script so I can see how it's done?

also, is there some kind of mt online - there's an mt offline, but i did
not see an mt online.

thanks!

amer mallah
snare@jhu.edu

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: tape backup questions
@ 1997-11-15 22:56 Christopher B. Browne
  1997-11-15 22:56 ` Christopher B. Browne
  0 siblings, 1 reply; 4+ messages in thread
From: Christopher B. Browne @ 1997-11-15 22:56 UTC (permalink / raw)


> I have an EXABYTE DAT tape drive. Linux recognizes (in that it
> acknowledges that there is an EXABYTE tape backup device attached to the
> SCSI card) when it boots.
> 
> I'm not sure if it is truly working, since attempts to 
> mt -f /dev/st0 rewind don't work, and the /dev/tape device doesn't even
> exist. Can anyone send me their backup script so I can see how it's done?

First point (going from the "easy stuff"), /dev/tape is normally a symbolic 
link to the "real" tape device.  Thus, if the proper device is /dev/st0, you 
would use the command:
# ln -s /dev/st0 /dev/tape

You could alternatively use an appropriate mknod command to define /dev/tape 
with appropriate major/minor numbers, but I wouldn't recommend that; it's just 
not "standard" behaviour.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: tape backup questions
  1997-11-15 22:56 Christopher B. Browne
@ 1997-11-15 22:56 ` Christopher B. Browne
  0 siblings, 0 replies; 4+ messages in thread
From: Christopher B. Browne @ 1997-11-15 22:56 UTC (permalink / raw)


Possible issues:
a) Are you running mt as root?  (Quite possibly an issue)
b) Could it have been mapped to /dev/st1 or something like that?  (Unlikely.)
c) Is your kernel defined to be aware of SCSI tape drives?  (Quite likely.)

--
Christopher B. Browne, cbbrowne@hex.net, chris_browne@sdt.com
Web: http://www.hex.net/~cbbrowne  SAP Basis Consultant, UNIX Guy
Windows NT - How to make a 100 MIPS Linux workstation perform like an 8 MHz 286

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: tape backup questions
@ 1997-11-16  5:53 Amer Mallah
  0 siblings, 0 replies; 4+ messages in thread
From: Amer Mallah @ 1997-11-16  5:53 UTC (permalink / raw)


> b) Could it have been mapped to /dev/st1 or something like that?  (Unlikely.)

It turns out that my tape drive is actually /dev/st8. Now, I can 
write to it and restore from it using tar, but the mt command doesn't 
work at all.

I keep getting:

# mt -f /dev/st8 status
/dev/st8: Inappropriate ioctl for device

I don't even know what that means.. any ideas?

amer

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1997-11-16  5:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-11-16  5:53 tape backup questions Amer Mallah
  -- strict thread matches above, loose matches on Subject: below --
1997-11-15 22:56 Christopher B. Browne
1997-11-15 22:56 ` Christopher B. Browne
1997-11-15 22:23 Amer M Mallah

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox