Sponsored Content
Full Discussion: tape drive
Top Forums UNIX for Dummies Questions & Answers tape drive Post 302071720 by tayyabq8 on Monday 24th of April 2006 04:50:12 AM
Old 04-24-2006
List tape drives:
Code:
$ ls -l /dev/rmt

By the way, which platform you are using?

rgrds,
Tayyab
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

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 Replies)
Discussion started by: kikkin
2 Replies

2. Linux

Installing tape drive?

Hello. I have Redhat 8.0 on a laptop. Working good. I wanted to install the tape drive that is physically attached to it. The tape drive worked fine under Windows98SE. It's one of those parallel QIC-80 drives and I confirmed that it is supported by FTape. It appears that FTape might already... (0 Replies)
Discussion started by: RuralTurtle
0 Replies

3. 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

4. SCO

Tape Drive Configuration

Dear All, I have a tape drive which has worked for offer 3yrs properly on SCO Openserver Release = 3.2v5.0.5. I tried to clean it all invain. I did a fresh installation of unix of the same OS and did the configuration still didn't bear fruits. The tape is a scsi and the configuration is as... (4 Replies)
Discussion started by: njoroge
4 Replies

5. 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

6. SCO

Tape Drive Logs?

I've recently been tasked with "refurbishing" an HP Proliant ML370 running SCO 5.0...something. This is primarily used for legacy support and is kept on a shelf for safe keeping. The scope of work includes hardware diagnostics and blowing the dust out. I have run HP diagnostics on the array,... (1 Reply)
Discussion started by: v1corp
1 Replies

7. UNIX for Dummies Questions & Answers

Quantum tape drive

Hi, Using Redhat 5.7. I have Quantum tape drive connected to the server. I am trying to install the Netbackup software. Just wondering how can I see the Quantum is connected to the server. is any command I run to see the tape drive is connected? I used to work on Solaris, I used to do... (1 Reply)
Discussion started by: samnyc
1 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
RMTOPS(3)						   BSD Library Functions Manual 						 RMTOPS(3)

NAME
rmtops -- access tape drives on remote machines LIBRARY
Remote Magnetic Tape Library (librmt, -lrmt) SYNOPSIS
#include <rmt.h> #include <sys/stat.h> int isrmt(int fd); int rmtaccess(char *file, int mode); int rmtclose(int fd); int rmtcreat(char *file, int mode); int rmtdup(int fd); int rmtfcntl(int fd, int cmd, int arg); int rmtfstat(int fd, struct stat *buf); int rmtioctl(int fd, int request, char *argp); int rmtisatty(int fd); long rmtlseek(int fd, long offset, int whence); int rmtlstat(char *file, struct stat *buf); int rmtopen(char *file, int flags, int mode); int rmtread(int fd, char *buf, int nbytes); int rmtstat(char *file, struct stat *buf); int rmtwrite(int fd, char *buf, int nbytes); DESCRIPTION
The rmtops library provides a simple means of transparently accessing tape drives on remote machines via rsh(1) and rmt(8). These routines are used like their corresponding system calls, but allow the user to open up a tape drive on a remote system on which he or she has an account and the appropriate remote permissions. A remote tape drive file name has the form [user@]hostname:/dev/??? where system is the remote system, /dev/??? is the particular drive on the remote system (raw, blocked, rewinding, non-rewinding, etc.), and the optional user is the login name to be used on the remote system, if different from the current user's login name. For transparency, the user should include the file <rmt.h>, which has the following defines in it: #define access rmtaccess #define close rmtclose #define creat rmtcreat #define dup rmtdup #define fcntl rmtfcntl #define fstat rmtfstat #define ioctl rmtioctl #define isatty rmtisatty #define lseek rmtlseek #define lstat rmtlstat #define open rmtopen #define read rmtread #define stat rmtstat #define write rmtwrite This allows the programmer to use open(2), close(2), read(2), write(2), etc. in their normal fashion, with the rmtops routines taking care of differentiating between local and remote files. This file should be included before including the file <sys/stat.h>, since it redefines the identifier ``stat'' which is used to declare objects of type struct stat. The routines differentiate between local and remote file descriptors by adding a bias (currently 128) to the file descriptor of the pipe. The programmer, if he or she must know if a file is remote, should use isrmt(). ENVIRONMENT
The RCMD_CMD environment variable can be set to the name or pathname of a program to use, instead of /usr/bin/rsh, and must have the same calling conventions as rsh(1). FILES
/usr/lib/librmt.a remote tape library DIAGNOSTICS
Several of these routines will return -1 and set errno to EOPNOTSUPP, if they are given a remote file name or a file descriptor on an open remote file (e.g., rmtdup()). SEE ALSO
rcp(1), rsh(1), rmt(8) And the appropriate system calls in section 2. AUTHORS
Jeff Lee wrote the original routines for accessing tape drives via rmt(8). Fred Fish redid them into a general purpose library. Arnold Robbins added the ability to specify a user name on the remote system, the <rmt.h> include file, this man page, cleaned up the library a little, and made the appropriate changes for 4.3BSD. Dan Kegel contributed the code to use the rexec(3) library routine. BUGS
There is no way to use remote tape drives with stdio(3), short of recompiling it entirely to use these routines. The rmt(8) protocol is not very capable. In particular, it relies on TCP/IP sockets for error free transmission, and does no data validation of its own. BSD
October 16, 2001 BSD
All times are GMT -4. The time now is 04:52 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy