List loaded drives in AIX?


 
Thread Tools Search this Thread
Operating Systems AIX List loaded drives in AIX?
# 1  
Old 05-14-2008
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.
# 2  
Old 05-14-2008
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 11:33 PM..
# 3  
Old 05-15-2008
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
# 4  
Old 05-16-2008
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
# 5  
Old 05-16-2008
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.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

AIX 7.1 cannot discover drives from TS3310 tape library

Good day! Need help in checking my AIX 7.1 box. After we have finished zoning our TS3200 and TS3310 tape libraries, we installed the Atape driver, # lslpp -L |grep tape Atape.driver 11.7.7.0 C F IBM AIX Enhanced Tape and devices.fcp.tape.rte 7.1.3.15 C ... (0 Replies)
Discussion started by: alainken3
0 Replies

2. UNIX for Advanced & Expert Users

When does Autosys Profile loaded?

hi, would like to know if anyone knows or could verify and give me an answer on when autosys does actually load the profile whether in Activated state or Running state. Scenerio am trying to look for is Lets say i have a profile variable DATE=Mar052015 Start jobA --> JobB depends on A -->... (0 Replies)
Discussion started by: veshwar
0 Replies

3. BSD

BSD: Getting the WM loaded

Heyas Since freebsd has set TERM to xterm when in terminal mode, i'm very curious what its value will be in GUI mode - seems its xterm (in x11/twm) as well.. how smart :eek: :( So i've installed: awesome and xorg, but when calling awesome, it talks something about invalid display. So i've... (1 Reply)
Discussion started by: sea
1 Replies

4. UNIX for Advanced & Expert Users

AIX Dependent Module could not be loaded

I am encountering the above error , even after setting the environment variables correctly AFAIK. I've found sources that say LIBPATH is the shared library variable , and others that say LIB_PATH, so I set both: ========================= root@lipossrp01ga: # echo $gtm_dist ... (6 Replies)
Discussion started by: Clovis_Sangrail
6 Replies

5. AIX

Loaded Shared Libraries

Hi, I have a problem about loaded shared libraries. I'm issuing ‘procldd' for a process and AIX shows me the loaded shared libraries. I'm collecting these libraries and counting their size. They were 350MB. After this, I'm issuing ‘ps vx' and I'm seeing that the process takes 130MB from AIX's... (1 Reply)
Discussion started by: jhatzics
1 Replies

6. AIX

Problem with AIX: shared libraries aren't loaded

Hello guys, I have a trouble when running an application in AIX, I've compiled and the LIBRARY_PATH seems ok, but I get the following message: rtld: 0712-001 Symbol __pthread was referenced from module main_app(), but a runtime definition of the symbol was not found ldd... (4 Replies)
Discussion started by: edgarvm
4 Replies

7. AIX

AIX pre-loaded, no license

Hi, I've found some old threads on AIX licensing, but still not sure: I'd like to get some used pSeries box for hands-on AIX learning. If somebody on eBay offers a box with $subj - what problems/limitations (technical, not legislative) I could expect? Is this system usable for my intention? ... (2 Replies)
Discussion started by: tacelus
2 Replies

8. Shell Programming and Scripting

BASH Script to Detect and List USB Flash Drives

Hello. This is my first post to this forum. I've read many of the posts over the last two or three years and I've learned a lot. I'm creating a live Linux distribution using the Linux Live Scripts -- just as a hobby project -- and I'm wanting to create an automated way for a user to copy the... (7 Replies)
Discussion started by: godzillarama
7 Replies

9. UNIX for Advanced & Expert Users

Library not loaded?

I am trying to install a scientific program onto my mac and when i try and execute it this error comes up and i cant find any literature on the net to fix it... dyld: Library not loaded: /usr/local/lib/libgfortran.2.dylib Referenced from:... (4 Replies)
Discussion started by: olifu02
4 Replies

10. Shell Programming and Scripting

how floppy disks, CDs and flash drives (pen drives) are accessed in UNIX

hi how floppy disks, CDs and flash drives (pen drives) are accessed in UNIX? thanks (0 Replies)
Discussion started by: nokia1100
0 Replies
Login or Register to Ask a Question