Monday, April 2, 2012

How to find out disk Manufacturer on AIX ?

While storage migration you will have to find out the disk manufacturer first and then rest of the work :)

But how i have written a small for loop to do it :)

Let’s try it. 

for i in `lsvg -o|grep -v rootvg`
do
for j in `lsvg -p $i|awk '{print $1}'`
do
echo $j
lscfg -vpl $j|grep -i Manufacturer
done
done



                                               -- Dipak Warade


No comments:

Popular Posts

Is this site helping you ?