How to change disk parameter in AIX ?

Today we will look at an interesting article to understand how to change disk parameter in IBM AIX OS.

We will change queue depth of the disk to 8 to increase performance.

The disk queue depth parameter helps us to limit the maximum number of commands the OS can issue concurrently to the disk at any time.

It helps to improve disk performance however it can increase disk throughput and can introduce latency.

1. Change Disk Queue Depth to 8.

ngeaix01 --> chdev -l hdisk0 -a queue_depth=8
Method error (/usr/lib/methods/chgdisk):
        0514-062 Cannot perform the requested function because the
                 specified device is busy.

 

2. How to get rid of the error and write changes only to disk DB.

ngeaix01--> chdev -l hdisk0 -a queue_depth=8 -P
hdisk0 changed
ngeaix01-->

Here we have used the -perm flag to update the database of disk, and kept the disk unchanged so that it can be updated in future.

Leave a Reply

Your email address will not be published.