Showing posts with label Scripts to bring backing defined device to available mode. Show all posts
Showing posts with label Scripts to bring backing defined device to available mode. Show all posts

Friday, 17 June 2016


Scripts to bring backing defined device to available mode :


1) for i in `lsmap –all –type disk –field vtd | awk ‘{print $2}’`
do
cfgdev –dev $i
done


2)  To see if  backing device is define or available state
lsdev |grep vtscsi|grep Disk|grep -i available
lsdev |grep vtscsi|grep Disk|grep -i defined