How to list / identify serial number of volume from Infinibox (Infinidat) without Host Power Tools?
This command can be used to determine / list serial number of disk located on Infinibox in AIX:
for i in `lsdev -Cc disk | grep INFINIDAT | awk '{ print $1}'`do
echo $i "\c"
lsattr -El $i -a unique_id | awk '{ print $2 }' | cut -c 5-34
done
Enjoy IT!
Good stuff as always!
ReplyDeleteI use something similar for SVC LUNs:
for i in $(lsdev -C -c disk -s fcp -t 2145 -F name)
do
echo $i "\c"
lsattr -E -l $i -a unique_id -F value | cut -c 6-37
done