$naviseccli -h $emc_spA -user admin -password xxxxxxxxx -scope 0 -addusersecurity ########CREATING RAID GROUP FROM SATA DISKS $naviseccli -h $emc_spA createrg 10 0_2_0 0_2_1 0_2_2 0_2_3 0_2_4 -raidtype r5
echo "RAID GROUP CREATED"
########BINDING LUN THE RAID GROUP $naviseccli -h $emc_spA bind r5 10 -rg 10
########CHECKING FOR THE STATUS WHETHER THE LUN IS BOUND state=`$naviseccli -h $emc_spA getlun 10 -state | awk ' { print $2 }'` echo "$state"; while [ "$state" = 'Binding' ]; do status=`$naviseccli -h $emc_spA getlun 10 -bind | awk ' { print $3 } '` echo "$status% " \\c sleep 100 ; if [ `$naviseccli -h $emc_spA getlun 10 -bind | awk ' { print $3 } '` -eq '100' ] then echo "LUN CREATED" break fi done echo "##### Binded Sucessfully " >>$log
########ADD LUN TO STORAGE GROUP $naviseccli -h $emc_spA storagegroup -addhlu -gname $hostgroup -alu 10 -hlu 10 echo "LUN added to stotrage group"
########CHANGING LUN NAME $naviseccli -h $emc_spA chglun -l 10 -name arkvsarath echo "done LUN name changed"
as you see from the code iam not a good programmer but now the question is it takes tooo long about 5.30 hours in total to bind the lun to the raid group
and is it possible for me to add the lun to the storage group as the binding goes on and further present it to the server.
What version of Flare is on this array? I know there is a "fast bind" feature on the CX arrays where the lun is immediately available to give to the host. I am wondering if the lun is available to be put into the storage group, but in the background it still hasn't reached that "bound" state. What state is the lun in after issuing the command for the bind? "Binding"?
5.3 hours for that size lun (depending on the rate) may be accurate.
RyanP2
261 Posts
526
0
Posted August 31st, 2010 09:00
What version of Flare is on this array? I know there is a "fast bind" feature on the CX arrays where the lun is immediately available to give to the host. I am wondering if the lun is available to be put into the storage group, but in the background it still hasn't reached that "bound" state. What state is the lun in after issuing the command for the bind? "Binding"?
5.3 hours for that size lun (depending on the rate) may be accurate.
-Ryan