What is a drive in AIX?

Hi

I am reading these lines from "AIX 5L Practical Performance Tools and Tuning Guide". What does a drive mean in AIX? What I see is all directories. How can I find out what files are on what drive?

"For example, if an application accesses two or more files at the same time, adding an additional disk drive might improve the disk-I/O rate if the files that are accessed at the
same time are placed on different drives."

Thanks
Jirong
hujirongAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

LhotchCommented:
A "drive" is typically a physical disk and is represent by "hdisk". If you do an lscfg or even lspv you will see the various hard disks listed. That generally applies to standard SCSi attached, non-raid disks. For physical disks that are part of an array lscfg wont show you each physical disk. The RAID controller usually handles the grouping of physical disks into an array and in turn presents the OS with what it thinks is a physical disk when in reality its multiple disks in a raid array. Using the array tool for you adapter can tell you more about the physical disks in an array.

I would recommend you head over to IBM's redbook site and check out the pSeries system admin study guide, here is link. Pay special attention to chapter 6 where it talks about storage.


http://www.redbooks.ibm.com/redbooks/pdfs/sg246191.pdf
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
hujirongAuthor Commented:
Thank you very much for the detailed reply.

I know we are using SAN. How do I know which one it is? How much can I know about my storage from the following output.:

/home/jihu $ lspv
hdisk0          0007d13d2c7ac2e9                    rootvg          active
hdisk1          0007d13dc0e5928e                    rootvg          active
hdisk2          0007d13dc29e4e04                    ccvg            active
hdisk3          none                                None
hdisk4          none                                None
hdisk5          none                                None
hdisk6          none                                None
hdisk7          none                                None
hdisk8          none                                None
vpath0          0007d13dc0ecc475                    appsvg          active
/home/jihu $ lscfg
INSTALLED RESOURCE LIST

The following resources are installed on the machine.
+/- = Added or deleted from Resource List.
*   = Diagnostic support not available.

  Model Architecture: chrp
  Model Implementation: Multiple Processor, PCI bus

+ sys0                                                                System Obj
ect
+ sysplanar0                                                          System Pla
nar
* pci2             U0.1-P1                                            PCI Bus
* pci10            U0.1-P2                                            PCI Bus
* pci11            U0.1-P2                                            PCI Bus
+ ent1             U0.1-P1/E1                                         10/100 Mbp
s Ethernet PCI Adapter II (1410ff01)
* pci12            U0.1-P2                                            PCI Bus
+ fcs1             U0.1-P2-I5/Q1                                      FC Adapter
* fscsi1           U0.1-P2-I5/Q1                                      FC SCSI I/
O Controller Protocol Device
* hdisk7           U0.1-P2-I5/Q1-W10000000C921E333-L5014000000000000  IBM FC 210
5F20
* hdisk8           U0.1-P2-I5/Q1-W10000000C92424BC-L5014000000000000  IBM FC 210
5F20
* pci1             U0.1-P1                                            PCI Bus
* pci7             U0.1-P2                                            PCI Bus
* pci8             U0.1-P2                                            PCI Bus
+ scsi2            U0.1-P2/Z3                                         Wide/Fast-
20 SCSI I/O Controller
* pci9             U0.1-P2                                            PCI Bus
+ fcs0             U0.1-P2-I3/Q1                                      FC Adapter
* fscsi0           U0.1-P2-I3/Q1                                      FC SCSI I/
O Controller Protocol Device
* hdisk3           U0.1-P2-I3/Q1-W5005076300C215C6-L5014000000000000  IBM FC 210
5F20
* hdisk4           U0.1-P2-I3/Q1-W5005076300CA15C6-L5014000000000000  IBM FC 210
5F20
* hdisk5           U0.1-P2-I3/Q1-W5005076300C615C6-L5014000000000000  IBM FC 210
5F20
* hdisk6           U0.1-P2-I3/Q1-W5005076300CF15C6-L5014000000000000  IBM FC 210
5F20
* pci0             U0.1-P1                                            PCI Bus
* isa0             U0.1-P1                                            ISA Bus
+ fda0             U0.1-P1/D1                                         Standard I
/O Diskette Adapter
+ fd0              U0.1-P1-D1                                         Diskette D
rive
* siokma0          U0.1-P1/K1                                         Keyboard/M
ouse Adapter
+ sioka0           U0.1-P1/K1                                         Keyboard A
dapter
+ sioma0           U0.1-P1/K1                                         Mouse Adap
ter
+ ppa0             U0.1-P1/R1                                         CHRP IEEE1
284 (ECP) Parallel Port Adapter
+ sa0              U0.1-P1/S1                                         Standard I
/O Serial Port
+ tty0             U0.1-P1/S1-L0                                      Asynchrono
us Terminal
+ sa1              U0.1-P1/S2                                         Standard I
/O Serial Port
+ sa2              U0.1-P1/S3                                         Standard I
/O Serial Port
* ide0             U0.1-P1/Q6                                         ATA/IDE Co
ntroller Device
+ cd0              U0.1-P1/Q6-A0                                      IDE CD-ROM
 Drive I (650 MB)
* pci3             U0.1-P2                                            PCI Bus
* pci4             U0.1-P2                                            PCI Bus
+ ent0             U0.1-P1/E2                                         10/100 Mbp
s Ethernet PCI Adapter II (1410ff01)
* pci5             U0.1-P2                                            PCI Bus
+ scsi0            U0.1-P2/Z1                                         Wide/Ultra
-3 SCSI I/O Controller
+ hdisk0           U0.1-P2/Z1-A8                                      16 Bit LVD
 SCSI Disk Drive (36400 MB)
+ hdisk1           U0.1-P2/Z1-A9                                      16 Bit LVD
 SCSI Disk Drive (36400 MB)
+ hdisk2           U0.1-P2/Z1-Aa                                      16 Bit LVD
 SCSI Disk Drive (36400 MB)
+ ses0             U0.1-P2/Z1-Af                                      SCSI Enclo
sure Services Device
+ scsi1            U0.1-P2/Z2                                         Wide/Ultra
-3 SCSI I/O Controller
* pci6             U0.1-P2                                            PCI Bus
+ L2cache0                                                            L2 Cache
+ mem0                                                                Memory
+ proc1            U0.1-P1-C1                                         Processor
+ proc2            U0.1-P1-C2                                         Processor
/home/jihu $
0
LhotchCommented:
Typically in a SAN environment the actual arrays will be created/defined on the san itself. You will likely have to access the sans controller and see which physical drives are assigned to what LUN. Chances are the hdisks the aix box sees are allready raid arrays of some type.

0
Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

Graeme_CowellCommented:
The short answer is you can't tell.

You will need to speak to your SAN Admin to find out how the logical disks were created and presented to AIX.  AIX doesn't know if it's using a RAID array or a physical disk and even if it did it wouldn't know what type of RAID array, whether these are exclusive disks or shared with other machines.
0
gheistCommented:
No comment has been added to this question in more than 21 days, so it is now classified as abandoned.
I will leave the following recommendation for this question in the Cleanup topic area:

accept Lhotch http:#16383002

Any objections should be posted here in the next 4 days. After that time, the question will be closed.

gheist
EE Cleanup Volunteer
0
gheistCommented:
Ignoring Graeme_Cowell http:#16659946 as rewording of first answer.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Unix OS

From novice to tech pro — start learning today.