The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > AIX
Google UNIX.COM


AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Tape drives used for taking backups forumsrahul Filesystems, Disks and Memory 1 05-14-2008 05:04 AM
Scalar i500 can see tape drives but not autochanger tecky UNIX for Advanced & Expert Users 1 04-04-2008 09:16 AM
tape drives vs. tar with multiple directories d3m00n BSD 1 12-06-2007 10:09 AM
identifying Tape drives on Sun Servers vivek_scv SUN Solaris 2 04-16-2005 11:49 AM
DDS Tape Drives Skywlkr235 UNIX for Dummies Questions & Answers 0 03-17-2004 08:35 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 03-21-2008
Registered User
 

Join Date: Mar 2008
Posts: 13
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.
Reply With Quote
Forum Sponsor
  #2  
Old 03-21-2008
Registered User
 

Join Date: Sep 2006
Posts: 208
lscfg -vp | grep rmt
Reply With Quote
  #3  
Old 03-21-2008
Registered User
 

Join Date: Sep 2006
Posts: 208
Then again you might want a -p in there:
lscfg -vp | grep -p rmt
Reply With Quote
  #4  
Old 03-24-2008
Registered User
 

Join Date: Mar 2008
Posts: 13
I need the SERIAL NUMBER for the rmt as well.
Reply With Quote
  #5  
Old 03-24-2008
Registered User
 

Join Date: Sep 2006
Posts: 208
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.
Reply With Quote
  #6  
Old 03-24-2008
Registered User
 

Join Date: Dec 2007
Location: Philippines, Cebu City
Posts: 67
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
Reply With Quote
  #7  
Old 03-25-2008
Registered User
 

Join Date: Mar 2008
Posts: 13
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.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 06:28 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0