MSA1000 如何使用 console 配置阵列Word格式.docx
《MSA1000 如何使用 console 配置阵列Word格式.docx》由会员分享,可在线阅读,更多相关《MSA1000 如何使用 console 配置阵列Word格式.docx(20页珍藏版)》请在冰豆网上搜索。
Databits:
8
Parity:
None
Stopbits:
1
Flowcontrol:
TheCLIinputscreenisdisplayed.
f.在出现的CLI窗口里点击回车键,会出现cli>
提示符,此时可以输入配置命令了
下面介绍一些常用的命令
创建逻辑驱动器CreatingLUNs
基本命令Basiccommand
ADDUNIT
命令参数选项Commandoptions
DATA=“DISKzzz”—thenumberofanindividualdrivetoincorporateintothe
LUN.Disksareidentifiedbyboxnumberandbaynumber.Forexample,
DISK110identifiesdisk10inboxnumber1.
DATA=“DISKxxx-DISKyyy”—arangeofdrivesistobeincorporatedintothe
DISK101-DISK105identifiesdisks1through5inboxnumber1.
Note:
Quotationmarksmustbeenteredbothbeforeandafterthedatadiskdrivesthat
aretobeincludedintheLUN.
RAID_LEVEL=xxx—theRAIDfault-toleranceleveltouse,wherexxx
represents:
0=RAID0(nofaulttolerance)
1=RAID1(mirroring)
5=RAID5(distributedparity)
ADG=AdvancedDataGuarding(ADG)
IfmorethanonepairofdrivesareincludedinaRAID1array,thedatais
stripedacrossthefirsthalfofthedrivesinthearrayandtheneachdriveismirroredtoa
driveintheremaininghalfofthedrivesforfaulttolerance.Thismethodisreferredtoas
RAID1+0.
STRIPE_SIZE=xxx—(optional)thestripesizetoassign(inKB),wherexxx
represents8,16,32,64,128,or256Kilobytes.
RAID0usesstripesizes8,16,32,64,128,and256(Default:
128KB)
RAID1usesstripesizes8,16,32,64,128,and256(Default:
RAID5usesstripesizes8,16,32,and64(Default:
16KB)
RAIDADGusesstripesizes8,16,32,and64(Default:
SIZE=xxxxyy—(optional)howmuchoftheavailablespaceontheindicated
drivesistobeusedfortheLUN,wherexxxxrepresentstheLUNsizeandyy
indicatesMBorGB.(WhenGBisentered,allreturndisplayswillbe
convertedtoMB.)Ifnosizeisspecified,themaximumavailablespaceofthe
includeddiskswillbeassignedtotheunit.See“CreatingMultipleLUNsona
GroupofDrives”foranexampleofusingtheSizecommandoption.
SPARE=DISKxxx—(optional)disk(s)toassignasasparetotheunit,where
xxxrepresentsthedisknumber.Morethanonediskcanbeassignedasa
sparetoaLUN.
MAXBOOT=ENABLE/DISABLE—(optional)changesthesizeofthebootpartition.
Enable=8-GBbootpartition(default)
Disable=4-GBbootpartition
CACHE=ENABLE/DISABLE—(optional)determineswhethertousethearray
controllercachefortheLUN.
Enable=(default)usethearraycontrollercache
Disable=notusethearraycontrollercache
CreatingasingleLUNfromagroupofdrives
TocreateoneLUNfromanindividualdriveorgroupofdrives:
Examplecommand
CLI>
ADDUNIT0DATA=”DISK101-DISK107DISK110”RAID_LEVEL=ADG
STRIPE_SIZE=64
Maintainarecordoftheunitsastheyarecreated.TheseUnitIDnumbersare
usedinotherCLIcommands.Inadditiontorecordingtheunitnumber,thedrives
included,RAIDtypeandsize,recordtheorderinwhichtheyarecreated.
Commandoptions
0—LUN0istobecreated.
DATA=”DISK101-DISK107DISK110”—drives1through7anddisk10inbox
number1aretoincorporatedintotheLUN.
RAID_LEVEL=ADG—RAIDlevelADGwillbeusedwhencreatingLUN0.
STRIPE_SIZE=64—stripesizeof64willbeusedwhencreatingLUN0.
ExampleCLIresponse
Firstvolumetobeconfiguredonthesedrives.
LogicalUnitsize=69460MB
RAIDoverhead=0MB
Totalspaceoccupiedbynewunit=69460MB
Freespaceleftonthisvolume=0MB
Unit0iscreatedsuccessfully.
创建多个逻辑驱动器CreatingMultipleLUNsonagroupofdrives
TocarveoutmultipleLUNsfromadriveorgroupofdrives,usetheADDUNIT
commandandincludetheSIZE=commandoption.Repeatthecommandusinga
uniqueLUNIDforeachLUN,alongwiththedesiredsizeparameter.
ADDUNIT1DATA=”DISK111-DISK114”RAID_LEVEL=5
STRIPE_SIZE=32SIZE=1000MB
included,RAIDtypeandsize,andrecordtheorderinwhichtheyarecreated.
1—LUN1istobecreated.
DATA=”DISK111-DISK114”—drives11through14inboxnumber1tothe
LUN.
RAID_LEVEL=5—RAID5willbeusedwhencreatingtheLUN.
STRIPE_SIZE=32—stripesizeof32willbeusedwhencreatingtheLUN.
SIZE=1000MB—1000MBoftheavailablespacewillbeusedfortheLUN.
Thefollowingdisplayisacontinuationofthepreviousexample,creatingthree
LUNsonthesamegroupofphysicaldrives.
Thelogicalunitsizehasbeenadjustedby4MBforoptimal
performance.
LogicalUnitsize=996MB
RAIDoverhead=498MB
Totalspaceoccupiedbynewunit=1494MB
Freespaceleftonthisvolume=24533MB
Unit1iscreatedsuccessfully.
ADDUNIT2DATA=”DISK111-DISK114”RAID_LEVEL=5
STRIPE_SIZE=32SIZE=2000MB
LogicalUnitsize=2000MB
RAIDoverhead=1000MB
Totalspaceoccupiedbynewunit=3000MB
Freespaceleftonthisvolume=21533MB
Unit2iscreatedsuccessfully.
ADDUNIT3DATA=”DISK111-DISK114”RAID_LEVEL=5
STRIPE_SIZE=16SIZE=4000MB
LogicalUnitsize=4000MB
RAIDoverhead=2000MB
Totalspaceoccupiedbynewunit=6000MB
Freespaceleftonthisvolume=15533MB
Unit3iscreatedsuccessfully.
创建带指定spare的逻辑驱动器CreatingaLUNwithanassignedspare
TocreateaLUNandassignaspareatthesametime,usetheADDUNITcommand
andincludetheSPARE=commandoption.
MorethanonesparecanbeassignedtothesameLUNandthesamesparecan
beavailabletomultipleLUNs.
ADDUNIT4DATA=”DISK211-DISK212”RAID_LEVEL=1
SPARE=”DISK213”
4—LUN4istobecreated.
DATA=”DISK211-DISK212”—drives11through12inboxnumber2aretobe
incorporatedintotheLUN.
RAID_LEVEL=1—RAID1willbeusedwhencreatingtheLUN.
SPARE=”DISK213”—thedriveinbay13ofbox2willbeassignedasaspare
drivetotheLUN.
Quotationmarksmustbeenteredbothbeforeandafterthediskdrivethatisto
bedesignatedasasparefortheLUN.
RAIDoverhead=69460MB
Totalspaceoccupiedbynewunit=138920MB
Unit4iscreatedsuccessfully.
给逻辑驱动器指定名字或ID-AssigninganameorIDtoaLUN
Ifdesired(orrequiredbyyouroperatingsystem),eachLUNcanbeassigneda
uniquenameorIDinadditiontoitsnumber.Theseuser-definednamesmakeit
easiertoidentifyspecificLUNsinotherconfigurationprocedures.
OpenVMSsystemsrequireeachLUNtohaveauniqueID.Notwodevicesinthe
entireSANforthisOpenVMSsystemmayshareIDnumbers.LUNsindifferentstorage
systemsmusthavedifferentIDs.
Basiccommand
SETUNIT_ID
SETUNIT_ID0ABC
0—LUN0isbeingassignedaname.
ABC—isthenametoassigntoLUN0.ThenameofthisLUNwillbeABC.
Identifier“ABC”createdforunit0
添加一个SPARE盘-AddingasparetoaLUN
ToaddasparetoanexistingLUN:
ADDSPARE
ADDSPAREUNIT=2DISK109
UNIT=2—theunittoassignthespareto.Thisisthesamenumberthatwas
giventotheunitwhenitwascreatedwiththeADDUNITcommand.Inthis
example,LUN2willhaveuseofthespare.
DISK109—indicatesthedrivestoassignasthesparetotheLUN.Disksare
identifiedbyboxnumberandbaynumber.Inthisexample,drive9inbox
number1istobeused.
删除一个逻辑驱动器-DeletingLUNs
TodeletethelastcreatedLUN:
IfmorethanoneLUNhasbeencreated,onlythelastLUNcreatedcanbe
deleted.Itisimportanttomaintainarecordoftheunitnumbersandtheorderinwhich
theyarecreated.
AfteraLUNisdeleted,itsunitnumbergoesunuseduntilmanuallyassignedtoa
newLUN.UnitnumbersarenotautomaticallyreassignedwhenaLUNisdeleted.
DELETEUNIT
DELETEUNIT4
4—theunittodelete.Thisisthesamenumberthatwasgiventotheunitwhen
itwascreatedwiththeADDUNITcommand.Inthisexample,LUN4istobe
deleted.
Datawillbelostaftertheunitisdeleted.
DoyoustillwanttoDELETEunit4(Y/N)?
Y
Pleasewaitwhileunit4isbeingdeleted…
Unit4isdeletedsuccessfully.
删除spares
Toremoveasparefromu