Friday, September 29, 2023

Script to find stale physical partition on AIX LPAR

Find stale partition on AIX LPAR using following script

for i in `lsvg -o |awk '{print $1}'`
do
echo $i 
lsvg $i|grep -i "stale pps"
Sleep 2
done

Output: it will display stale pps if any, this script usefull for monitoring stale pps in volume group when there is VG sync in progress.

Thanks

No comments:

Post a Comment