![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace. |
|
|
||||
| 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 |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
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. |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
lscfg -vp | grep rmt
|
|
#3
|
|||
|
|||
|
Then again you might want a -p in there:
lscfg -vp | grep -p rmt |
|
#4
|
|||
|
|||
|
I need the SERIAL NUMBER for the rmt as well.
|
|
#5
|
|||
|
|||
|
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
|
|||
|
|||
|
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
|
|||
|
|||
|
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. |
|||
| Google The UNIX and Linux Forums |