Friday, November 25, 2011

How to enable the paths of the AIX Box

Different ways to Enable the path of the channel.

# lspath -l hdisk4
Failed  hdisk4 fscsi0
Failed  hdisk4 fscsi0
Enabled hdisk4 fscsi1
Enabled hdisk4 fscsi1

# rmpath -l hdisk4 -p fscsi0
paths Defined

#  lspath -l hdisk4
Defined hdisk4 fscsi0
Defined hdisk4 fscsi0
Enabled hdisk4 fscsi1
Enabled hdisk4 fscsi1

#  rmpath -d -l hdisk4 -p fscsi0
paths Deleted

# cfgmgr

# lspath -l hdisk4
Enabled hdisk4 fscsi0
Enabled hdisk4 fscsi0
Enabled hdisk4 fscsi1
Enabled hdisk4 fscsi1

Or you can use the chpath to enable the path as shown below

#chpath -l hdiskxx -p fscsixx -s enable