To change the device parameters using the AIX command line:
1.
To change the R/W timeout parameter, enter:
chdev –1 hdisk
2.
To change the queue depth parameter, enter:
chdev –l hdisk
where x is a value from the above table.
3.
To change the queue type parameter, enter:
chdev –l hdisk
Example
This changes the queue depth for device hdisk3.
4.
Verify that the parameters for all devices were successfully changed.
Example
5.
Repeat these steps for each OPEN-x device on the disk array.
TIP:
The lsattr command also shows other useful information, such as LUN
ID of the mapped LDEV, worldwide name of the disk array FC port,
and N-Port ID.
Another useful command for determining the slot position and port
worldwide name of the HBA is the lscfg –v –l hdisk
To change the device parameters using SMIT:
1.
Start SMIT. (Optional) For an ASCII session, use the smit –C command.
26
Installation
x
–a rw_timeout='60'
x
–a queue_depth='
x
–a q_type='simple'
# chdev –l hdisk3 –a queue_depth='2'
# lsattr –E –l hdisk3
x
'
x
command.