vdisk + dev + device_name +inq.sol

for ldom in $(ldm ls|egrep -v "NAME|primary"|nawk '{print $1}');do printf "\n### $ldom ###\n#\n";printf "%14s %60s\n%24s %100s\n" "LDM" "V-MAX" "|-------------------------|" "|--------------------------------------------------------------------------------------------------------|" ;for j in $(for i in $(ldm ls -o disk $ldom|grep -v VOLUME|nawk '{print $2}'|sed s/@primary-vds0//g);do ldm ls -o disk primary |grep -w $i|nawk -F"/" '{print $4}'|sed s/d0.*//g;done);do vdisk=$(ldm ls -o disk primary|grep $j|sed s/primary-vds0//g|nawk '{printf $1}');printf $vdisk"\t";ldm ls -o disk $ldom|grep $vdisk|nawk '{printf $4"\t\t"}';/scripts/admin/inq.sol64 -nodots -identifier device_name|grep $j;done;done

Leave a Reply

Your email address will not be published. Required fields are marked *