Sponsored Content
Full Discussion: List loaded drives in AIX?
Operating Systems AIX List loaded drives in AIX? Post 302195692 by dukessd on Thursday 15th of May 2008 07:20:29 PM
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
 

10 More Discussions You Might Find Interesting

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

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

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

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

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

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

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

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

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

10. 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
tapset::scsi(3stap)													       tapset::scsi(3stap)

NAME
tapset::scsi - systemtap scsi tapset DESCRIPTION
This family of probe points is used to probe SCSI activities. scsi.ioentry Prepares a SCSI mid-layer request See probe::scsi.ioentry(3stap) for details. scsi.iodispatching SCSI mid-layer dispatched low-level SCSI command See probe::scsi.iodispatching(3stap) for details. scsi.iodone SCSI command completed by low level driver and enqueued into the done queue. See probe::scsi.iodone(3stap) for details. scsi.iocompleted SCSI mid-layer running the completion processing for block device I/O requests See probe::scsi.iocompleted(3stap) for details. scsi.ioexecute Create mid-layer SCSI request and wait for the result See probe::scsi.ioexecute(3stap) for details. scsi.set_state Order SCSI device state change See probe::scsi.set_state(3stap) for details. SEE ALSO
probe::scsi.ioentry(3stap), probe::scsi.iodispatching(3stap), probe::scsi.iodone(3stap), probe::scsi.iocompleted(3stap), probe::scsi.ioexecute(3stap), probe::scsi.set_state(3stap), stap(1), stapprobes(3stap) IBM
--- tapset::scsi(3stap)
All times are GMT -4. The time now is 02:32 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy