CLI command DS5300 storage : Create Mapping
reate Mapping :
for i in {3..100}; do echo "create mapping logicalDrive=\"LPAR1K_"$i"\" logicalUnitNumber=`expr 9 + $i` host="Falcon1_12_11\;"" ;done >> logicaldrive.txt
create mapping logicalDrive="LPAR1K_3" logicalUnitNumber=12 host=""Falcon1_12_11"";create mapping logicalDrive="LPAR1K_4" logicalUnitNumber=13 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_5" logicalUnitNumber=14 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_6" logicalUnitNumber=15 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_7" logicalUnitNumber=16 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_8" logicalUnitNumber=17 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_9" logicalUnitNumber=18 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_10" logicalUnitNumber=19 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_11" logicalUnitNumber=20 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_12" logicalUnitNumber=21 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_13" logicalUnitNumber=22 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_14" logicalUnitNumber=23 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_15" logicalUnitNumber=24 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_16" logicalUnitNumber=25 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_17" logicalUnitNumber=26 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_18" logicalUnitNumber=27 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_19" logicalUnitNumber=28 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_20" logicalUnitNumber=29 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_21" logicalUnitNumber=30 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_22" logicalUnitNumber=31 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_23" logicalUnitNumber=32 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_24" logicalUnitNumber=33 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_25" logicalUnitNumber=34 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_26" logicalUnitNumber=35 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_27" logicalUnitNumber=36 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_28" logicalUnitNumber=37 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_29" logicalUnitNumber=38 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_30" logicalUnitNumber=39 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_31" logicalUnitNumber=40 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_32" logicalUnitNumber=41 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_33" logicalUnitNumber=42 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_34" logicalUnitNumber=43 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_35" logicalUnitNumber=44 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_36" logicalUnitNumber=45 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_37" logicalUnitNumber=46 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_38" logicalUnitNumber=47 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_39" logicalUnitNumber=48 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_40" logicalUnitNumber=49 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_41" logicalUnitNumber=50 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_42" logicalUnitNumber=51 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_43" logicalUnitNumber=52 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_44" logicalUnitNumber=53 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_45" logicalUnitNumber=54 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_46" logicalUnitNumber=55 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_47" logicalUnitNumber=56 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_48" logicalUnitNumber=57 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_49" logicalUnitNumber=58 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_50" logicalUnitNumber=59 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_51" logicalUnitNumber=60 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_52" logicalUnitNumber=61 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_53" logicalUnitNumber=62 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_54" logicalUnitNumber=63 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_55" logicalUnitNumber=64 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_56" logicalUnitNumber=65 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_57" logicalUnitNumber=66 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_58" logicalUnitNumber=67 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_59" logicalUnitNumber=68 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_60" logicalUnitNumber=69 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_61" logicalUnitNumber=70 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_62" logicalUnitNumber=71 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_63" logicalUnitNumber=72 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_64" logicalUnitNumber=73 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_65" logicalUnitNumber=74 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_66" logicalUnitNumber=75 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_67" logicalUnitNumber=76 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_68" logicalUnitNumber=77 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_69" logicalUnitNumber=78 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_70" logicalUnitNumber=79 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_71" logicalUnitNumber=80 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_72" logicalUnitNumber=81 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_73" logicalUnitNumber=82 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_74" logicalUnitNumber=83 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_75" logicalUnitNumber=84 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_76" logicalUnitNumber=85 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_77" logicalUnitNumber=86 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_78" logicalUnitNumber=87 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_79" logicalUnitNumber=88 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_80" logicalUnitNumber=89 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_81" logicalUnitNumber=90 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_82" logicalUnitNumber=91 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_83" logicalUnitNumber=92 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_84" logicalUnitNumber=93 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_85" logicalUnitNumber=94 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_86" logicalUnitNumber=95 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_87" logicalUnitNumber=96 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_88" logicalUnitNumber=97 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_89" logicalUnitNumber=98 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_90" logicalUnitNumber=99 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_91" logicalUnitNumber=100 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_92" logicalUnitNumber=101 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_93" logicalUnitNumber=102 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_94" logicalUnitNumber=103 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_95" logicalUnitNumber=104 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_96" logicalUnitNumber=105 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_97" logicalUnitNumber=106 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_98" logicalUnitNumber=107 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_99" logicalUnitNumber=108 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_100" logicalUnitNumber=109 host="Falcon1_12_11";
create mapping logicalDrive="LPAR1K_11" logicalUnitNumber=10 hostgroup="LPM_P7CEC";
create mapping logicalDrive="LPAR1K_2" logicalUnitNumber=11 host="Falcon1_12_11";
for i in {3..100}; do echo "create mapping logicalDrive=\"LPAR1K_"$i"\" logicalUnitNumber=`expr 9 + $i` host="Falcon1_12_11\;"" ;done >> logicaldrive.txt
create mapping logicalDrive="LPAR1K_3" logicalUnitNumber=12 host=""Falcon1_12_11"";create mapping logicalDrive="LPAR1K_4" logicalUnitNumber=13 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_5" logicalUnitNumber=14 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_6" logicalUnitNumber=15 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_7" logicalUnitNumber=16 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_8" logicalUnitNumber=17 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_9" logicalUnitNumber=18 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_10" logicalUnitNumber=19 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_11" logicalUnitNumber=20 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_12" logicalUnitNumber=21 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_13" logicalUnitNumber=22 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_14" logicalUnitNumber=23 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_15" logicalUnitNumber=24 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_16" logicalUnitNumber=25 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_17" logicalUnitNumber=26 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_18" logicalUnitNumber=27 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_19" logicalUnitNumber=28 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_20" logicalUnitNumber=29 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_21" logicalUnitNumber=30 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_22" logicalUnitNumber=31 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_23" logicalUnitNumber=32 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_24" logicalUnitNumber=33 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_25" logicalUnitNumber=34 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_26" logicalUnitNumber=35 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_27" logicalUnitNumber=36 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_28" logicalUnitNumber=37 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_29" logicalUnitNumber=38 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_30" logicalUnitNumber=39 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_31" logicalUnitNumber=40 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_32" logicalUnitNumber=41 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_33" logicalUnitNumber=42 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_34" logicalUnitNumber=43 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_35" logicalUnitNumber=44 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_36" logicalUnitNumber=45 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_37" logicalUnitNumber=46 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_38" logicalUnitNumber=47 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_39" logicalUnitNumber=48 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_40" logicalUnitNumber=49 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_41" logicalUnitNumber=50 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_42" logicalUnitNumber=51 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_43" logicalUnitNumber=52 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_44" logicalUnitNumber=53 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_45" logicalUnitNumber=54 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_46" logicalUnitNumber=55 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_47" logicalUnitNumber=56 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_48" logicalUnitNumber=57 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_49" logicalUnitNumber=58 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_50" logicalUnitNumber=59 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_51" logicalUnitNumber=60 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_52" logicalUnitNumber=61 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_53" logicalUnitNumber=62 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_54" logicalUnitNumber=63 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_55" logicalUnitNumber=64 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_56" logicalUnitNumber=65 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_57" logicalUnitNumber=66 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_58" logicalUnitNumber=67 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_59" logicalUnitNumber=68 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_60" logicalUnitNumber=69 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_61" logicalUnitNumber=70 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_62" logicalUnitNumber=71 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_63" logicalUnitNumber=72 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_64" logicalUnitNumber=73 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_65" logicalUnitNumber=74 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_66" logicalUnitNumber=75 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_67" logicalUnitNumber=76 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_68" logicalUnitNumber=77 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_69" logicalUnitNumber=78 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_70" logicalUnitNumber=79 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_71" logicalUnitNumber=80 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_72" logicalUnitNumber=81 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_73" logicalUnitNumber=82 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_74" logicalUnitNumber=83 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_75" logicalUnitNumber=84 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_76" logicalUnitNumber=85 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_77" logicalUnitNumber=86 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_78" logicalUnitNumber=87 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_79" logicalUnitNumber=88 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_80" logicalUnitNumber=89 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_81" logicalUnitNumber=90 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_82" logicalUnitNumber=91 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_83" logicalUnitNumber=92 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_84" logicalUnitNumber=93 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_85" logicalUnitNumber=94 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_86" logicalUnitNumber=95 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_87" logicalUnitNumber=96 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_88" logicalUnitNumber=97 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_89" logicalUnitNumber=98 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_90" logicalUnitNumber=99 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_91" logicalUnitNumber=100 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_92" logicalUnitNumber=101 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_93" logicalUnitNumber=102 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_94" logicalUnitNumber=103 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_95" logicalUnitNumber=104 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_96" logicalUnitNumber=105 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_97" logicalUnitNumber=106 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_98" logicalUnitNumber=107 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_99" logicalUnitNumber=108 host="Falcon1_12_11";create mapping logicalDrive="LPAR1K_100" logicalUnitNumber=109 host="Falcon1_12_11";
create mapping logicalDrive="LPAR1K_11" logicalUnitNumber=10 hostgroup="LPM_P7CEC";
create mapping logicalDrive="LPAR1K_2" logicalUnitNumber=11 host="Falcon1_12_11";
Comments
Post a Comment