Wednesday 16 August 2023

How to recover the Failed/Missing Paths in AIX

 We may get the alerts/incidents that disk path has been Failed. When you got such kind of issues don't worry. Most of the cases disk paths will be recovered automatically.

If they were not recovered recover the failed/missing paths in AIX follow the below process.

To verify the failed or missing paths.

# lapath | grep -v Enabled
Failed  hdisk9 fscsi0
Failed  hdisk9 fscsi0

# lspath -l hdisk9
Failed  hdisk9 fscsi0
Failed  hdisk9 fscsi0

Enabled hdisk9 fscsi1
Enabled hdisk9 fscsi1

Run the configuration manager, sometime it will fix the issue. Still you are seeing failed paths then try to remove and re-enable.

# cfgmgr
# lspath -l hdisk9

To remove the path.
# rmpath -l hdisk9 -p fscsi0
paths Defined

Verify the path status whether it is removed or not. It should be in defied state.

#  lspath -l hdisk9
Defined hdisk9 fscsi0
Defined hdisk9 fscsi0

Enabled hdisk9 fscsi1
Enabled hdisk9 fscsi1

Next delete the path.

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

Verify the path status whether it is deleted or not.

#  lspath -l hdisk9
Enabled hdisk9 fscsi1
Enabled hdisk9 fscsi1

Run the configuration manager, mostly it will fix the issue in this step. If not re-enable the paths using chpath command.

# cfgmgr

# lspath -l hdisk9
Enabled hdisk9 fscsi0
Enabled hdisk9 fscsi0
Enabled hdisk9 fscsi1
Enabled hdisk9 fscsi1

OR 

To enable the paths, execute the below command.

# chpath -l hdisk9 -p fscsi0 -s enable


Still paths are not recovered, follow the below steps.

1. Check the VIOS mappings.

2. Check if any errors with physical FC

3. Check with Storage Team.


                             Thanks for reading this post, any queries please write a comment


Privacy Policy

  Privacy Policy for UNIX TECH INFO At UNIX TECH INFO, accessible from https://unixworld4admin.blogspot.com/, one of our main priorities is ...