Showing posts with label Script to delete failed path MPIO in AIX. Show all posts
Showing posts with label Script to delete failed path MPIO in AIX. Show all posts

Friday, 17 June 2016



Script to delete failed path MPIO in AIX :

for disk in `lspv awk '{ print $1 }'`
do
for path in `lspath -l $disk -F "status connection" | grep Failed | awk '{ print $2 }'`
do
echo $disk
rmpath -l $disk -w $path -d
done
done