To Check the missing or failed paths by issuing this command:
root@mohisrv:/root# lspath | awk '{print $1,$NF}' |sort |uniq -c
18 Enabled fscsi0
6 Enabled fscsi1
12 Failed fscsi1
If there are some failed paths, maybe you should try to re-enable them (quick and painless, can’t do no harm) with this one-liner
root@mohisrv:/root# lspath|grep Failed | awk '{print "chpath -l "$2" -s enable -p "$3}'|ksh
paths Changed
paths Changed
paths Changed
paths Changed
paths Changed
paths Changed
paths Changed
paths Changed
paths Changed
paths Changed
paths Changed
paths Changed
root@lpar:/root# lspath | awk '{print $1" " $NF}' |sort |uniq -c
18 Enabled fscsi0
18 Enabled fscsi1
root@mohisrv:/root# lspath | awk '{print $1,$NF}' |sort |uniq -c
18 Enabled fscsi0
6 Enabled fscsi1
12 Failed fscsi1
If there are some failed paths, maybe you should try to re-enable them (quick and painless, can’t do no harm) with this one-liner
root@mohisrv:/root# lspath|grep Failed | awk '{print "chpath -l "$2" -s enable -p "$3}'|ksh
paths Changed
paths Changed
paths Changed
paths Changed
paths Changed
paths Changed
paths Changed
paths Changed
paths Changed
paths Changed
paths Changed
paths Changed
root@lpar:/root# lspath | awk '{print $1" " $NF}' |sort |uniq -c
18 Enabled fscsi0
18 Enabled fscsi1
No comments:
Post a Comment