您好,欢迎访问三七文档
当前位置:首页 > 商业/管理/HR > 销售管理 > Stornext-4.0.1-文件系统命令大全-SNFS-QRG
Page1Page2Page3StorNext4.0.1FileSystemSyntaxconventions:•brackets=replacewithavariable•[]=optionalcomponentcvadmincvaffinityCommandOptionsDescriptioncvadminDisplaystheactiveandstandbySNFSserverprocesses.Canbeusedtoinspectandmodifythestateofactiveservers.[-HFSMHostName]ConnectstotheStorNextFSonthespecifiedmachine(FSMHostName).[-FFileSystemName]Setsthefilesystem(FileSystemName)astheactivefilesystem.[-ffilename]Readscommandsfromthespecifiedfile.[-ecommand]Runsthecvadmincommandandexits.Note:Commandsarelistedbelow.activatefile_system_nameActivatesthefilesystem(file_system_name).debug[[+|-]value]ViewsorsetstheStorNextFSdebuggingflags.disks[refresh]DisplaysStorNextFSdiskvolumesvisibletothismachine.Iftherefreshoptionisused,thevolumesarere-scanned.downgroupnameDisablesaccesstothestripegroup(groupname).failfile_system_name|index_numberFailsoverthefilesystem(file_system_name).HighPerformanceWorkflowandIntelligentArchivingcvadminfsmlist[file_system_name][on[hostname|IP_address]]DisplaysthestateofFSMprocessesforthespecifiedfilesystem,hostname,orIPaddress.filelocks[yes|no]Showsfilerecordlockenforcement.helpcommandDisplaysausagesummaryofcommand.latency-test[index_number|all][seconds]RunsanetworklatencytestbetweentheFSMandaclientorallclients.pathsDisplaysStorNextFSlabeleddisksvisibletothelocalsystem.proxy[long]DisplaysdistributedLANserversfortheselectedfilesystem.Withthelongargument,theserveddisksarealsodisplayed.proxywhohostnameDisplaysallactivedistributedLANconnectionsforthespecifiedhost.qosDisplaysper-stripegroupQOSstatistics.repofCreatesareportshowingallopenfilesonthefilesystem.quitDisconnectscvadminfromtheStorNextFSandexits.quotas[yes|no]Enablesordisablesquotaaccountingandenforcement.quotasget[user|group]nameDisplayscurrentquotaparametersfortheuserorgroup(name).quotasset[user|group]namehardlimsoftlimtimelimSetscurrentquotaparametersfortheuserorgroup(name).quotacheckRecalculatestheamountofspaceconsumedbyallusersandgroupsinthefilesystem.repquotaGeneratesquotareportsforallusersandgroupsinthefilesystem.CommandOptionsDescriptioncvadminselectfile_system_nameSelectsthefilesystem(file_system_name)toviewandmodify.show[groupname][long]Displaysinformationaboutstripegroups(groupname)associatedwiththefilesystem.startfile_system_name[hostname|IP_address]StartstheStorNextFSmanagerforthespecifiedfilesystem(file_system_name).statDisplaysthegeneralstatusofthefilesystem.stopfile_system_nameStopstheStorNextFSmanagerforthespecifiedfilesystem(file_system_name).upgroupnameEnablesthestripegroup(groupname).whoQueriestheclientlistfortheselectedfilesystem.CommandOptionsDescriptioncvaffinityEstablishesanaffinitytoastripegrouporliststhecurrentaffinityofafile.[-kkey]Indicateswherethefilesystemshouldplacethedatafile.Ifthekeyparameterisdefined,thenthedatafileisplacedonstripegroupsspecifiedtosupportthisparameter.[-skey]Associateaffinitykeywithfileordirectoryfilename.[-l]Liststheaffinityforthespecifiedfile.[-d]Deletestheaffinityfromthespecifiedfileordirectory.filenameFileordirectoryname.CommandOptionsDescriptionPage4Page5Page6cvcpcvfsckcvfsidCommandOptionsDescriptioncvcpProvidesahighspeed,multi-threadedcopymechanismtocopydirectoriesandtarimagestoandfromtheStorNextFS.sourceSourcefileordirectory.destinationDestinationfileordirectory.[-A]Disablesfilepre-allocation.[-bbuffers]SetsthenumberofI/Obuffers.Defaultvalue:Twotimesthenumberofcopythreadsstarted.[-d]Copiesthefilesandsub-directoriesunderSourceto/Destination/Source.[-kbuffer_size]SetstheI/Obuffersize.Defaultvalue:4MB[-l]Copiesthetargetofsymboliclinksratherthancopyingthelinkitself.[-n]Preventsrecursionthroughsubdirectories.[-psource_prefix]Onlycopiesfilesthatbeginwiththevalueofthesource_prefixparameter.[-s]Forcesallocationstolineuponthebeginningblockmodulusofthestripegroup.[-tnum_threads]Specifiesthenumberofcopythreads.Defaultvalue:4[-u]Onlycopieswhenthesourcefileisnewerthanthedestinationfile.[-v]Displaysverboseoutputaboutthecopiedfiles.cvcp[-x]Retainsoriginalpermissionsfromthesourcefile.Ifsetbythesuperuser,alsosetsstickyandsetuid/gidbits.[-y]Ifsetbythesuperuser,retainsownershipandgroupinformation.[-z]Retainsoriginalmodificationtimes.CommandOptionsDescriptioncvfsckChecksandrepairsafilesystem.[-C]Resettheinodefreelist.[-d]Enablesinternaldebugging.[-e]Reportsstatisticsonallfileextents.[-f]Reportsfragmentation.[-g]Printsthejournalrecoverylog.[-G]Exitsimmediatelyaftercvfskcompleteswithoutwaitingforakeypress(Windowssystemsonly).[-j]Executesjournalrecoveryandexits.[-J]Dumpstherawjournaltostdoutandexits.Fordebugginguseonly.[-K]Resetsthejournalandexits.WARNING:Resettingthejournalmayintroducemetadatainconsistency.Exerciseextremecautionwhenusingthisoption.[-l]Logsproblemstosyslog.CommandOptionsDescriptioncvfsck[-Linode_number]Reassignsorphanedfilestothespecifieddirectory.Theinode_numbermustbea64-bitvalue.[-M]Determinesifanewmetadatadumpisneededandprintsanexplanation.[-n]Enablesafilesystemtobecheckedinaread-onlymode.[-r]Displayswherefilesar
本文标题:Stornext-4.0.1-文件系统命令大全-SNFS-QRG
链接地址:https://www.777doc.com/doc-1831455 .html