资源描述:
《GPFS日常命令详解.docx》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、GPFS日常命令详解:mmdeldiskCommandGPFSV3.3AdministrationandProgrammingReferenceSA23-2221-03DeletesdisksfromaGPFS™filesystem.SynopsismmdeldiskDevice{"DiskName[;DiskName...]"
2、-FDescFile}[-a][-c][-m
3、-r
4、-b][-N{Node[,Node...]
5、NodeFile
6、NodeClass}]DescriptionThemmdeldiskcommandmig
7、ratesalldatathatwouldotherwisebelosttotheremainingdisksinthefilesystem.Itthenremovesthedisksfromthefilesystemdescriptor,preservesreplicationatalltimes,andoptionallyrebalancesthefilesystemafterremovingthedisks.Themmdeldiskcommandhasthefollowingtwofunctions:·Copyingunr
8、eplicateddataoffthedisksandremovingreferencestothedisks(deldiskstep).·Rereplicatingorrebalancingblocksacrosstheremainingdisks(restripestep).Thesetwofunctionscanbedoneinonepassoverthefilesystem,orintwopassesifthe-aoptionisspecified.Runthemmdeldiskcommandwhensystemdema
9、ndislow.Ifareplacementforafailingdiskisavailable,usethemmrpldiskcommandinordertokeepthefilesystembalanced.Otherwise,useoneoftheseprocedurestodeleteadisk:·Ifthefilesystemisreplicated,replicacopiescanbepreservedatalltimesbyusingthedefault-roptionorthe-boption.·Usingthe
10、-moptionwillnotpreservereplicationduringthedeldiskstepbecauseitwillonlycopytheminimalamountofdataoffthediskbeingdeletedsothateveryblockhasatleastonecopy.Also,usingthe-aoptionwillnotpreservereplicationduringthedeldiskstep,butwillthenre-establishreplicationduringthesub
11、sequentrestripestep.·Ifyouwanttomovealldataoffthediskbeforerunningmmdeldisk,usemmchdisktosuspendallthedisksthatwillbedeletedandrunmmrestripefswiththe-ror-boption.Thisstepisnolongernecessary,nowthatmmdeldiskdoesthesamefunction.Ifmmdeldiskfails(oriscanceled),itleavesth
12、edisksinthesuspendedstate,andmmdeldiskcanberetriedwhentheproblemthatcausedmmdeldisktostopiscorrected.·Ifthediskispermanentlydamagedandthefilesystemisnotreplicated,orifthemmdeldiskcommandrepeatedlyfails,seetheGeneralParallelFileSystem:ProblemDeterminationGuideandsearc
13、hforDiskmediafailure.Ifthelastdiskinastoragepoolisdeleted,thestoragepoolisdeleted.Themmdeldiskcommandisnotpermittedtodeletethesyste