A quick snippet to count the multi-paths for each disk:
vxdisk list | grep 'disk' | cut -f1 -d' ' | while read D
do
print "$D: $(scsimgr -p lun_map -D /dev/rdisk/$D | wc -l)"
done
A quick snippet to count the multi-paths for each disk:
vxdisk list | grep 'disk' | cut -f1 -d' ' | while read D
do
print "$D: $(scsimgr -p lun_map -D /dev/rdisk/$D | wc -l)"
done
Leave a comment