Sponsored Content
Operating Systems AIX command to display my tape drives (rmt's) Post 302178141 by dukessd on Monday 24th of March 2008 09:02:54 PM
Old 03-24-2008
If the above don't show a 'serial' field then I don't think you will be able to find it from AIX.

...As long as the above commands are showing decent info, I don't have a system at hand to try.

You could try lscfg -vl rmtx where x is the specific device number you are interested in but I suspect you will get similar info to the lscfg -vp output.

Not all tape drives pass on their serial number as part of the VPD when they are configured.

Why would AIX care what the serial number is? as long as it can recognise what type of device to configure that is enough.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

DDS Tape Drives

How do I find if a server contains a DDS3 or a DDS2 drive remotely ? I checked in SMIT and I noticed the description field according to tape drives, but is there another more thorough way? Thanks, Luke (0 Replies)
Discussion started by: Skywlkr235
0 Replies

2. Solaris

identifying Tape drives on Sun Servers

Hi, Can you please help me to locate tape drives on Sun Server and the capacity of the tape drive. I am managing a Sun 4u server. Need this urgently. Regards, Vivek (2 Replies)
Discussion started by: vivek_scv
2 Replies

3. BSD

tape drives vs. tar with multiple directories

Hello, I have a little problem with backup & restoring files from tape drive. I am adding 3 directories to my tape, and it is OK: hades# tar -cvf /dev/nsa0 test test1 restore a test a test/level1 a test/myharddisk.img a test1 a test1/level1 a test1/myharddisk.img a test1/test.img a... (1 Reply)
Discussion started by: d3m00n
1 Replies

4. UNIX for Advanced & Expert Users

Scalar i500 can see tape drives but not autochanger

We have a new i500 and have 4 TLO4 drives which are connected directly to 2 FC cards on the host. The host can communicate with the autochanger through whichever drive that is set as control path. When I run inquire, all 4 drives are listed but auto changer doesn't show up. Does anyone know... (1 Reply)
Discussion started by: tecky
1 Replies

5. Filesystems, Disks and Memory

Tape drives used for taking backups

Hi, I am a abit new in AIX system administration field. I want to gather knowledge about backup techniques. As per my knowledge we use Tape archives for taking backups. Can anyone pls explain me in detail abt tape archive? Whether these tape archives come along with the systems or we have to... (1 Reply)
Discussion started by: forumsrahul
1 Replies

6. Solaris

tape drives not recognised

I have a server/domain on a m5000 running Solaris 10. It is part of a cluster. The other cluster member sees tape drives, but this one does not. It is zoned correctly, and I can see the drives are binded in lputil. The st.conf, and devlink.tab are identical. ST.CONF: - # # Copyright... (1 Reply)
Discussion started by: pfwhufc
1 Replies

7. Solaris

/dev/rmt is empty - Trying to make Tape Drive Functional

I have an HP Proliant DL380 with Intel Processors that I recently loaded Solaris 10 with latest patches on it. I'm trying to do a ufsdump to an HP DAT 40 tape drive via SCSI, but I can't get it to do anything because /dev/rmt is empty. I've tried the following with luck: touch /reconfigure,... (7 Replies)
Discussion started by: cvaughn
7 Replies

8. Solaris

Adding new tape drives

hi, i am using Solaris 8 on a sparc box and already have 4 tape drives in a backup libaray attached to my unix server. we have recently added 2 new tape drives to the libaray and now want to get unix to see them. have it working in windows. how do i scan for new hardware and add theses new... (5 Replies)
Discussion started by: dshakey
5 Replies

9. HP-UX

Failed to open tape device /dev/rmt/0mn:Device busy (errno = 16)

Hi, Unable to make tape backup, please help. /opt/ignite/bin/make_tape_recovery -a /dev/rmt/?mn -I -v -m tar -x inc_entire=vg00 * Creating local directories for configuration files and archive. ======= 04/25/16 16:28:08 IST Started /opt/ignite/bin/make_tape_recovery. (Mon... (4 Replies)
Discussion started by: anuragr
4 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 11:00 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy