AIX SYSTEM & Device Configuration
AIX SYSTEM & Device Configuration
AIX SYSTEM & Device Configuration
5.2
Unit objectives
IBM Power Systems
Device terminology
IBM Power Systems
Generic terminology
Physical devices
Ports
Device drivers
Logical devices
/dev directory
Virtual devices
CEC
System planar
RIO
System ports
GX+
IVE
PCI
Copyright IBM Corporation 2009
Device commands
IBM Power Systems
prtconf
Lists major system configuration items such as system model,
firmware version, processor type, number of processors, processor
clock speed, cpu type, total memory size, network, filesystem, paging
space, and devices information
lscfg
Lists device information including physical location codes
lsdev
Lists device information including the state of the device
lsslot
Displays all specified hot plug slots and their characteristics
chdev
Changes the characteristics of a device
lsattr
Displays attribute characteristics and possible values of attributes for
devices in the system
Copyright IBM Corporation 2009
Memory
DIMMs (mem0)
Processor card(s)
(proc0,1,2 etc)
(pci1)
|
SAS Adapter (sissas0)
|
SAS Controller (sas0)
|
SAS Planar, P2
|
SAS Enclosure (ses1)
(pci0)
hdisk0
hdisk1
hdisk2
hdisk3
hdisk4
hdisk5
Connection
To I/O Drawer(s)
D3
D4
D5
D6
D7
D8
IVE (lhea0)
L2 Cache
(L2cache0)
C2
C3
C4
C5
HMC
ports
FSP
Serial
ports
Copyright IBM Corporation 2009
prtconf (1 of 2)
IBM Power Systems
Network Information
Network Information
Host Name: sys124_v2
Host Name: sys124_v2
IP Address: 10.6.115.44
IP Address: 10.6.115.44
Sub Netmask: 255.255.255.0
Sub Netmask: 255.255.255.0
Gateway: 10.6.115.254
Gateway: 10.6.115.254
Name Server:
Name Server:
Domain Name:
Domain Name:
Output is
continued on the
next page.
prtconf (2 of 2)
IBM Power Systems
INSTALLED RESOURCE LIST
INSTALLED RESOURCE LIST
The following resources are installed on the machine.
The following resources are installed on the machine.
+/- = Added or deleted from Resource List.
+/- = Added or deleted from Resource List.
*
= Diagnostic support not available.
*
= Diagnostic support not available.
Model Architecture: chrp
Model Architecture: chrp
Model Implementation: Multiple Processor, PCI bus
Model Implementation: Multiple Processor, PCI bus
+ sys0
+ sys0
+ sysplanar0
+ sysplanar0
+ L2cache0
+ L2cache0
+ mem0
+ mem0
+ proc0
+ proc0
+ proc2
+ proc2
* vsa0
* vsa0
* vty0
* vty0
* pci1
* pci1
+ fcs0
+ fcs0
* fcnet0
* fcnet0
* fscsi0
* fscsi0
+ fcs1
+ fcs1
* fcnet1
* fcnet1
* fscsi1
* fscsi1
* pci0
* pci0
* pci2
* pci2
+ ent0
+ ent0
+ ent1
+ ent1
* pci3
* pci3
+ sisscsia0
+ sisscsia0
+ scsi0
+ scsi0
+ scsi1
+ scsi1
+ hdisk0
+ hdisk0
+ hdisk1
+ hdisk1
* vscsi0
* vscsi0
* hdisk2
* hdisk2
+ ses0
+ ses0
Device listing
including physical
location codes
Second half
System Object
System Object
System Planar
of the output
System Planar
L2 Cache
is identical to
L2 Cache
Memory
Memory
lscfg
Processor
Processor
Processor
Processor
U8204.E8A.652ACD2-V4-C0
LPAR Virtual Serial Adapter
U8204.E8A.652ACD2-V4-C0
LPAR Virtual Serial Adapter
U8204.E8A.652ACD2-V4-C0-L0
Asynchronous Terminal
U8204.E8A.652ACD2-V4-C0-L0
Asynchronous Terminal
U78A0.001.DNWGGRX-P1
PCI Express Bus
U78A0.001.DNWGGRX-P1
PCI Express Bus
U78A0.001.DNWGGRX-P1-C3-T1
4Gb FC PCI Express Adapter (df1000fe)
U78A0.001.DNWGGRX-P1-C3-T1
4Gb FC PCI Express Adapter (df1000fe)
U78A0.001.DNWGGRX-P1-C3-T1
Fibre Channel Network Protocol Device
U78A0.001.DNWGGRX-P1-C3-T1
Fibre Channel Network Protocol Device
U78A0.001.DNWGGRX-P1-C3-T1
FC SCSI I/O Controller Protocol Device
U78A0.001.DNWGGRX-P1-C3-T1
FC SCSI I/O Controller Protocol Device
U78A0.001.DNWGGRX-P1-C3-T2
4Gb FC PCI Express Adapter (df1000fe)
U78A0.001.DNWGGRX-P1-C3-T2
4Gb FC PCI Express Adapter (df1000fe)
U78A0.001.DNWGGRX-P1-C3-T2
Fibre Channel Network Protocol Device
U78A0.001.DNWGGRX-P1-C3-T2
Fibre Channel Network Protocol Device
U78A0.001.DNWGGRX-P1-C3-T2
FC SCSI I/O Controller Protocol Device
U78A0.001.DNWGGRX-P1-C3-T2
FC SCSI I/O Controller Protocol Device
U7311.D20.6516D3C-P1
PCI Bus
U7311.D20.6516D3C-P1
PCI Bus
U7311.D20.6516D3C-P1
PCI Bus
U7311.D20.6516D3C-P1
PCI Bus
U7311.D20.6516D3C-P1-C01-T1
2-Port 10/100/1000 Base-TX PCI-X Adapter
U7311.D20.6516D3C-P1-C01-T1
2-Port 10/100/1000 Base-TX PCI-X Adapter
U7311.D20.6516D3C-P1-C01-T2
2-Port 10/100/1000 Base-TX PCI-X Adapter
U7311.D20.6516D3C-P1-C01-T2
2-Port 10/100/1000 Base-TX PCI-X Adapter
U7311.D20.6516D3C-P1
PCI Bus
U7311.D20.6516D3C-P1
PCI Bus
U7311.D20.6516D3C-P1-C04
PCI-XDDR Dual Channel Ultra320 SCSI Adapter
U7311.D20.6516D3C-P1-C04
PCI-XDDR Dual Channel Ultra320 SCSI Adapter
U7311.D20.6516D3C-P1-C04-T1
PCI-X Dual Channel Ultra320 SCSI Adapter bus
U7311.D20.6516D3C-P1-C04-T1
PCI-X Dual Channel Ultra320 SCSI Adapter bus
U7311.D20.6516D3C-P1-C04-T2
PCI-X Dual Channel Ultra320 SCSI Adapter bus
U7311.D20.6516D3C-P1-C04-T2
PCI-X Dual Channel Ultra320 SCSI Adapter bus
U7311.D20.6516D3C-P1-C04-T2-L8-L0
16 Bit LVD SCSI Disk Drive (73400 MB)
U7311.D20.6516D3C-P1-C04-T2-L8-L0
16 Bit LVD SCSI Disk Drive (73400 MB)
U7311.D20.6516D3C-P1-C04-T2-L9-L0
16 Bit LVD SCSI Disk Drive (73400 MB)
U7311.D20.6516D3C-P1-C04-T2-L9-L0
16 Bit LVD SCSI Disk Drive (73400 MB)
U8204.E8A.652ACD2-V2-C12-T1
Virtual SCSI Client Adapter
U8204.E8A.652ACD2-V2-C12-T1
Virtual SCSI Client Adapter
U8204.E8A.652ACD2-V2-C12-T1-L810000000000 Virtual SCSI Disk Drive
U8204.E8A.652ACD2-V2-C12-T1-L810000000000 Virtual SCSI Disk Drive
U7311.D20.6516D3C-P1-C04-T2-L15-L0
SCSI Enclosure Services Device
U7311.D20.6516D3C-P1-C04-T2-L15-L0
SCSI Enclosure Services Device
Copyright IBM Corporation 2009
lscfg
IBM Power Systems
lscfg can be used to display Vital Product Data (VPD) information for
devices.
CEs need this to order and replace failed components
Physical
location code
## lscfg
lscfg -v
-v -l
-l ent0
ent0
ent0
U7311.D20.6516D3C-P1-C01-T1
ent0
U7311.D20.6516D3C-P1-C01-T1 2-Port
2-Port 10/100/1000
10/100/1000 BaseBaseTX
PCI-X
Adapter
(14108902)
TX PCI-X Adapter (14108902)
2-Port
2-Port 10/100/1000
10/100/1000 Base-TX
Base-TX PCI-X
PCI-X Adapter:
Adapter:
VPD
Part
Number.................03N5297
Part Number.................03N5297
information
FRU
FRU Number..................03N5297
Number..................03N5297
EC
EC Level....................H13845
Level....................H13845
Manufacture
Manufacture ID..............YL1021
ID..............YL1021
Network
Network Address.............001A64918678
Address.............001A64918678
ROM
ROM Level.(alterable).......DV0210
Level.(alterable).......DV0210
Hardware
Hardware Location
Location Code......U7311.D20.6516D3C-P1-C01-T1
Code......U7311.D20.6516D3C-P1-C01-T1
lsdev
IBM Power Systems
# lsdev -p pci5
# lsdev -p pci5
ent8
Available 05-08 2-Port 10/100/1000 Base-TX PCI-X Adapter (14108902)
ent8
Available 05-08 2-Port 10/100/1000 Base-TX PCI-X Adapter (14108902)
ent9
Available 05-09 2-Port 10/100/1000 Base-TX PCI-X Adapter (14108902)
ent9
Available 05-09 2-Port 10/100/1000 Base-TX PCI-X Adapter (14108902)
Device state
# lsdev Cl cd1 F parent
# lsdev Cl cd1 F parent
ide0
ide0
# ksh < parent.device cd1
# ksh < parent.device cd1
cd1 ide0 pci1 pci0 sysplanar0 sys0
cd1 ide0 pci1 pci0 sysplanar0 sys0
Locating the
parent device
listing parent
devices recursively
Copyright IBM Corporation 2009
child
devices
lsslot
IBM Power Systems
Description
Description
Logical
Logical I/O
I/O Slot
Slot
Logical
Logical I/O
I/O Slot
Slot
Logical
Logical I/O
I/O Slot
Slot
Logical
Logical I/O
I/O Slot
Slot
Logical
I/O
Slot
Logical I/O Slot
Virtual
Virtual I/O
I/O Slot
Slot
Device(s)
Device(s)
pci7
pci7 fcs1
fcs1
pci4
pci4 sisscsia1
sisscsia1
pci5
pci5 ent0
ent0 ent1
ent1
pci3
pci3 sisscsia0
sisscsia0
pci2
ide0
pci2 ide0
vsa0
vsa0
Description
Description
PCI-X
PCI-X capable,
capable, 64
64 bit,
bit, 133MHz
133MHz slot
slot
PCI-X
PCI-X capable,
capable, 32
32 bit,
bit, 66MHz
66MHz slot
slot
PCI-X
PCI-X capable,
capable, 64
64 bit,
bit, 266MHz
266MHz slot
slot
Device(s)
Device(s)
fcs1
fcs1
sisscsia1
sisscsia1
fcs0
fcs0
Current block
size = 1KB
True indicates
that the attribute
is user settable
Sometimes with tapes devices, data cannot be read because the tape
device has a different block size than the device that wrote the data.
Changing the value to 0 (variable) can help overcome these problems.
# chdev -l rmt0 -a block_size=0
# chdev -l rmt0 -a block_size=0
rmt0 changed
rmt0 changed
True
True
Block size
changed
Device states
IBM Power Systems
Undefined
The device is unknown to the system.
Defined
The device is know to the system but it is unavailable for use.
Available
The device is available and ready for use.
Stopped
The device is unavailable but remains known by its device driver.
## cfgmgr
cfgmgr
## lsdev
lsdev -Cc
-Cc tape
tape
rmt0
Available
rmt0 Available 04-08-01-2,0
04-08-01-2,0 LVD
LVD SCSI
SCSI 4mm
4mm Tape
Tape Drive
Drive
## ls
ls -l
-l /dev/*rmt0*
/dev/*rmt0*
crw-rw-rw11 root
system
crw-rw-rwroot
system
crw-rw-rw1
root
system
crw-rw-rw1 root
system
.
. Removed
Removed rmt0.2
rmt0.2 through
through rmt0.6
rmt0.6
crw-rw-rw11 root
system
crw-rw-rwroot
system
37,
37, 00 13
13 Oct
Oct 14:43
14:43 /dev/rmt0
/dev/rmt0
37,
1
13
Oct
14:43
37, 1 13 Oct 14:43 /dev/rmt0.1
/dev/rmt0.1
37,
37, 77 13
13 Oct
Oct 14:43
14:43 /dev/rmt0.7
/dev/rmt0.7
## rmdev
rmdev -l
-l rmt0
rmt0
rmt0
Defined
rmt0 Defined
## mkdev
mkdev -l
-l rmt0
rmt0
rmt0
rmt0 Available
Available
## rmdev
rmdev -l
-l rmt0
rmt0 -d
-d
rmt0
deleted
rmt0 deleted
Minor number.
Certain devices like
tapes can behave in
different ways.
Device addressing
IBM Power Systems
Both physical and AIX codes can be seen side by side with:
lsdev CHF name, status, physloc, location
Copyright IBM Corporation 2009
Examples:
hdisk0
hdisk0
U78A0.001.DNWGGRX-P2-D5
U78A0.001.DNWGGRX-P2-D5
SAS
SAS Disk
Disk Drive
Drive
SAS
SAS Planar
Planar (P2),
(P2), Device
Device slot
slot reference
reference 5,
5, disk
disk is
is in
in the
the CEC
CEC
ent1
ent1
U78A0.001.DNWGGRX-P1-C4-T2
U78A0.001.DNWGGRX-P1-C4-T2
2-Port
2-Port 10/100/1000
10/100/1000 PCI-X
PCI-X Adapter
Adapter
nd
System
System planar
planar (P1),
(P1), Card
Card slot
slot No
No 4,
4, 22nd port,
port, Adapter
Adapter is
is in
in the
the CEC
CEC
hdisk0
hdisk0
U7311.D20.6516D3C-P1-C04-T2-L8-L0
U7311.D20.6516D3C-P1-C04-T2-L8-L0 16
16 Bit
Bit LVD
LVD SCSI
SCSI Disk
Disk
nd
Planar
Planar 11 (P1),
(P1), PCI
PCI slot
slot No
No 4,
4, 22nd port,
port, SCSI
SCSI ID
ID 8,0,
8,0, Disk
Disk is
is in
in an
an
attached
SCSI
7311-D
20
I/O
Drawer.
attached SCSI 7311-D 20 I/O Drawer.
hdisk5
hdisk5
U78A0.001.DNWGGRX-P1-C3-T1-W500507630E801223-L4011402700000000
U78A0.001.DNWGGRX-P1-C3-T1-W500507630E801223-L4011402700000000 FC
FC SCSI
SCSI Disk
Disk
System
System planar
planar (P1),
(P1), Card
Card slot
slot No
No 3,
3, Port
Port 1,
1, WW == WW
WW unique
unique name
name of
of an
an
FC
adapter
(where
the
FC
adapter
is
in
a
remote
storage
subsystem),
FC adapter (where the FC adapter is in a remote storage subsystem), LL ==
LUN
LUN ID.
ID. The
The disk
disk is
is aa logical
logical device
device (identified
(identified by
by the
the LUN
LUN ID)
ID) in
in
the
remote
storage
subsystem.
the remote storage subsystem.
Copyright IBM Corporation 2009
## uname
uname L
L
22 sys124_v1_T1
sys124_v1_T1
vscsi0
vscsi0
hdisk1
hdisk1
U8204.E8A.652ACD2-V2-C12-T1
U8204.E8A.652ACD2-V2-C12-T1
U8204.E8A.652ACD2-V2-C12-T1-L810000000000
U8204.E8A.652ACD2-V2-C12-T1-L810000000000
Virtual
Virtual SCSI
SCSI Client
Client Adapter
Adapter
Virtual
Virtual SCSI
SCSI Disk
Disk Drive
Drive
Virtual
Virtual client
client disk,
disk, Virtual
Virtual (LPAR)
(LPAR) ID
ID 2,
2, virtual
virtual card
card slot
slot 12.
12.
VIOS partition
vhost0
vhost0
U8204.E8A.652ACD2-V1-C12
U8204.E8A.652ACD2-V1-C12
Virtual
Virtual SCSI
SCSI Server
Server Adapter
Adapter
Virtual
Virtual Server
Server adapter,
adapter, Virtual
Virtual (LPAR)
(LPAR) ID
ID 1,
1, virtual
virtual card
card slot
slot (Adapter
(Adapter ID)
ID) 12
12
Checkpoint
IBM Power Systems
1.
fcs0
fcs0
U78A0.001.DNWGGRX-P1-C3-T1
U78A0.001.DNWGGRX-P1-C3-T1
4Gb
4Gb FC
FC PCI
PCI Express
Express Adapter
Adapter
2.
3.
4.
Checkpoint solutions
IBM Power Systems
1.
fcs0
fcs0
U78A0.001.DNWGGRX-P1-C3-T1
U78A0.001.DNWGGRX-P1-C3-T1
4Gb
4Gb FC
FC PCI
PCI Express
Express Adapter
Adapter
2.
3.
4.
Exercise 6
IBM Power Systems
System configuration
and devices
Unit summary
IBM Power Systems