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
Library not loaded? olifu02 UNIX for Advanced & Expert Users 4 01-08-2008 08:32 PM
how floppy disks, CDs and flash drives (pen drives) are accessed in UNIX nokia1100 Shell Programming and Scripting 0 04-06-2007 06:10 PM
help getting records loaded from sqlldr log ecupirate1998 Shell Programming and Scripting 0 07-28-2005 07:18 AM
Loaded question - anyone up to the challenge? idesaj UNIX for Dummies Questions & Answers 1 07-07-2005 12:47 PM
dynamically loaded libraries rainshadow High Level Programming 3 06-04-2005 09:31 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-14-2008
Registered User
 

Join Date: May 2008
Posts: 1
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
List loaded drives in AIX?

Does anyone know how I can list the loaded drivers in AIX. I suspect it has something to do with ODM but I dont know how to do it.

I am trying to find wich scsi device (scsi1 2 3 etc) is attached to a particular piece of hardware. I know the driver name but how to find which scsi device is using that driver?

Thanks.
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 05-14-2008
Registered User
 

Join Date: Oct 2007
Posts: 222
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
I deleted my previous answer, it's not related, sorry.

I think, the only thing you could find out is to remove it one by one, or find your documentation.

Last edited by itik; 05-14-2008 at 07:33 PM.
Reply With Quote
  #3 (permalink)  
Old 05-15-2008
Registered User
 

Join Date: Sep 2006
Posts: 206
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
To find the installed drivers try:
# lslpp -hac | grep device
This will give you a list of all the device driver filesets installed.

If you need to find the scsi adapter a device is connected to then you can do this with the lscfg command.

# lscfg -vl hdisk0
hdisk0 10-60-00-8,0 16 Bit SCSI Disk Drive (18200 MB)

Manufacturer................IBM
Machine Type and Model......DNES-318350W
FRU Number..................25L3100
ROS Level and ID............53414755
Serial Number...............AKG4H067
EC Level....................F42017
Part Number.................25L1860
Device Specific.(Z0)........000003029F00013A
Device Specific.(Z1)........25L2870
Device Specific.(Z2)........0933
Device Specific.(Z3)........00104
Device Specific.(Z4)........0001
Device Specific.(Z5)........22
Device Specific.(Z6)........F42036

The 10-60-00-8,0 bit is the disk address.

Then again use lscfg and look for the address.
The -00- is always -00- for scsi.
The -8,0 is the scsi address, 8 in this case.
The 10-60 is the scsi adapter.

So:
lscfg -vp |grep -p 10-60
You will get all sorts of output for all the devices on the same scsi bus but the bit I think you are after will look like this:

scsi0 10-60 Wide/Fast-20 SCSI I/O Controller

Device Specific.(YL)........P2/Z1

So the 10-60 adapter is scsi0
So hdisk0 is on scsi0.

HTH
Reply With Quote
  #4 (permalink)  
Old 05-16-2008
Registered User
 

Join Date: Oct 2007
Posts: 222
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
But how do you identify the scsi adapter on the back. Is there a serial number that you could verify on the adapter? (how i wish i could just use diag and identify or set service mode).

I'm asking because I already remove some SSA on my AIX and I want to clear those adapters. I don't have a documentation because I'm not the original admin.

Thanks
Reply With Quote
  #5 (permalink)  
Old 05-16-2008
Registered User
 

Join Date: Sep 2006
Posts: 206
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
Depending on the server model, some can turn on identify lights, what machine type and model do you have?

You can also translate the AIX address to a physical adapter.

What are you trying to do? remove ssa drivers? remove ssa filesets / drivers? remove scsi devices, etc.

Please provide a description of what you are trying to do and the lscfg -vl <device> information for that device.
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes


The 50 most popular UNIX and Linux searches.
Google Search Cloud for The UNIX and Linux Forums
421 service not available, remote server has closed connection ^m automate ftp autosys awk trim bash eval bash for loop boot: cannot open kernel/sparcv9/unix command copy/move folder in unix couldn't set locale correctly curses.h cut command in unix find grep find mtime find null character in a unix file grep multiple lines grep or grep recursive gzip password hp-ux ifconfig inaddr_any inappropriate ioctl for device lynx javascript mailx attachment mget mtime perl array length ping port remove first character from string in k shell replace space by comma , perl script scp recursive segmentation fault(coredump) sftp script snoop unix stale nfs file handle syn_sent tar exclude tar extract to folder test: argument expected unix unix .profile unix forum unix forums unix internals unix interview questions unix mtime unix simulator unix.com vi substitute while loop within while loop shell script


All times are GMT -7. The time now is 02:12 AM.


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

Content Relevant URLs by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101