vol.
NAVN
vol. - kommandoer til styring af mængder, viser volumen status, og kopiering mængderSYNOPSIS
vol. kommando argument ...
BESKRIVELSE
Den vol. familie af kommandoer administrerer mængder. Et volumen er en logisk enhed af opbevaring, indeholder et filsystem billede og tilknyttede administrative muligheder, såsom snapshot tidsplaner. Den diskplads, at en volumen fylder (såvel som karakteristika RAID beskyttelse, den modtager) leveres af en samlet (se aggr).Før data ONTAP 7,0, blev mængder og aggregater sammen til en enkelt administrativ enhed, hvor hver aggregat (RAID-niveau samling af diske) indeholdt nøjagtig en volumen (logisk, bruger-synlige filsystem). Den vol. familie af kommandoer lykkedes både lavere niveau disklager aspekter og de højere niveau filsystemet aspekter af disse stramt bundet volumen / samlede par. Sådanne traditionelle mængder findes stadig til bagudkompatibilitet.
Administratorer kan nu afkoble forvaltningen af logiske filsystemer (mængder) fra deres underliggende fysiske opbevaring (aggregater). I særdeleshed, giver denne nye klasse af fleksible mængder langt større frihed:
Aggregater kan oprettes, ødelagt, og styres uafhængigt af hinanden (via aggr kommandoen familien). Når en samlet er oprettet, er det en helt ren tavle, fri for enhver uafhængige logiske filsystemer (fleksible mængder).
Nyoprettede aggregater kan indeholde flere, helt uafhængige fleksible mængder. Enhver given samlet kan indeholde op til 200 fleksible mængder (med forbehold for et maksimum på 200 mængder på filer samlede). Fleksible mængder kan snapshotted, snap-restaureret, kopieret, og SnapMirrored uafhængigt af alle andre fleksible mængder, der er indeholdt i den samme samlede.
Aggregater, der indeholder en eller flere fleksible mængder kan ikke begrænses eller offlined. For at begrænse eller offline en samlet, er det nødvendigt først at ødelægge alle dets indeholdte fleksible mængder. Dette sikrer, at fleksible mængder ikke kan forsvinde i uventede og urene måder, uden at deres system tilstand korrekt og fuldstændigt ryddet op. Dette sikrer også, at alle og alle protokoller, der bliver brugt til at få adgang til data i de fleksible mængder kan udføre rene nedlukninger. Aggregater, der er indlejret i traditionelle mængder kan aldrig indeholde fleksible mængder, så de ikke operere under denne begrænsning.
Da fleksible mængder er selvstændige enheder fra deres indhold af aggregater, kan deres størrelse være både steget og faldet. Fleksible mængder kan være så lille som 20 MB. Den maksimale størrelse for en fleksibel volumen afhænger af filer model og konfiguration, men er aldrig over 16 TB.
Klon mængder kan være hurtigt og effektivt skabt. En klon volumen er i realiteten en skrivbar øjebliksbillede af en fleksibel volumen. Oprindeligt klon og dets moderselskab deler den samme lagring. Mere lagerplads indtages kun som en volumen eller de andre ændringer. Kloner kan opdeles fra deres forældre, fremme dem til fuldt uafhængige fleksible mængder, der ikke længere deler nogen blokke. En klon er altid skabt i samme aggregat som dets moderselskab. Kloner af kloner kan dannes.
FlexCache mængder kan hurtigt oprettes ved hjælp af vol-kommandoen. FlexCache mængder er placeret på den lokale filer, der omtales som caching filer, og er cachede kopier af separate mængder, der er på en anden filer, der er nævnt som oprindelsen filer. Klienter får adgang til FlexCache volumen som de ville få adgang til hvilken som helst anden volumen eksporteres via NFS. FlexCache skal licens på cache filer, men er ikke påkrævet for oprindelsen filer. På oprindelse filer, skal muligheden flexcache.enable sættes til "on" og muligheden flexcache.access skal indstilles passende. Den aktuelle version af FlexCache kun understøtter kundens adgang via NFSv2 og NFSv3.
Den vol. Kommandoen familien er kompatibel i brug med tidligere udgivelser, og kan håndtere både traditionelle og fleksible mængder. Nogle nye vol. kommandoer i denne meddelelse gælder kun for fleksible mængder. Den nye aggr kommando familie giver kontrol over RAIDlevel opbevaring. Den underliggende samlede af fleksible mængder kan kun administreres via denne kommando.
De vol. kommandoer kan skabe nye mængder, ødelægge eksisterende, ændre volumen status, øge størrelsen af et volumen (eller formindske størrelsen, hvis det er en fleksibel volumen), gælder muligheder for at et volumen, kopi en volumen til en anden, display status, og oprette og administrere kloner af fleksible mængder.
Hver volumen har et navn, som kan indeholde bogstaver, tal og understregningstegn (_), det første tegn skal være et bogstav eller et understregningstegn.
En lydstyrken kan være online, begrænset eller offline. Når et volumen er begrænset, er visse operationer tilladt (som f.eks vol kopi og paritet genopbygning), men dataadgang er ikke tilladt. Mængder kan være i en kombination af følgende tilstande:
active_redirect
Den fleksible volumen er på en samlet, som samlede omfordeling eller fil omfordeling med-p option er begyndt, men endnu ikke afsluttet. Læs ydeevne kan være forringet, indtil omfordeling er fuldført.
kopiering
Lydstyrken er i øjeblikket målet for aktive vol. kopi eller snapmirror operationer.
nedbrudt
Volumen har indeholdt samlede indeholder mindst en forringet RAID gruppe, som ikke bliver rekonstrueret.
flex Lydstyrken er en fleksibel volumen indeholdt i en samlet og kan dyrkes eller skrumpet i 4K intervaller.
udenlandske
De diske at binds indeholder samlede indeholder blev flyttet til den nuværende filer fra en anden filer.
voksende
Diske er i færd med at blive tilsat til den mængde s indeholdende aggregat.
initialisering
Volumen eller holdige aggregat er i færd med at blive initialiseret.
ugyldig
Volumen ikke indeholder en gyldig filsystem. Dette sker typisk først efter en afbrudt vol. kopi drift.
strygning
En WAFL konsistens kontrollen udføres på binds indeholder samlede.
spejl nedbrudt
Volumen s indeholdende aggregat er spejlet aggregat, og en af dets komplekser er offline eller resyncing.
spejlet
Volumen har indeholdt samlede er spejlet og alle dens RAID grupper er funktionelle.
behov for kontrol
En WAFL konsistens check skal udføres på binds indeholder samlede.
out-of-dato
Volumen har indeholdt samlede er spejlet og skal resychronized.
delvis
Mindst én disk blev fundet for binds indeholder aggregat, men to eller flere diske mangler.
RAID0 Volumen har indeholdt samlede består af RAID-0 (ingen paritet) RAID-grupper (V-serien og NetCache kun).
raid4 Volumen har indeholdt samlede består af RAID-4 RAID-grupper.
raid_dp
Volumen har indeholdt samlede består af RAIDDP (Double Parity) RAID grupper.
rekonstruere
Mindst en RAID gruppe i binds holdige samlede bliver rekonstrueret.
omdirigering
Den fleksible volumen er på en samlet, som samlede omfordeling eller fil omfordeling med-p option er startet.
resyncing
En af komplekser af binds holdige spejlet samlede bliver synkronisering igen.
snapmirrored
Lydstyrken er et snapmirrored kopi af en anden volumen.
SV-genoprette
Restore-on-Demand er i øjeblikket i gang på dette volumen. Volumen er tilgængelig, selv om alle blokke i volumen kan ikke er blevet genoprettet endnu. Brug snapvault status kommandoen til at se gendannelsen fremskridt.
trad Volumenet er hvad der betegnes som en traditionel volumen. Det er fusioneret med et aggregat, og ingen andre mængder kan være indeholdt i dette binds indeholder samlede. Denne type er netop svarer til de mængder, der eksisterede før data ONTAP 7,0.
ubrugeligt
Lydstyrken er en fleksibel volumen, der er markeret ubrugeligt. Kontakt Kundeservice, hvis et volumen vises i denne tilstand.
verificere
En RAID spejl Kontrollen er i øjeblikket kører på binds indeholder samlede.
WAFL inkonsekvent
Volumen eller dens indhold af samlede er markeret beskadiget. Kontakt Kundeservice, hvis et volumen vises i denne tilstand.
flexcache
Lydstyrken er et FlexCache volumen.
tilslutning
Lydstyrken er et FlexCache volumen, og netværksforbindelsen mellem denne volumen og oprindelsen volumen er endnu ikke fastlagt.
BRUG
Følgende kommandoer er tilgængelige i vol suite:tilføje skabe offline krat AutoSize ødelægge online størrelse klon lang muligheder split container media_scrub omdøbe status kopi spejl begrænse kontrollere
[-F]
[N]
[-G raidgroup]
{Ndisks [@ størrelse]
- |
- -D Disk1 [disk2 ... ] [-D diskn [diskn en ... ]]}
Den vol. add kommandoen mislykkes, hvis den valgte volname er en fleksibel volumen. Fleksible mængder kræve, at alle operationer på deres indhold af aggregater skal håndteres via det nye aggr kommandoen suite. I dette specifikke tilfælde, bør aggr add anvendes.
vol. AutoSize volname [-m size [k | m | g | t]] [-i størrelse [k | m | g | t]] [on | off | nulstille]
Volume AutoSize muliggør en fleksibel volumen til automatisk at vokse i størrelse med i en samlet. Dette er nyttigt, når et volumen er ved at løbe tør for ledig plads, men der er plads til rådighed i holdige samlet for volumen til at vokse. Denne funktion arbejder sammen med snap autodelete til automatisk at genvinde plads, når et volumen er ved at få fuld. Volumen mulighed try_first styrer den rækkefølge, som disse to genvinde politikker anvendes.
Som standard AutoSize er deaktiveret. Den på sub-kommando kan bruges til at aktivere AutoSize på volumen. Den reset sub-kommando nulstiller indstillingerne af volumen AutoSize til standard. Den off sub-kommando kan bruges til at deaktivere AutoSize.
Parameteren-m tillader brugeren at specificere den maksimale størrelse, en fleksibel volumen vil blive tilladt at vokse. Størrelsen af mængden vil blive øget ved trinstørrelsen angivet med-jeg tænder. Et volumen vil ikke automatisk vokse, hvis den aktuelle størrelse af den mængde er større end eller lig med den maksimale størrelse angivet med-m.
vol klon skaber clone_vol
[-S none | file | volumen]
-B parent_vol [parent_snap]
Den vol klon skaber kommando skaber et fleksibelt volumen navngivet clone_vol den lokale filer, som er en klon af en "bagside" fleksibel volumen navngivet par_ e nt_vol. En klon er en volumen, der er en skrivbar øjebliksbillede af en anden volumen. Oprindeligt klon og dets moderselskab deler den samme lagring, mere lagerplads der forbruges kun som en volumen eller de andre ændringer.
Hvis en bestemt parent_snap inden parent_vol er tilvejebragt, er det valgt som bagsiden snapshot. Ellers vil filer oprette en ny snapshot navn clone_parent_ <UUID> (ved hjælp af en frisk-genereret UUID) i parent_vol til dette formål.
Den parent_snap er låst i den overordnede volumen, forhindrer dets sletning indtil klon enten er ødelagt eller dele fra den overordnede brug af vol klon split startkommando.
Bakke fleksible volumen parent_vol kan være en klon sig, så "kloner af kloner" er mulige. En klon er altid skabt i samme samlede som sin parent_vol.
Den vol klon create kommando mislykkes, hvis den valgte parent_vol tiden er involveret i en vol. klon opdelingen.
Den vol. klon Opret kommandoen mislykkes, hvis den valgte parent_vol er en traditionel volumen. Kloning er en ny funktion, der udelukkende gælder fleksible mængder.
Som standard er den klon mængde, der afgives på samme lager garanti som forælder volumen standard kan tilsidesættes med-s switch. Se vol. Opret kommando for at få flere oplysninger om lagring garantien.
En klon volumen kan ikke i øjeblikket anvendes som et mål for vol kopi eller volumen snapmirror. En klon volumen kan anvendes som målet for qtree snapmirror.
vol klon split starten volname
Denne kommando begynder at adskille klon volumen volname fra den underliggende forælder. Ny lagring afsat til klon volumen, der er adskilt fra moderselskabet.
Denne proces kan tage nogen tid, og fortsætter i baggrunden. Brug vol klon split status kommandoen til at se kommandoen fremskridt.
Både klon og forældre mængder være tilgængelige under denne proces for at splitte dem fra hinanden. Ved afslutningen, vil øjebliksbillede, som klon var baseret blive låst op i moderselskabet volumen. Eventuelle snapshots i klon fjernes ved slutningen af behandlingen. Brug vol klon split stop-kommando til at stoppe denne proces.
Den vol. klon split startkommando også mislykkes, hvis den valgte volname er en traditionel volumen. Kloning er en ny funktion, der udelukkende gælder fleksible mængder.
vol klon split status [volname]
Denne kommando viser fremskridt i at adskille klon mængder fra deres underliggende forældre mængder. Hvis volname er angivet, så opsplitningen status er fastsat for dette volumen. Hvis der ikke lydstyrken navn vises på kommandolinjen, så status for alle klon opdele operationer, som er aktive er tilvejebragt.
Den vol. klon split status kommandoen mislykkes, hvis den valgte volname er en traditionel volumen. Kloning er en ny funktion, der gælder udelukkende for fleksible mængder.
vol klon split skøn [volname]
Denne kommando viser et estimat af ledig plads, der kræves i den samlede at splitte det angivne klon volumen fra den underliggende forælder volumen. Den rapporterede værdi kan variere fra rummet faktisk kræves til at udføre den opdelte, især hvis klonen volumen ændrer sig, når opdelingen udføres.
vol klon delt stopper volname
Denne kommando stopper fremgangsmåde til at separere en klon fra det overordnede omfang. Alle de blokke, der tidligere blev delt mellem volname og dens bagside volumen, der allerede er splittet ad ved volumen klon split starten vil forblive delt fra hinanden.
Den vol. klon split stopkommando mislykkes, hvis den valgte volname er en traditionel volumen. Kloning er en ny funktion, der udelukkende gælder fleksible mængder.
vol. container volname
Denne kommando viser navnet på det samlede, der indeholder fleksibel volumen volname.
Den vol. beholder kommandoen mislykkes, hvis bedt om at operere på en traditionel volumen, som dens stramt bundet aggregat del, der ikke kan behandles uafhængigt af hinanden.
vol. kopi afbryde operation_number | alle
Denne kommando ophæver volumen kopifunktioner. Den operation_number parameter i vol kopi afbryde kommandoen angiver, hvilken operation for at afslutte. Hvis alle er angivet, er alle kopi-operationer til ophør.
vol. kopi start [-S |-s snapshot] kilde destination
Copies all data, including snapshots, from one volume to another. If the -S flag is used, the command copies all snapshots in the source volume to the destination volume. To specify a particular snapshot to copy, use the -s flag followed by the name of the snapshot. If neither the -S nor -s flag is used in the command, the filer automatically creates a distinctively-named snapshot at the time the vol copy start command is executed and copies only that snapshot to the destination volume.
The source and destination volumes must either both be traditional volumes or both be flexible volumes. The vol copy command will abort if an attempt is made to copy between different volume types.
The source and destination volumes can be on the same filer or on different filers. If the source or destination volume is on a filer other than the one on which the vol copy start command was entered, specify the volume name in the filer_name : volume_name format.
Note that the source and destination volumes must be of the same type, either both flexible or both traditional.
The filers involved in a volume copy must meet the following requirements for the vol copy start command to be completed successfully:
The source volume must be online and the destination volume must be offline.
If data is copied between two filers, each filer must be defined as a trusted host of the other filer. That is, the filer's name must be in the /etc/hosts.equiv file of the other filer. If one filer is not in the /etc/hosts.equiv file of the other filer then "Permission denied" error message is displayed to the user.
If data is copied on the same filer, localhost must be included in the filer's /etc/hosts.equiv file. Also, the loopback address must be in the filer's /etc/hosts file. Otherwise, the filer cannot send packets to itself through the loopback address when trying to copy data.
The usable disk space of the destination volume must be greater than or equal to the usable disk space of the source volume. Use the df pathname command to see the amount of usable disk space of a particular volume.
Each vol copy start command generates two volume copy operations: one for reading data from the source volume and one for writing data to the destination volume. Each filer supports up to four simultaneous volume copy operations.
vol copy status [ operation_number ]
Displays the progress of one or all active volume copy operations, if any. The operations are numbered from 0 through 3. If no operation_number is specified, then status for all active vol copy operations is provided.
vol copy throttle [ operation_number ] value
Denne kommando styrer udførelsen af volumenet kopieringen. Værdien varierer fra 10 (fuld hastighed) til 1 (en tiendedel af fuld hastighed). Standardværdien opretholdes i filer har vol.copy.throttle indstilling og er sat 10 (fuld hastighed) på fabrikken. Udførelse værdi kan anvendes til en operation er angivet af operation_number parameter. Hvis en operation nummer ikke er angivet, kommandoen gælder for alle aktive volumen kopifunktioner.
Brug denne kommando til at begrænse hastigheden af kopi-operationer, hvis de mistænkes for at være årsag problemer med ydeevnen på en filer. Især er gassen udformet til at hjælpe med at begrænse omfanget kopiens CPU'en. Det kan ikke bruges til at finjustere netværk båndbredde forbrugsmønstre.
Den vol. kopi gashåndtaget kun kommandoen gør det muligt at hastigheden af en kopi-virksomhed, som er i gang der skal indstilles. For at opsætte standardsproget kopi-hastighed, der skal bruges ved fremtidige volumen kopifunktioner, skal du bruge kommandoen Indstillinger for at indstille vol.copy.throttle mulighed.
vol. skaber flex_volname
[-L language_code]
[-S none | file | volumen]
aggrname størrelse
vol. skaber trad_volname
[-L language_code]
[-F] [-n] [m]
[-L [overholdelse | virksomhed]]
[-T raidtype] [R raidsize]
{Ndisks [@ størrelse]
- |
- -D Disk1 [disk2 ... ] [-D diskn [diskn en ... ]]}
[-L language_code]
aggrname størrelse
[Size [k | m | g | t]]
[-S remotehost: remotevolume]
Opretter en fleksibel, traditionel eller FlexCache volumen.
Hvis den første format er anvendt, er en fleksibel volumen navn flex_volname oprettet i lageret, som samlet aggrname. Størrelsen argument angiver størrelsen af den fleksible volumen, som skabes. Det er et tal, eventuelt efterfulgt af k, m, G eller T, angiver kilobyte, megabyte gigabytes eller terabytes hhv. Hvis ingen af de ovenstående bogstaver anvendes, enhedens standard byte (og rundes op til nærmeste 4 KB). Fleksible mængder kan være så lille som 20 MB. Den maksimale størrelse for en fleksibel volumen afhænger af filer model og konfiguration, men er aldrig over 16 TB.
Den valgfrie-s switch styrer, om lydstyrken er garanteret en vis mængde diskplads. Standardværdien er volumen, hvilket betyder, at hele størrelsen af den mængde vil blive formålsbestemte. Den fil værdi betyder, at pladsen vil blive formålsbestemte for alle de rum-reserverede filer og LUNs i volumen. Opbevaring er ikke formålsbestemte for filer og LUN'er, der ikke er plads-reserverede. Skriver til disse kan mislykkes, hvis den underliggende samlede ikke har plads til at lagre de skrevne data. Den ingen værdi betyder, at der ikke plads vil blive formålsbestemte, selv om lydstyrken indeholder rum-reserverede filer eller LUN'er, hvis den samlede bliver fuld, vil pladsen ikke være tilgængelig, selv for plads-reserverede filer og LUNs i volumen. Bemærk, at både ingen og filindstillinger mulighed for overbookning af holdige samlede aggrname. Som sådan, vil det være muligt at løbe tør for plads i den nye fleksible lydstyrke, selvom det endnu ikke har indtaget sit erklærede størrelse. Brug disse indstillinger omhyggeligt, og sørge for at regelmæssigt at overvåge pladsudnyttelse i overbooking situationer.
Hvis du vil oprette en klon af en fleksibel volumen, skal du bruge bind klon Opret kommando.
Hvis det underliggende samlede aggrname hvorpå det fleksible volumen bliver skabt en snaplås aggregat, vil den fleksible volumen være en snaplås volumen og automatisk arve snaplås type, enten Compliance eller Enterprise fra aggregatet.
Hvis det andet format der bruges, er en traditionel volumen navn trad_volname oprettet ved hjælp af den angivne sæt af diske. Se aggr man side for en beskrivelse af de forskellige argumenter for at denne traditionelle form for volumen skabelse.
Hvis den tredje udformning anvendes, er en FlexCache volumen navngivet flexcache_volname skabt i aggreagate aggrname. Den FlexCache volumen er skabt for lydstyrken remotevolume placeret på filer remotehost. Denne indstilling er kun gyldig, hvis FlexCache funktionalitet er licenseret. Hvis størrelsen ikke er angivet så FlexCache volumen vil blive lavet med autogrow aktiveret. Den oprindelige størrelse af volumenet vil være den mindst mulige størrelse af et fleksibelt volumen, men størrelsen automatisk vokse, efterhånden som flere rum er nødvendig i FlexCache volumen til at forbedre ydeevnen ved at undgå udsættelser. Selv om størrelsen efterlades som en valgfri parameter, den anbefalede metode til anvendelse FlexCache volumener er med autogrow aktiveret.
Hvis-l language_code argument bruges, den filer skaber volumen med det sprog, der angives af sprogkode. Som standard er det sprog, der bruges af filer rod volumen.
Sprog koder:
C (POSIX) ar (arabisk) cs (Tjekkisk) da (dansk) de (tysk) en (engelsk) en_US (English (US)) es (spansk) fi (finsk) fr (fransk) han (hebraisk) HR (kroatiske ) hu (Hungarian) det (italiensk) ja (japansk EUC-j) ja_JP.PCK (japansk PCK (sjis)) Ko (Korean) nej (norsk) nl (hollandsk) PL (polsk) pt (portugisisk) ro (Rumænsk) ru (russisk) sk (Slovakiet) sl (slovensk) sv (svensk) st (tyrkisk) ZH (forenklet kinesisk) zh.GBK (forenklet kinesisk (GBK)) zh_TW (Traditionel kinesisk EUC-TW) zh_TW.BIG5 (traditionelt kinesisk Big 5)
vol. skaber vil oprette en standard post i / etc / exports-filen, medmindre denne optionsret nfs.export.auto-opdateringen er deaktiveret.
For at oprette en låseringfikseret volumen, skal du angive-L flag med vol. Opret kommando. Dette flag understøttes kun, hvis enten låseringfikseret overensstemmelsesdokument eller låseringfikseret Enterprise licens. Typen af låseringfikseret skabt volumen, enten Compliance eller Enterprise, bestemmes af den type installerede låseringfikseret licens. Hvis både låseringfikseret Compliance og låseringfikseret Enterprise er givet i licens, brug-L overholdelse eller-L virksomhed at angive den ønskede lydstyrke type.
vol. ødelægge {volname | plexname} [-f]
Ødelægger (traditionelle eller fleksible) volumen navngivet volname, eller plex opkaldt plexname inden for en traditionel spejlet diskenhed.
Før ødelægge volumen eller Plex, bliver brugeren bedt om at bekræfte handlingen. The-f flaget kan bruges til at ødelægge en volumen eller Plex uden at spørge.
Det er acceptabelt at ødelægge fleksibel volumen volname selv om det er den sidste i sin indeholder samlet. I så fald, blot den samlede bliver blottet for brugeren synlige filsystemer, men fuldt ud bevarer alle sine diske, RAID grupper og komplekser.
Hvis et kompleks i et traditionelt spejlet volumen ødelægges på denne måde, er den traditionelle volumen tilbage med kun ét kompleks, og bliver således unmirrored.
Alle diske i plex eller traditionelle volumen ødelagt ved denne operation bliver ekstra diske.
Kun offline mængder og komplekser kan blive ødelagt.
vol ødelægge vil slette alle poster tilhørende volumen i / etc / exports-filen, medmindre denne optionsret nfs.export.auto-opdateringen er deaktiveret.
vol. lang [volname [language_code]]
Viser eller ændrer karakter kortlægning på vol_ N AVN.
Hvis ingen argumenter er givet, vol. lang viser listen over understøttede sprog og deres sproglige koder.
Hvis kun volname er givet, viser det sprog den angivne mængde.
Hvis både volname og sprog-kode er givet, det sætter sproget i den angivne volumen til den givne sprog.
vol. media_scrub status [volname | plexname | gruppenavn-s disk-navn]
[-V]
Denne kommando udskriver status for mediernes krat på den navngivne traditionelle volumen, Plex, RAID gruppe eller reservedele drev. Hvis intet navn er givet, så status er givet på alle RAID-grupper og reservedele drev kører i øjeblikket et medie krat. Status omfatter en procent-komplet og den suspenderede tilstand (om nogen).
-V flaget viser dato og tidspunkt, hvor den sidste hele medierne scrub afsluttet, dato og tidspunkt, hvor de nuværende forekomster af medier krat startede, og den aktuelle status for den navngivne traditionelle volumen, plex RAID gruppe eller reservedele drev. Dette er til alle RAID-grupper, hvis intet navn er givet.
Den vol. media_scrub status kommando mislykkes, hvis den valgte volname er en fleksibel volumen. Fleksible mængder kræve, at alle operationer, der har direkte at gøre med at de indeholder aggregater skal håndteres via det nye aggr kommandoen suite. I dette specifikke tilfælde, skal administratoren bruge aggr media_scrub status kommando.
vol. spejl volname
[N]
[-V victim_volname]
[-F]
[-D disk1 [disk2 ... ]]
Afspejler den aktuelt unmirrored traditionelle volumen volname, enten med det angivne sæt af skiver eller med indholdet af en anden unmirrored traditionelle volumen victim_volname, som vil blive ødelagt i processen.
Den vol. spejl kommandoen mislykkes, hvis enten den valgte volname eller victim_volname er fleksible mængder. Fleksible mængder kræve, at alle operationer, der har direkte at gøre med at de indeholder aggregater skal håndteres via det nye aggr kommandoen suite.
For mere information om de argumenter, der bruges til denne kommando, se oplysningerne til aggr spejl kommandoen på aggr manden siden.
vol. offline {volname | plexname}
[-T cifsdelaytime]
Takes the volume named volname (or the plex named plexname within a traditional volume) offline. The command takes effect before returning. If the volume is already in restricted state, then it is already unavailable for data access, and much of the following description does not apply.
The current root volume may not be taken offline. Neither may a volume marked to become root (by using vol options volname root ) be taken offline.
If a volume contains CIFS shares, users should be warned before taking the volume offline. Use the -t option to do this. The cifsdelaytime argument specifies the number of minutes to delay before taking the volume offline, during which time CIFS users are warned of the pending loss of service. A time of 0 means that the volume should be taken offline immediately and without warning. CIFS users can lose data if they are not given a chance to terminate applications gracefully.
If a plexname is specified, the plex must be part of a mirrored traditional volume, and both plexes must be online. Prior to offlining a plex, the system will flush all internally-buffered data associated with the plex and create a snapshot that is written out to both plexes. The snapshot allows for efficient resynchronization when the plex is subsequently brought back online.
A number of operations being performed on the volume in question can prevent vol offline from succeeding for various lengths of time. If such operations are found, there will be a one-second wait for such operations to finish. If they do not, the command is aborted.
A check is also made for files on the volume opened by internal ONTAP processes. The command is aborted if any are found.
The vol offline command fails if plexname resides not in a traditional mirrored volume, but in an independent aggregate. Flexible volumes require that any operations having directly to do with their containing aggregates be handled via the new aggr command suite. In this specific case, the administrator should consult the aggr man page for a more detailed description of the aggr offline command.
vol online { volname [ -f ] | plexname }
This command brings the volume named volname (or the plex named plexname within a traditional volume) online. It takes effect immediately. If there are CIFS shares associated with the volume, they are enabled.
If a volname is specified, it must be currently offline, restricted, or in a foreign aggregate. If volname belongs to a foreign aggregate, the aggregate will be made native before being brought online. A foreign aggregate is an aggregate that consists of disks moved from another filer and that has never been brought online on the current filer. Aggregates that are not foreign are considered native .
If the volume is inconsistent but has not lost data, the user will be cautioned and prompted before bringing it online. The -f flag can be used to override this behavior. It is advisable to run WAFL_check (or do a snapmirror initialize in case of a replica volume) prior to bringing an inconsistent volume online. Bringing an inconsistent volume online increases the risk of further file system corruption. If the volume is inconsistent and has experienced possible loss of data, it cannot be brought online unless WAFL_check (or snapmirror initialize ) has been run on the volume.
If the volume is a flexible volume and the containing aggregate can not honor the space guarantees required by this volume, the volume online operation will fail. The -f flag can be used to override this behavior. It is not advisable to use volumes with their space guarantees disabled. Lack of free space can lead to failure of writes which in turn can appear as data loss to some applications.
If a plexname is specified, the plex must be part of an online, mirrored traditional volume. The system will initiate resynchronization of the plex as part of online processing.
The vol online command fails if plexname resides not in a traditional volume, but in an independent aggregate. Flexible volumes require that any operations having directly to do with their containing aggregates be handled via the new aggr command suite. In this specific case, the administrator should consult the aggr man page for a more detailed description of the aggr online command.
vol options volname [ optname optval ]
This command displays the options that have been set for volume volname , or sets the option named optname of the volume named volname to the value optval .
The command remains effective after the filer is rebooted, so there is no need to add vol options commands to the /etc/rc file. Some options have values that are numbers. Other options have values that may be on (which can also be expressed as yes , true , or 1 ) or off (which can also be expressed as no , false , or 0 ). A mixture of uppercase and lowercase characters can be used when typing the value of an option. The vol status command displays the options that are set per volume. The root option is special in that it does not have a value. To set the root option, use this syntax:
vol options volname root
There are three categories of options handled by this command. The first category is the set of options that are defined for all volumes, both flexible and traditional, since they have to do with the volume's user-visible file system aspects. The second category is the set of aggregate-level (ie, disk and RAID) options that only apply to traditional volumes and not to flexible volumes. The third category is the set of options that are applicable only to FlexCache volumes.
This section documents all three categories of options. It begins by describing, in alphabetical order, options common to all volumes (both flexible and traditional) and their possible values:
convert_ucode on | off
Setting this option to on forces conversion of all directories to UNICODE format when accessed from both NFS and CIFS. By default, it is set to off , in which case access from CIFS causes conversion of pre-4.0 and 4.0 format directories. Access from NFS causes conversion of 4.0 format directories. The default setting is off .
create_ucode on | off
Setting this option to on forces UNICODE format directories to be created by default, both from NFS and CIFS. By default, it is set to off , in which case all directories are created in pre-4.0 format, and the first CIFS access will convert it to UNICODE format. The default setting is off .
extent on | off
Indstilling af denne mulighed for at om muligt omfang i volumen. Dette forårsager program skriver at blive skrevet i volumen som en nedskrivning af en større gruppe af beslægtede datablokke kaldes en grad. Brug omfang kan hjælpe arbejdsbyrder, der udfører mange små tilfældige skriver efterfulgt af et stort sekventiel læst. Dog kan bruge grad øge mængden af disk-operationer udføres på filer, så denne mulighed bør kun bruges hvor det er relevant. Standardværdien er slukket, i hvilket tilfælde omfang ikke anvendes.
fractional_reserve <pct>
This option decreases the amount of space reserved for overwrites of reserved objects (LUNs, files) in a volume. The option is set to 100 by default and indicates that 100% of the required reserved space will actually be reserved so the objects are fully protected for overwrites. The value can vary from 0 to 100. Using a value of less than 100 indicates what percentage of the required reserved space should actually be reserved. This returns the extra space to the available space for the volume, decreasing the total amount of space used. However, this does leave the protected objects in the volume vulnerable to out of space errors since less than 100% of the required reserved space is actually reserved. If reserved space becomes exhausted this will cause disruptions on the hosts using the objects. If the percentage is decreased below 100%, it is highly recommended that the administrator actively monitor the space usage on the volume and take corrective action if the reserved space nears exhaustion.
fs_size_fixed on | off
This option causes the file system to remain the same size and not grow or shrink when a SnapMirrored volume relationship is broken, or when a vol add is performed on it. This option is automatically set to be on when a volume becomes a SnapMirrored volume. It will remain on after the snapmirror break command is issued for the volume. This allows a volume to be SnapMirrored back to the source without needing to add disks to the source volume. If the volume size is larger than the file system size, turning off this option will force the file system to grow to the size of the volume. The default setting is off .
guarantee file | volume | none
Denne indstilling styrer, om lydstyrken er sikret en vis mængde diskplads. Standardværdien er volumen, hvilket betyder, at hele størrelsen af den mængde vil blive formålsbestemte. Den fil værdi betyder, at pladsen vil blive formålsbestemte for alle spacereserved filer og LUNs i volumen. Opbevaring er ikke formålsbestemte for filer og LUN'er, der ikke er plads-reserverede. Skriver til disse kan mislykkes, hvis den underliggende samlede ikke har plads til at lagre de skrevne data. Den ingen værdi betyder, at der ikke plads vil blive formålsbestemte, selv om lydstyrken indeholder rum-reserverede filer eller LUN'er, hvis den samlede bliver fuld, vil pladsen ikke være tilgængelig, selv for plads-reserverede filer og LUNs i volumen. Note that both the none and file settings allow for overbooking the containing aggregate aggrname . As such, it will be possible to run out of space in the new flexible volume even though it has not yet consumed its stated size. Use these settings carefully, and take care to regularly monitor space utilization in overbooking situations. For flexible root volumes, to ensure that system files, log files, and cores can be saved, the guarantee must be volume. This is to ensure support of the appliance by customer support, if a problem occurs.
Disk space is preallocated when the volume is brought online and, if not used, returned to the aggregate when the volume is brought offline. It is possible to bring a volume online even when the aggregate has insufficient free space to preallocate to the volume. In this case, no space will be preallocated, just as if the none option had been selected. The vol options and vol status command will display the actual value of the guarantee option, but will indicate that it is disabled.
maxdirsize number
Sets the maximum size (in KB) to which a directory can grow. This is set to 1% of the total system memory by default. Most users should not need to change this setting. If this setting is changed to be above the default size, a notice message will be printed to the console explaining that this may impact performance. This option is useful for environments in which system users may grow a directory to a size that starts impacting system performance. When a user tries to create a file in a directory that is at the limit, the system returns a ENOSPC error and fails the create.
minra on | off
If this option is on , the filer performs minimal file read-ahead on the volume. By default, this option is off , causing the filer to perform speculative file read-ahead when needed. Using speculative read-ahead will improve performance with most workloads, so enabling this option should be used with caution.
no_atime_update on | off
If this option is on , it prevents the update of the access time on an inode when a file is read. This option is useful for volumes with extremely high read traffic, since it prevents writes to the inode file for the volume from contending with reads from other files. It should be used carefully. That is, use this option when it is known in advance that the correct access time for inodes will not be needed for files on that volume. The default setting is off .
no_i2p on | off
If this option is on , it disables inode to parent pathname translations on the volume. The default setting is off .
nosnap on | off
If this option is on , it disables automatic snapshots on the volume. The default setting is off .
nosnapdir on | off
If this option is on , it disables the visible .snapshot directory that is normally present at client mount points, and turns off access to all other .snapshot directories in the volume. The default setting is off .
nvfail on | off
If this option is on , the filer performs additional status checking at boot time to verify that the NVRAM is in a valid state. This option is useful when storing database files. If the filer finds any problems, database instances hang or shut down, and the filer sends error messages to the console to alert administrators to check the state of the database. The default setting is off .
root [ -f ]
The volume named volname will become the root volume for the filer on the next reboot. This option can be used on one volume only at any given time. The existing root volume will become a non-root volume after the reboot.
Until the system is rebooted, the original volume will continue to show root as one of its options, and the new root volume will show diskroot as an option. In general, the volume that has the diskroot option is the one that will be the root volume following the next reboot.
The only way to remove the root status of a volume is to set the root option on another volume.
The act of setting the root status on a flexible volume will also move the HA mailbox disk information to disks on that volumes. A flexible volume must meet the minimum size requirement for the appliance model, and also must have a space guarantee of volume , before it can be designated to become the root volume on the next reboot. This is to ensure support of the appliance by customer support, because the root volume contains system files, log files, and in the event of reboot panics, core files.
Since setting a volume to be a root volume is an important operation, the user is prompted if they want to continue or not. If system files are not detected on the target volume, then the set root operation will fail. You can override this with the -f flag, but upon reboot, the appliance will need to be reconfigured via setup.
Note that it is not possible to set the root status on a SnapLock volume.
schedsnapname create_time | ordinal
If this option is ordinal , the filer formats scheduled snapshot names using the type of the snapshot and its ordinal (such as hourly.0) If the option is create_time , the filer formats scheduled snapshot names base on the type of the snapshot and the time at which it was created, such as hourly.2005-04-21_1100. The default setting is ordinal .
snaplock_compliance
This read only option indicates that the volume is a SnapLock Compliance volume. Volumes can only be designated SnapLock Compliance volumes at creation time.
snaplock_default_period min | max | infinite <count>d|m|y
This option is only visible for SnapLock volumes and specifies the default retention period that will be applied to files committed to WORM state without an associated retention period.
If this option value is min then snaplock_minimum_period is used as the default retention period. If this option value is max then snaplock_maximum_period is used as the default retention period. If this option value is infinite then a retention period that never expires will be used as the default retention period.
Opbevaringsperioden kan også udtrykkeligt angives som et tal efterfulgt af et suffiks. De gyldige endelser er d for dage, M for måned og y for år. For eksempel repræsenterer en værdi på 6m en lagringsperiode på 6 måneder. Den maksimale gyldig opbevaringsperiode er 70 år.
snaplock_enterprise
Denne læse eneste mulighed indikerer, at lydstyrken er en låseringfikseret Enterprise volumen. Mængderne kan kun betegnes låseringfikseret Enterprise mængder på oprettelsestidspunktet.
snaplock_maximum_period uendelig | <count> d | m | å
Denne indstilling er kun synlig for låseringfikseret mængder og angiver den maksimalt tilladte opbevaringsperiode for filer forpligtet til WORM stat på volumen. Alle filer begået med en opbevaringsperiode længere end dette maksimum vil blive tildelt denne maksimale værdi.
Hvis denne option værdi er uendeligt så filer, der har opbevaringsperioder, som aldrig udløber kan være forpligtet til lydstyrken.
Ellers er opbevaringsperioden angives som et tal efterfulgt af et suffiks. De gyldige endelser er d for dage, M for måned og y for år. For eksempel repræsenterer en værdi på 6m en lagringsperiode på 6 måneder. Den maksimalt tilladte opbevaringsperiode er 70 år.
snaplock_minimum_period uendelig | <count> d | m | å
This option is only visible for SnapLock volumes and specifies the minimum allowed retention period for files committed to WORM state on the volume. Any files committed with a retention period shorter than this minimum will be assigned this minimum value.
If this option value is infinite then every file committed to the volume will have a retention period that never expires.
Otherwise, the retention period is specified as a number followed by a suffix. The valid suffixes are d for days, m for months and y for years. For example, a value of 6m represents a retention period of 6 months. The maximum allowed retention period is 70 years.
snapmirrored off
If SnapMirror is enabled, the filer automatically sets this option to on . Set this option to off if SnapMirror is no longer to be used to update the mirror. After setting this option to off , the mirror becomes a regular writable volume. This option can only be set to off ; only the filer can change the value of this option from off to on .
snapshot_clone_dependency on | off
Setting this option to on will unlock all initial and intermediate backing snapshots for all inactive LUN clones. For active LUN clones, only the backing snapshot will be locked. If the option is off the backing snapshot will remain locked until all intermediate backing snapshots are deleted.
try_first volume_grow | snap_delete
Et fleksibelt volumen kan konfigureres til automatisk at genvinde plads i tilfælde af volumen er ved at løbe tør for plads, enten ved at øge størrelsen af volumen eller slette snapshots i volumen. Hvis denne indstilling er sat til volume_grow ONTAP vil forsøge først at øge størrelsen af volumen, før du sletter snapshots at kræve plads. Hvis indstillingen er sat til fBsnap_delete ONTAP først vil automatisk slette snapshots og i tilfælde af manglende genvinde plads vil forsøge at vokse lydstyrken.
svo_allow_rman on | off
Hvis denne indstilling er slået til, filer udfører SnapValidator for Oracle dataintegritet kontroller, der er kompatible med mængder, der indeholder Oracle RMAN backup data.If af filer finder nogen problemer, den skrive vil blive afvist, hvis svo_reject_errors indstillingen er slået til. Standardindstillingen er slået fra.
svo_checksum on | off
Hvis denne indstilling er slået til, filer udfører yderligere SnapValidator for Oracle dataintegritet checksum beregninger af alle skriver på volumen. Hvis filer finder nogen problemer, vil skrive blive afvist, hvis svo_reject_errors indstillingen er slået til. Standardindstillingen er slået fra.
svo_enable on | off
Hvis denne indstilling er slået til, filer udfører yderligere SnapValidator for Oracle data integritet kontrol af alle operationer på volumen. Hvis filer finder nogen problemer, vil operationen blive afvist, hvis svo_reject_errors indstillingen er slået til. Standardindstillingen er slået fra.
svo_reject_errors on | off
Hvis denne indstilling er aktiveret, vil filer returnere en fejl til værten og logge fejl, hvis nogen af de SnapValidator for Oracle kontrol mislykkes. Hvis indstillingen er slået fra, vil fejlen blive logget kun. Standardindstillingen er slået fra.
Den anden kategori af muligheder, som forvaltes af volumen kommandoen omfatter sæt af ting, der er nært relateret til samlet niveau (dvs. disk og RAID) kvaliteter, og er således kun tilgængelige via vol. kommandoen, når der beskæftiger sig med traditionelle mængder. Bemærk, at disse samlede niveau indstillinger er også tilgængelige via aggr familien af kommandoer. Listen over disse samlede niveau optioner er fastsat nedenfor i alfabetisk rækkefølge:
ignore_inconsistent on | off
Hvis denne indstilling er slået til, så aggregatelevel uoverensstemmelser, der normalt ville blive betragtet som alvorlig nok til at holde tilhørende volumen offline ignoreres under opstart. Standardindstillingen er slået fra.
raidsize nummer
The -r raidsize argument specifies the maximum number of disks in each RAID group in the traditional volume. The maximum and default values of raidsize are platformdependent, based on performance and reliability considerations.
raidtype raid4 | raid_dp | raid0
The -t raidtype argument specifies the type of RAID group(s) to be used to create the traditional volume. The possible RAID group types are raid4 for RAID-4, raid_dp for RAID-DP (Double Parity), and raid0 for simple striping without parity protection. Setting the raidtype on V-Series systems is not permitted; the default of raid0 is always used.
resyncsnaptime number
This option is used to set the mirror resynchronization snapshot frequency (in minutes). The default value is 60 minutes.
For new volumes, options convert_ucode , create_ucode , and maxdirsize get their values from the root volume. If the root volume doesn't exist, they get the default values.
There are a set of options managed by the vol options command that are tied to FlexCache volumes. The list of these options are as follows:
acregmax < timeout >m|h|d|w
Attribute Cache regular file timeout. The amount of time (in seconds) which the cache considers regular files on the given volume to be valid before consulting the origin. The timeout value is a number, optionally followed by m , h , d or w , denoting minutes, hours, days or weeks respectively. If none of the above letters is used, the unit defaults to seconds.
acdirmax < timeout > m|h|d|w
Similar to acregmax , but for directories.
acsymmax < timeout > m|h|d|w
Similar to acregmax , but for symbolic links.
actimeo < timeout > m|h|d|w
Attribute Cache default timeout. This is applied to all filetypes that have no explicit timeout assigned by one of the above attribute cache options.
flexcache_autogrow on | off
Setting this option to on enables autogrow on the FlexCache volume. This causes the FlexCache volume to automatically grow, if there is room in the aggregate, in order to avoid evictions. Setting this option to off will cause the FlexCache volume to no longer automatically grow. The size will not be reverted back to its original size. This option is only valid on FlexCache volumes. Autogrow will be enabled by default on new FlexCache volumes that are created without a size parameter.
flexcache_min_reserve size
Alter the space reserved in the aggregate for the given FlexCache volume, such that the volume is guaranteed to be able to cache up to size data. The size paramater is given as in the vol create command.
vol rename volname newname
Renames the volume named volname to the name new_ n ame . vol rename will rewrite all entries belonging to the volume in the /etc/exports file unless the option nfs.export.auto-update is disabled.
vol restrict volname
[ -t cifsdelaytime ]
Put the volume volname in restricted state, starting from either online or offline state. If the volume is online, then it will be made unavailable for data access as described above under vol offline .
If a volume contains CIFS shares, users should be warned before taking the volume offline. Use the -t option for this. The cifsdelaytime argument specifies the number of minutes to delay before taking the volume offline, during which time CIFS users are warned of the pending loss of service. A time of 0 means take the volume offline immediately with no warnings given. CIFS users can lose data if they are not given a chance to terminate applications gracefully.
vol scrub resume [ volname | plexname | groupname ]
Resume parity scrubbing on the named traditional volume, plex, or RAID group. If no name is given, then all suspended parity scrubs are resumed.
The vol scrub resume command fails if the chosen volname is a flexible volume. Flexible volumes require that any operations having directly to do with their containing aggregates be handled via the new aggr command suite. In this specific case, the administrator should use the aggr scrub resume command.
vol scrub start [ volname | plexname | groupname ]
Start parity scrubbing on the named traditional volume, plex, or RAID group. If volname is a flexible volume, vol scrub start aborts.
Parity scrubbing compares the data disks to the parity disk in a RAID group, correcting the parity disk's contents as necessary.
If no name is given, then start parity scrubs on all online RAID groups on the filer. If a traditional volume is given, scrubbing is started on all RAID groups contained in the traditional volume. Similarly, if a plex name is given, scrubbing is started on all RAID groups in the plex.
The vol scrub start command fails if the chosen volname is a flexible volume. Flexible volumes require that any operations having directly to do with their containing aggregates be handled via the new aggr command suite. In this specific case, the administrator should use the aggr scrub start command.
vol scrub status [ volname | plexname | groupname ] [ -v ]
Print the status of parity scrubbing on the named traditional volume, plex or RAID group. If no name is provided, the status is given on all RAID groups currently undergoing parity scrubbing. The status includes a percent-complete as well as the scrub's suspended status (if any).
The -v flag displays the date and time at which the last full scrub completed, along with the current status on the named traditional volume, plex, or RAID group. If no name is provided, full status is provided for all RAID groups on the filer.
The vol scrub status command fails if the chosen volname is a flexible volume. Flexible volumes require that any operations having directly to do with their containing aggregates be handled via the new aggr command suite. In this specific case, the administrator should use the aggr scrub status command.
vol scrub stop [ volname | plexname | groupname ]
Stop parity scrubbing for the named traditional volume, plex or RAID group. If no name is given, then parity scrubbing is stopped on any RAID group on which one is active.
The vol scrub stop command fails if the chosen vol_ n ame is a flexible volume. Flexible volumes require that any operations having directly to do with their containing aggregates be handled via the new aggr command suite. In this specific case, the administrator should use the aggr scrub stop command.
vol scrub suspend [ volname | plexname | groupname ]
Suspend parity scrubbing on the named traditional volume, plex, or RAID group. If no name is given, all active parity scrubs are suspended.
The vol scrub suspend command fails if the chosen volname is a flexible volume. Flexible volumes require that any operations having directly to do with their containing aggregates be handled via the new aggr command suite. In this specific case, the administrator should use the aggr scrub suspend command.
vol size volname [[+|-] size ]
This command sets or displays the given flexible volume's size as specified, using space from the volume's containing aggregate. It can make the flexible volume either larger or smaller. The size argument has the same form and obeys the same rules as when it is used in the vol create command to create a flexible volume. Be careful if the sum of the sizes of all flexible volumes in an aggregate exceeds the size of the aggregate.
If [+|-] size is used, then the flexible volume's size is changed (grown or shrunk) by that amount. Otherwise, the volume size is set to size (rounded up to the nearest 4 KB).
When displaying the flexible volume's size, the units used have the same form as when creating the volume or setting the volume size. The specific unit chosen for a given size is based on matching the volume size to an exact number of a specific unit. k is used if no larger units match.
The file system size of a readonly replica flexible volume, such as a snapmirror destination, is determined from the replica source. In such cases, the value set in vol size is interpreted as an upper limit on the size. A flexible volume with the fs_size_fixed option set may have its size displayed, but not changed.
A flexible root volume cannot be shrunk below a minimum size determined by the appliance model. This to ensure that there is sufficient space in the root volume to store system files, log files, and core files for use by NetApp technical support if a problem with the system occurs.
The amount of space available for the active filesystem in a volume is limited by the snapshot reservation set for that volume. The snapshot reservation should be taken into account when sizing a volume. See snap for details on how to set a volume's snapshot reservation.
vol split plexname volname
This command removes plexname from a mirrored traditional volume and creates a new, unmirrored traditional volume named volname that contains the plex. The original mirrored traditional volume becomes unmirrored. The plex to be split from the original traditional volume must be functional (not partial), but it could be inactive, resyncing, or out-of-date. The vol split can therefore be used to gain access to a plex that is not up to date with respect to its partner plex if its partner plex is currently failed.
If the plex is offline at the time of the split, the resulting traditional volume will be offline. Otherwise, the resulting traditional volume will be in the same online/offline/restricted state as the original traditional volume. A split mirror can be joined back together via the -v option to vol mirror .
The aggr split command is the preferred way to split off plexes. It is the only way to split off plexes from mirrored aggregates that contain flexible volumes.
vol status [ volname ]
[ -r | -v | -d | -l | -c | -b | -s | -f | -m ]
Displays the status of one or all volumes on the filer. If volname is used, the status of the specified volume is printed. Otherwise, the status of all volumes in the filer are printed. By default, it prints a one-line synopsis of the volume, which includes the volume name, its type (either traditional or flexible ), whether it is online or offline, other states (for example, partial, degraded, wafl inconsistent and so on) and per-volume options. Per-volume options are displayed only if the options have been turned on using the vol options command. If the wafl inconsistent state is displayed, please contact Customer Support.
When run in a vfiler context only the -v, -l, -b, and -? flags can be passed to vol status.
The -v flag shows the on/off state of all per-volume options and displays information about each plex and RAID group within the traditional volume or the aggregate containing the flexible volume. aggr status -v is the preferred manner of obtaining the per-aggregate options and the RAID information associated with flexible volumes.
The -r flag displays a list of the RAID information for the traditional volume or the aggregate containing the flexible volume. If no volname is specified, it prints RAID information about all traditional volumes and aggregates, information about file system disks, spare disks, and failed disks. For more information about failed disks, see the -f option description below.
The -d flag displays information about the disks in the traditional volume or the aggregate containing the flexible volume. The types of disk information are the same as those from the sysconfig -d command. aggr status -d is the preferred manner of obtaining this low-level information for aggregates that contain flexible volumes.
The -l flag displays, for each volume on a filer, the name of the volume, the language code, and language being used by the volume.
The -c flag displays the upgrade status of the Block Checksums data integrity protection feature for the traditional volume or the aggregate containing the flexible volume. aggr status -c is the preferred manner of obtaining this information for a flexible volume's containing aggregate.
The -b is used to get the size of source and destination traditional volumes for use with SnapMirror. The output contains the size of the traditional volume and the size of the file system in the volume. SnapMirror and aggr copy use these numbers to determine if the source and destination volume sizes are compatible. The file system size of the source must be equal or smaller than the volume size of the destination. These numbers can be different if using SnapMirror between volumes of dissimilar geometry.
The -s flag displays a list of the spare disks on the system. aggr status -s is the preferred manner of obtaining this information.
The -m flag displays a list of the disks in the system that are sanitizing, in recovery mode, or in maintenance testing.
The -f flag displays a list of the failed disks on the system. The command output includes the disk failure reason which can be any of following:
unknown Failure reason unknown. failed Data ONTAP failed disk, due to a fatal disk error. admin failed User issued a 'disk fail' command for this disk. labeled broken Disk was failed under Data ONTAP 6.1.X or an earlier version. init failed Disk initialization sequence failed. admin removed User issued a 'disk remove' command for this disk. not responding Disk not responding to requests. pulled Disk was physically pulled or no data path exists on which to access the disk. bypassed Disk was bypassed by ESH.
vol verify resume [ volname ]
Resume RAID mirror verification on the given traditional volume. If no volume name is given, then resume all suspended RAID mirror verification operations.
The vol verify resume command fails if the chosen volname is a flexible volume. Flexible volumes require that any operations having directly to do with their containing aggregates be handled by the new aggr command suite. In fact, the administrator should always use the aggr verify resume command.
vol verify start [ volname ] [ -f plexnumber ]
Start RAID mirror verification on the named online, mirrored traditional volume. If no name is given, then RAID mirror verification is started on all traditional volumes and aggregates on the filer.
RAID mirror verification compares the data in both plexes of a mirrored traditional volume or aggregate. In the default case, all blocks that differ are logged, but no changes are made. If the -f flag is given, the plex specified is fixed to match the other plex when mismatches are found. A volume name must be specified with the -f plexnumber option.
The vol verify start command fails if the chosen volname is a flexible volume. Flexible volumes require that any operations having directly to do with their containing aggregates be handled by the new aggr command suite. In fact, the administrator should always use the aggr verify start command.
vol verify status [ volname ]
Print the status of RAID mirror verification on the given traditional volume. If no volume name is given, then provide status for all active RAID mirror verification operations. The status includes a percent-complete and the verification's suspended status (if any).
The vol verify status command fails if the chosen volname is a flexible volume. Flexible volumes require that any operations having directly to do with their containing aggregates be handled by the new aggr command suite. In fact, the administrator should always use the aggr verify status command.
vol verify stop [ volname ]
Stop RAID mirror verification on the named traditional volume. If no volume name is given, stop all active RAID mirror verification operations on traditional volumes and aggregates.
The vol verify stop command fails if the chosen volname is a flexible volume. Flexible volumes require that any operations having directly to do with their containing aggregates be handled by the new aggr command suite. In fact, the administrator should always use the aggr verify stop command.
vol verify suspend [ volname ]
Suspend RAID mirror verification on the named traditional volume. If no volume name is given, then suspend all active RAID mirror verification operations on traditional volumes and aggregates.
The vol verify suspend command fails if the chosen volname is a flexible volume. Flexible volumes require that any operations having directly to do with their containing aggregates be handled by the new aggr command suite. In fact, the administrator should always use the aggr verify suspend command.
CLUSTER CONSIDERATIONS
Volumes on different filers in a cluster can have the same name. For example, both filers in a cluster can have a volume named vol0.However, having unique volume names in a cluster makes it easier to migrate volumes between the filers in the cluster.
VFILER OVERVEJELSER
En undergruppe af de vol underkommandoer er tilgængelig via vfiler sammenhænge. De anvendes til vfiler SnapMirror operationer. Disse underkommandoer er: online, offline, og begrænse. Disse volumen operationer er kun tilladt, hvis vfiler ejer de angivne mængder. Se vfiler og snapmirror for oplysninger om vfiler og snapmirror operationer.EKSEMPLER
vol. skabe Vol1 aggr0 50gOpretter en fleksibel volumen navn Vol1 med opbevaring af samlet aggr0. Denne nye fleksible volumen størrelse vil blive fastsat til 50 gigabyte.
vol. skaber Vol1-r 10 20
Opretter en traditionel volumen navngivet Vol1 med 20 diske. De RAID grupper i denne traditionelle volumen kan indeholde op til 10 diske, så det traditionelle volumen har to RAID-grupper. De filer tilføjer den nuværende uudnyttede diske til nye traditionelle volumen, startende med den mindste disk.
vol. skaber Vol1 20 @ 9
Opretter en traditionel volumen navngivet Vol1 med 20 9-GB diske. Fordi ingen RAID gruppens størrelse er angivet, er standard størrelse (8 diske), der anvendes. Den nyoprettede traditionelle volumen indeholder to RAID-grupper med 8 diske og en tredje RAID gruppe med fire diske.
vol. skaber Vol1-d 8a.1 8a.2 8a.3
Opretter en traditionel volumen navngivet Vol1 med de angivne diske.
vol. skaber Vol1 aggr1 20m-S kett: vol2
Opretter en fleksibel volumen navn Vol1 om aggr1 størrelse 20 megabyte, som cacher kilden volumen vol2 bopæl på oprindelsen filer kett.
vol. skabe Vol1 10
vol. muligheder Vol1 raidsize 5
Den første kommando opretter en traditionel volumen navngivet Vol1 med 10 diske, der hører til en RAID-gruppe. Den anden kommando angiver, at hvis de diske efterfølgende føjes til denne traditionelle volumen, vil de ikke medføre nogen aktuelle RAID gruppe at have mere end fem diske. Hver eksisterende RAID-gruppe vil fortsætte med at have 10 diske, og ikke flere diske vil blive tilføjet til de RAID-grupper. Når nye RAID-grupper er oprettet, vil de have en maksimal størrelse på fem diske.
vol. størrelse Vol1 250g
Ændrer størrelsen af fleksible volumen Vol1 til 250 gigabyte.
vol. størrelse Vol1 20 g
Tilføjer 20 gigabytes af størrelsen af fleksible volumen Vol1.
vol klon skaber vol2-b Vol1 snap2
Den filer vil skabe en skrivbar klon volumen vol2 der bakkes op af opbevaring af fleksible volumen Vol1, snapshot snap2.
vol klon skaber vil oprette en standard post i / etc / exports-filen, medmindre denne optionsret nfs.export.auto-opdateringen er deaktiveret.
vol klon delt starten vol2
Den filer vil starte en operation på klon volumen vol2 at adskille det fra den overordnede volumen. Bagsiden snapshot til vol2 blive låst, når adskillelsen er fuldstændig.
vol. muligheder Vol1 rod
Volumen opkaldt Vol1 bliver roden volumen efter den næste filer genstart.
vol. muligheder Vol1 nosnapdir på
I volumen opkaldt Vol1, er et snapshot biblioteket gjort usynlig på kundens mount punkt eller ved roden af en aktie. Også for UNIX-klienter, bliver de. Snapshot mapper, der normalt er tilgængelige i alle mapper utilgængelige.
vol. status Vol1-r
Viser RAID oplysninger om volumen opkaldt Vol1:
Volume vol1 (online, raid4) (zoned checksums) Plex /vol1/plex0 (online, normal, active) RAID group /vol1/plex0/rg0 (normal) RAID Disk Device HA SHELF BAY CHAN Used (MB/blks) Phys (MB/blks) ——— —— ————— —- ————– ————– parity 3a.0 3a 0 0 FC:A 34500/70656000 35239/72170880 data 3a.1 3a 0 1 FC:A 34500/70656000 35239/72170880
Copies the nightly snapshot named nightly.1 on volume vol0 on the local filer to the volume vol0 on a remote filer named toaster1 .
vol copy status
Displays the status of all active volume copy operations.
vol copy abort 1
Terminates volume copy operation 1.
vol copy throttle 1 5
Changes volume copy operation 1 to half (50%) of its full speed.









































