command to display my tape drives (rmt's)


 
Thread Tools Search this Thread
Operating Systems AIX command to display my tape drives (rmt's)
# 1  
Old 03-21-2008
command to display my tape drives (rmt's)

Hi all,

Looking for an ls** command to display my tape drives and their associated serial numbers. thx.
# 2  
Old 03-21-2008
lscfg -vp | grep rmt
# 3  
Old 03-21-2008
Then again you might want a -p in there:
lscfg -vp | grep -p rmt
# 4  
Old 03-24-2008
I need the SERIAL NUMBER for the rmt as well.
# 5  
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.
# 6  
Old 03-24-2008
lsdev -Cc tape

rmt0 Available 3A-08-00-6,0 SCSI 4mm Tape Drive

rmt1 Available 4J-08-01 LTO Ultrium Tape Drive (FCP)

rmt2 Available 4J-08-01 LTO Ultrium Tape Drive (FCP)

rmt3 Available 4J-08-01 LTO Ultrium Tape Drive (FCP)

rmt4 Available 4J-08-01 LTO Ultrium Tape Drive (FCP)

rmt5 Available 4J-08-01 LTO Ultrium Tape Drive (FCP)

rmt6 Available 4J-08-01 LTO Ultrium Tape Drive (FCP)

rmt7 Available 4J-08-01 LTO Ultrium Tape Drive (FCP)

rmt8 Available 4J-08-01 LTO Ultrium Tape Drive (FCP)

rmt9 Available 4J-08-01 LTO Ultrium Tape Drive (FCP)

rmt10 Available 4J-08-01 LTO Ultrium Tape Drive (FCP)

rmt11 Available 4J-08-01 LTO Ultrium Tape Drive (FCP)

rmt12 Available 4J-08-01 LTO Ultrium Tape Drive (FCP)

rmt13 Available 4J-08-01 LTO Ultrium Tape Drive (FCP)

rmt14 Available 4J-08-01 LTO Ultrium Tape Drive (FCP)

rmt15 Available 4J-08-01 LTO Ultrium Tape Drive (FCP)

rmt16 Available 4J-08-01 LTO Ultrium Tape Drive (FCP)

rmt17 Available 4J-08-01 LTO Ultrium Tape Drive (FCP)

rmt18 Available 4J-08-01 LTO Ultrium Tape Drive (FCP)

rmt19 Available 4J-08-01 LTO Ultrium Tape Drive (FCP)

rmt20 Available 4J-08-01 LTO Ultrium Tape Drive (FCP
# 7  
Old 03-25-2008
Hello all,

Here's the deal. lscfg -pvd rmt* does give the serial number on a different line. I'm trying to get the output on the same line.
The reason I need the SN# is that upon reboot of the AIX server, the /dev/rmt# assigments sometimes change. Of course, the serial number of the drive never changes. The server in question is the library manager for TSM. So, in TSM, if my /dev/rmt#, drive definitions and sn#'s don't match up in my configuration file, the client TSM Servers are unable to get mounts. So if there's a quick way to print "rmt sn#" on the same line, I can quickly get a snapshot of what things looked like prior to reboot and after reboot.

Thanks.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

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

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

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

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

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

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

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

9. 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
Login or Register to Ask a Question