How to list / identify volume ID UID from Storwize / SVC?
This command can be used to determine / list volume UID of disk located on Storwize / SVC in AIX:
for i in `lsdev -t 2145 | awk '{ print $1}'`do
echo $i "\c"
lsattr -El $i -a unique_id | awk '{ print $2 }' | cut -c 6-37
done
or for MPIO without HAS and SDDPCM:
for i in `lsdev -t mpioosdisk | awk '{ print $1}'`
do
echo $i "\c"
lsattr -El $i -a unique_id | awk '{ print $2 }' | cut -c 6-37
done
No comments:
Post a Comment