[AIX] Change FC settings without taking the system offline

If you need to change FC attributes try this little ‘one-liner’

for i in `lspv | awk '{print $1}'`; do chpath -l $i -s disable -p fscsi0;done
rmdev -l fcs0 -R
chdev -l fcs0 -a num_cmd_elems=2048 
cfgmgr
chdev –l fcs0 –a max_xfer_size=0x200000 -P
for i in `lspv | awk '{print $1}'`; do chpath -l $i -s disable -p fscsi1;done
rmdev -l fcs1 -R
chdev -l fcs1 -a num_cmd_elems=2048 –a max_xfer_size=0x200000
cfgmgr
chdev –l fcs1 –a max_xfer_size=0x200000 -P
for i in $(lspv | awk '{print $1}'); do;chdev -l $i -a max_transfer=0x100000 –P;done
Advertisements
This entry was posted in Uncategorized and tagged , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.