Archyvas

Posts Tagged "tūrio"

tūrio

Liepos 7, 2009

Turinys

PAVADINIMAS

tūrio - komandos valdymo apimtis, rodyti garsumo statusą ir kopijavimo apimtis

TRUMPA APŽVALGA

tūrio komanda argumentas ...

APRAŠYMAS

Tūrio komandų šeima valdo apimtis. Tūris yra loginis saugojimo vienetas, kuriame yra failų sistemos įvaizdį ir susijusioms administravimo galimybes, pavyzdžiui, fotografiją tvarkaraščius. Diske, kad apimtis užima (taip pat RAID apsaugą, ji gauna charakteristikos) bendra suma (žr. aggr).

Prieš duomenų ONTAP 7.0, apimtys ir užpildai buvo susilieję į vieną administracinį vienetą, kur kiekvienas agregatas (RAID lygio diskų kolekcija) kurioje tiksliai vieną apimtis (logiška, vartotojo matomas failų sistema). Tūrio šeimos komandų sugebėjo tiek žemesnio lygio diskų aspektus ir aukštesnio lygio failų sistemos aspektus šių sandariai gaunamo kiekio ir (arba) sujungti porų. Tokie tradiciniai apimtis vis dar egzistuoja atgalinio suderinamumo.

Administratoriai dabar gali atsieti loginių failų sistemų (apimtis) valdymą nuo savo pagrindinės fizinės sandėliuojant (užpildai). Visų pirma, ši nauja klasė lanksčių kiekiais suteikia daug daugiau laisvės:

Užpildai gali būti sukurta, sunaikinti, ir administruojama nepriklausomai (per aggr komandų šeimos). Kai bendra sukurta, ji yra visiškai švarūs šiferis, be jokių nepriklausomų loginių failų sistemų (lanksčios tomų).

Naujai sukurtų suvestiniai rodikliai gali būti daug, visiškai nepriklausomas lanksčias apimtis. Bet koks agregatas gali būti iki 200 lanksčių apimtys (atsižvelgiant į daugiau kaip 200 tomų Failai bendrą). Lanksčios apimtys gali būti snapshotted,, Snap restauruotos, kopijuoti, ir nepriklausomai nuo visų kitų lanksčių kiekių, esančių tame pačiame agregate, SnapMirrored.

Užpildai, kuriuose yra viena ar daugiau lanksčių apimtis negali būti apribota arba offlined. Siekiant apriboti ar offline bendra suma, būtina pirmiausia sunaikinti visi jos yra sudedamoji lanksčių apimtis. Tai garantuoja, kad lanksčios apimtys negali išnykti netikėtų ir nešvarus būdais, be savo sistemos būseną tinkamai ir visiškai išvalyti. Tai taip pat užtikrina, kad bet kokie ir visi protokolai, kurie yra naudojami prieigai prie lanksčių apimčių duomenis gali atlikti švarius uždarymų. Užpildai, įterptos į įprastų apimčių niekada negali būti lanksčias apimtis, kad jie neturi veikti pagal šio apribojimo.

Kadangi lanksčios apimtys yra nepriklausomi asmenys iš jų, kurių sudėtyje yra suvestiniams rodikliams, jų dydis gali būti padidintas ir sumažėjo. Lanksčios apimtys gali būti toks mažas kaip 20 MB. Maksimalus dydis už lanksčią apimtis priklauso nuo modelio ir konfigūracijos Failai, bet niekada daugiau nei 16 TB.

Klonuoti apimtys gali būti greitai ir efektyviai sukurtas. Klonas tūris yra įrašomas fotografiją lanksčiai apimties. Iš pradžių klonas ir jos patronuojanti tą pačią saugojimo. Daugiau saugojimo vietos suvartoja tik vieną tūrį ar kitus pasikeitimus. Klonai gali būti padalinti iš tėvų, skatinant juos visiškai nepriklausomų lanksčių apimtis, kad nebėra dalinasi blokus. Klonas visada sukurta tame pačiame agregate, kaip jos tėvų. Klonai, klonai gali būti sukurtas.

FlexCache apimtys gali būti greitai sukurti naudojant tūrio komandą. FlexCache apimtys vietos Failai, nurodytą spartinimo Failai laikomi ir atskiri tomai, kurie dėl skirtingų Failai, nurodytų kilmės Failai talpyklos kopijas. Klientai naudotis FlexCache apimtį, kaip jie galėtų prieiti prie bet kurios kitos kiekio, eksportuoto per NFS. FlexCache turi būti licencijuota dėl spartinimo Failai bet nereikia kilmės Failai. Galimybė flexcache.enable kilmės Filer, turi būti nustatytas į "On" ir galimybė flexcache.access turi būti tinkamai nustatytas. Iš FlexCache Dabartinė versija palaiko tik kliento prieigos, per NFSv2 ir NFSv3.

Tūrio komanda šeima yra suderinama naudoti su ankstesnes versijas ir gali valdyti tiek tradicinius, tiek lankstus apimtis. Kai kurie nauji vol komandos šiame pranešime, taiko tik lanksčių apimtis. Nauja aggr komanda šeima kontroliuoti RAIDlevel saugojimo. Pagrindinis bendra lanksčių apimčių, gali būti valdoma tik šios komandos.

Vol komandos gali sukurti naujus kiekius, sunaikinti esamas keisti garsumo statusas, padidinti dydį tūrio arba sumažinti dydį, jei ji yra lanksti tūris), taikomas parinktis tūrio, kopija vienas tūris į kitą, ekranas statusas, kurti ir valdyti mesti lanksčių apimtis.

Kiekvienas tūris turi pavadinimą, kuris gali būti raidės, skaičiai ir pabraukimai (_); Pirmasis simbolis turi būti raidė arba pabraukimo.

Garsas gali būti internete, apribotas ar offline. Kai tūris yra apribotas, tam tikros operacijos yra leidžiama (pvz., tūrio kopiją ir pariteto rekonstrukcijos), tačiau prieigą prie duomenų neleidžiama. Apimtys gali būti derinių šių valstybių:

active_redirect
Lanksti tūris yra bendra suma, dėl kurių bendras perskirstymas arba failas perskirstymas-p galimybe pradėjo, bet nebaigė. Skaityti veiklai gali pakenkti iki perskirstymas būtų sėkmingai užbaigtas.

kopijavimo
Tūris yra šiuo metu aktyvaus tūrio kopiją ar snapmirror operacijų, taikiniu.

nualinta
Tūrio, kurių sudėtyje yra bendra yra bent vienas nevisaverčio RAID grupė, kuri nėra rekonstruojama.

flex apimtis yra lankstus apimtis, bendra suma ir gali būti auginami arba sumažėjo 4k padalomis.

užsienio
Diskai, kad tūrio, kurių sudėtyje yra bendra kuriame buvo perkeltas į dabartinę Failai iš kitos Failai.

augantis
Diskai yra įtraukta į kiekį, kuriame yra bendra suma.

Inicijuojama
Tūris arba jo sudėtyje yra bendra yra inicializuoti.

negaliojantis
Apimtis nėra galiojantį failo sistemą. Paprastai tai atsitinka tik po nutrauktas tūrio kopijavimo operacijų.

lyginimas
WAFL suderinamumo patikrinimas yra atliekamas kiekį su bendra suma.

veidrodis nualinta
Tūrio, kurių sudėtyje yra bendra veidrodinį bendra suma, ir vienas iš jo kompleksų neprisijungęs arba resyncing,.

veidrodinį
Tūrio, kurių sudėtyje yra bendra veidrodinį ir visi jos RAID grupių yra funkcinis.

poreikius patikrinti
WAFL suderinamumo patikrinimas turi būti atliekamas kiekį, kuriame yra bendra suma.

pasenęs
Tūrio, kurių sudėtyje yra bendra veidrodinį ir reikia resychronized.

dalinis
Bent vienas diskas buvo nustatyta, kiekį, kuriame yra bendra suma, bet du ar daugiau diskų, trūksta.

RAID0 tūrio, kurių sudėtyje yra bendra sudaro RAID-0 (ne paritetas) RAID grupių, V-serija ir NetCache tik).

raid4 tūrio, kurių sudėtyje yra bendra sudaro RAID-4 RAID grupių.

raid_dp
Tūrio, kurių sudėtyje yra bendra sudaro, iš RAIDDP (double Paritetais) RAID grupių.

rekonstruoti
Bent vienas RAID grupė apimtį turinčio bendra suma yra rekonstruotas.

nukreipti
Lanksti tūris yra bendras perskirstymas arba failas su-p galimybe perskirstymas buvo pradėta bendra suma.

resyncing
Vienas iš kompleksų apimtį turinčio veidrodinį bendra suma yra resynchronized.

snapmirrored
Tūris yra kitą tomą snapmirrored kopija.

sv-atkurti
Atkurti-on-Demand šiuo metu vyksta dėl šios apimties. Tūris yra prieinama, nors visų blokų tūrio negalima buvo atkurta dar. Naudokite snapvault būsenos komandą peržiūrėti atkūrimo pažangą.

trad tūris yra tai, kas vadinama kaip tradicinio tūrio. Lydyto bendra suma, ir jokie kiti kiekiai gali būti sulaikytos to tūrio, kuriame yra bendra suma. Šis tipas yra tiksliai ekvivalentiški kiekius, kurie egzistavo prieš duomenų ONTAP 7.0.

nepataisoma
Tūris yra lankstus tūris, kuris buvo pažymėtas nepataisoma. Prašome susisiekti su klientų aptarnavimo, jei apimtis šioje valstybėje.

tikrinti
RAID veidrodis patikrinimas operacija šiuo metu vadovauja kiekį su bendra suma.

wafl nesuderinamas
Tūris arba jo sudėtyje yra bendra buvo pažymėta sugadintas. Prašome susisiekti su klientų aptarnavimo, jei apimtis šioje valstybėje.

flexcache
Tūris yra tūris FlexCache.

prijungti
Tūris yra FlexCache apimtis ir tinklo ryšys tarp šio kiekio ir kilmės tūrio dar nenustatė.

NAUDOJIMAS

Šios komandos yra tūrio pagal:

  pridėti sukurti neprisijungęs šveitimas autosize sunaikinti internete dydis klonas lang galimybės padalijimas konteineris media_scrub pervardyti statusas kopija veidrodis apriboti patikrinti 

tūrio pridėti volname
[-F]
[-N]
[G raidgroup]
{Ndisks [@ dydis]
|
D disk1 [disk2 ... ] [-D diskn [diskn 1 ... ]]}

Prideda nurodytą diskų rinkinį į bendrą tradicinio tūrio, pavadintą volname dalį, ir auga vartotojo matomą failų sistema tradicinio tūrio dalį iki tos pačios sumos saugojimo. Žiūrėti į aggr vyras puslapis įvairių argumentų aprašymo.

Tūrio pridėti komanda nesugeba, jei, pasirinko volname yra lankstus tūris. Lanksčios apimtys reikalauja, kad bet kokie dėl jų sudėtyje yra suvestiniams operacijos būtų tvarkomi per naują aggr komandų komplektą. Šiuo konkrečiu atveju turėtų būti naudojami, aggr pridėti.

tūrio autosize volname [-M dydis [K | M | g | t] [-i dydis [K | m | g | T] [dėl | išjungti | RESET]

"Tomas autosize" leidžia lankstus apimtis automatiškai auga dydžio bendra suma. Tai naudinga, kai tūris yra apie paleisti iš laisvos vietos, bet yra vietos, kurių sudėtyje yra bendro tūrio augti. Ši funkcija veikia kartu su akimirkinius autodelete automatiškai susigrąžinti erdvę, kai tūris yra apie pilnėti. Tūrio pasirinkimas try_first, kontrolės tvarką, kurioje šie du susigrąžinti politika naudojami.

Pagal nutylėjimą yra išjungtas autosize. Papildomų komandų gali būti naudojami, kad autosize tūrio. Iš naujo pa-komanda atstato tūrio parametrai autosize, su įsipareigojimų nevykdymu. Gali būti naudojamas beveik sub-komandą išjungti autosize.

-M, jungiklis leidžia vartotojui nurodyti maksimalų dydį lankstus tūris bus leidžiama augti. Tūrio prieaugio dydžio, nurodyto i pereiti dydis bus padidinta. Apimtis nebus automatiškai augti, jei tūrio dabartinis dydis yra didesnis nei arba lygus nurodyto maksimalaus dydžio su-m galimybe.

tūrio klonas Sukurti clone_vol
[-Ai nė viena | failas | apimtis]
-B parent_vol [parent_snap]

Tūrio klonas sukurti komanda sukuria lankstų apimtį,, pavadinimu clone_vol vietos Failai kad yra klonas "paramą" lanksčios tūrio, pavadintą par_ el nt_vol. Klonas yra tūris, kad yra rašyti kitą tomą fotografiją. Iš pradžių klonas ir jos patronuojanti tą pačią saugojimo, daugiau vietos yra vartojamas tik kaip vieną tūrį ar kitus pasikeitimus.

Jei specifinis parent_snap, per parent_vol, jis pasirinko kaip viršutinio fotografiją. Priešingu atveju, Ātršuvējs sukurti naują duomenų rinkinį, pavadintą clone_parent_ <UUID> (naudojant šviežiai sugeneruotą UUID), parent_vol, šiam tikslui.

Parent_snap yra užrakintas patronuojanti apimties, užkirsti kelią jo išbraukti iki klonas arba sunaikinama, arba padalinti iš tėvų, naudojant tūrio klonas Split pradžios komandą.

Viršutinis lankstus garso parent_vol gali būti klonas pati, todėl "klonų klonai" yra įmanoma. Klonas yra visada sukurta tame pačiame agregate, kaip jos parent_vol.

Tūrio klonas sukurti komanda nesugeba, jei pasirinkta parent_vol šiuo metu dalyvauja tūrio klonas split operacijoje.

Tūrio klonas sukurti komanda nesugeba, jei pasirinkta parent_vol yra tradicinis tūris. Klonavimas yra nauja galimybė taikoma tik lanksčių apimtis.

Numatyta, kad klonas apimtis tą patį saugojimo garantijos kaip patronuojančios apimties; nutylėjimą gali būti viršesni-s jungiklio. Tūrio Naujas komandą Daugiau informacijos apie saugojimo garantijos.

Klonas apimtis negali būti naudojamas kaip tūrio kopiją arba tūrio snapmirror, tikslą. Klonas tūris gali būti naudojamas kaip, už qtree snapmirror tikslą.

tūrio klonas padalijimas pradžia volname

Ši komanda pradeda, atskiriant klonas garso volname nuo savo pagrindinės patronuojančios. Naujas saugojimo skirta klonas tūrio, kuris skiriasi nuo patronuojančios įmonės.

Šis procesas gali užtrukti šiek tiek laiko ir vyksta fone. Naudokite tūrio klonas Split status komandą peržiūrėti komandų pažangą.

Ir klonas ir patronuojančių apimtys išlieka per šį procesą išskaidyti juos išskiria. Baigus, fotografiją, kuris buvo pagrįstas klonas bus atrakinta į patronuojančios apimties. Bet jos klonas Snapshots pašalintas bent tvarkymo pabaigoje. Naudokite tūrio klonas Split stabdymo komandą sustabdyti šį procesą.

Paleidimo komanda tūrio klonas padalijimas taip pat neatsižvelgiama, jei pasirinkta volname yra tradicinis tūris. Klonavimas yra nauja galimybė taikoma tik lanksčių apimtis.

tūrio klonas padalijimas statusas [volname]

Ši komanda rodo pažangą atskirti klonuoti apimtis iš jų pagrindinių patronuojančių apimtis. Jei volname nurodyta, tada padalijimas statusas jeigu toks kiekis. Jei ne apimtis pavadinimas komandinę eilutę, tada visiems klonas padalijimo operacijas, kad šiuo metu yra aktyvus statusas.

Būsenos komanda nesugeba tūrio klonas padalijimas, jei, pasirinko volname yra tradicinis tūris. Klonavimas yra nauja galimybė taikoma tik lanksčių apimtis.

tūrio klonas padalijimas įvertis [volname]

Ši komanda rodo laisvos vietos diske, reikia bendruoju padalinti nurodytą kiekį iš savo pagrindinės patronuojančios tūrio klonas sąmatą. Pranešė vertė gali skirtis nuo faktiškai reikalingo atlikti pasiskirstymą erdvėje, ypač jei klonas tūris keičiasi, kai padalijimas yra atliekamas.

tūrio klonas padalinti langelio volname

Ši komanda sustabdo, klonas atskirti nuo savo patronuojančiai tūrio procesą. Visi blokų, kad anksčiau buvo, pasidalija volname ir stiprindama apimtį, kad jau buvo skaidomas į dalis, išskyrus tūrio klonas Split pradžios liks padalyta išskyrus.

Stabdymo komanda nesugeba tūrio klonas padalijimas, jei, pasirinko volname yra tradicinis tūris. Klonavimas yra nauja galimybė taikoma tik lanksčių apimtis.

tūrio konteinerių volname

Ši komanda rodo su bendruoju pavadinimą, kuriame yra lankstus garso volname.

Tūrio konteinerių komanda nesugeba, jei prašoma veikti tradicinio tūrio, nes jos tvirtai jungiasi su bendra dalis negali būti atsietas.

tūrio kopija nutraukti operation_number | visi

Ši komanda nutraukia apimties kopijavimo operacijas. Operation_number tūrio kopiją nutraukti komandos parametras nurodo, kuri operacija nutraukti. Jei viskas, visos apimties kopijavimo operacijos nutraukiamos.

tūrio kopija pradžios [-|-snapshot] šaltinis paskirties

Kopijuoja visus duomenis, įskaitant kadrų, iš vienos tūrio į kitą. Jei-S vėliava yra naudojama komanda kopijuoja visus šaltinio tūrio vaizdus į paskirties tūrio. Norėdami nurodyti tam tikrą rinkinį kopijuoti, naudoti-s fotografiją pavadinimu, po kurio vėliava. Jei nei-s nei-vėliava naudojama komandą Ātršuvējs automatiškai sukuria išskirtinai pavadinimu fotografiją metu tūrio kopija paleidimo komanda yra vykdoma, ir tik kopijuoja, kad fotografiją į paskirties apimties.

Šaltinis ir paskirties apimtys turi būti tradicinis apimtis arba būti lanksčios apimtis. Tūrio kopija komanda bus nutraukti, jei bandoma kopijuoti skirtingų tipų apimties.

Šaltinio ir paskirties apimtys gali būti toje pačioje Failai arba skirtingų filers. Jei tūris šaltinį arba paskirties yra dėl Failai kitos nei ta, dėl kurių buvo įvesti tūrio kopija paleidimo komanda, nurodyti garso į filer_name pavadinimą: volume_name formatą.

Atkreipkite dėmesį, kad šaltinio ir paskirties apimtys turi būti tos pačios rūšies, arba lanksti arba tiek tradicinis.

Filers dalyvaujantys apimties kopijoje turi atitikti šiuos reikalavimus turi būti užbaigtas sėkmingai tūrio kopijavimo pradžios komandą:

Šaltinis tūris turi būti internete ir paskirties tūris turi būti neprisijungęs.

Jei duomenys kopijuojami tarp dviejų filers kiekvienas Ātršuvējs turi būti apibrėžiamas kaip patikimo šeimininko Kita Failai. Tai yra, pavadinimas Failai turi būti / etc / hosts.equiv Kita Failai failas. ,, Jei vienas Ātršuvējs yra ne / etc / hosts.equiv failą Kita Failai "Permission denied" rodomas klaidos pranešimas vartotojui.

Jei duomenys kopijuojami tą pačią Filer, localhost, turi būti įtrauktas į Failai / etc / hosts.equiv failo. Be to, grįžtamojo adresas turi būti Failai "/ etc / hosts failą. Priešingu atveju, Ātršuvējs negali siųsti paketus pats per grįžtamojo adresu, kai bandote kopijuoti duomenis.

Naudoti vietos diske paskirties apimties turi būti didesnis arba lygus naudingo diske šaltinio apimties. Naudokite komandą df takus į Naudingo diske tam tikram tūriui kiekį.

Kiekvienas tūrio kopija paleidimo komanda generuoja du garsumo kopijavimo operacijas: skaityti duomenis iš šaltinio tūrio ir rašyti duomenis į paskirties tūrio. Kiekvienas Ātršuvējs palaiko iki keturių vienu metu apimties kopijavimo operacijų.

tūrio kopija statusas [operation_number]

Rodo pažanga vienos ar visų aktyvių apimties kopijavimo operacijos, jei tokių yra. Operacijos yra sunumeruoti nuo 0 iki 3. Jei nėra operation_number yra nurodyta, tada statusą visiems aktyviems tūrinė koncentracija kopijavimo operacijų.

tūrio kopija droselio [operation_number] vertė

Ši komanda kontroliuoja tūrio kopijavimo operacijų efektyvumą. Vertė svyruoja nuo 10 (visu greičiu) 1 dalies vieną dešimtąją visu greičiu). Numatytoji vertė ir toliau išlaikoma Failai vol.copy.throttle galimybe ir yra nustatytas 10 (visu greičiu) gamykloje. Veikimo vertė gali būti taikomos nurodytos operacijos pagal operation_number parametrų. Jei operacija numeris nenurodomas, komanda taikomas visiems aktyviems apimties kopijavimo operacijų.

Naudokite šią komandą, norėdami apriboti apimties kopijavimo operacijų greitį, jei jie yra įtariamas sukelti našumo problemų dėl Failai. Visų pirma, droselinės sklendės valdymo įtaisas yra skirtas padėti apriboti tūrio kopiją kompiuterio procesoriaus naudojimą. Jis negali būti naudojamas tiksliai nustatyti tinklo pralaidumo vartojimo įpročius.

Tūrio kopija droselio komanda tik leidžia kopijavimo operacijų apimties, kad yra pažangos, kuri bus numatyta greitį. Norėdami nustatyti numatytąjį garso kopijavimo greitį, kuris bus naudojamas būsimiems apimties kopijavimo operacijų, naudokite komandą Pasirinktys, nustatyti vol.copy.throttle variantą.

tūrio Sukurti flex_volname
[-L LANGUAGE_CODE]
[-Ai nė viena | failas | apimtis]
aggrname dydis

tūrio Sukurti trad_volname
[-L LANGUAGE_CODE]
[-F] [-n] [m]
[L [laikymasis | Įmonė]]
[-T raidtype] [-r raidsize]
{Ndisks [@ dydis]

|
D disk1 [disk2 ... ] [-D diskn [diskn 1 ... ]]}

tūrio Sukurti flexcache_volname
[-L LANGUAGE_CODE]
aggrname dydis
[Dydis [k | m | g | t]]
[-Remotehost: remotevolume]

Sukuria lankstų, tradicinis, ar FlexCache apimtis.

Jei pirmasis formatas yra naudojamas, lankstus tūris pavadintas flex_volname, sukurta į jungtinio aggrname saugojimo. Dydis argumentas nurodo lanksčios tūrio kuriamas dydį. Tai skaičius, pasirinktinai po k, m, g, arba t, reiškiantis kilobaitų, megabaitų, gigabaitų, ar ​​terabaitų. Jeigu nė vienas iš minėtų laiškų naudojami, vieneto nutylėjimą baitais ir apvalinamas iki artimiausių 4 KB). Lanksčios apimtys gali būti toks mažas kaip 20 MB. Maksimalus dydis už lanksčią apimtis priklauso nuo modelio ir konfigūracijos Failai, bet niekada daugiau nei 16 TB.

Pasirinktinai-s kontroliuoja, ar tūris garantuoja tam tikrą vietos diske,. Pagal nutylėjimą, šio kintamojo reikšmė yra tūris, o tai reiškia, kad visą tūrio dydis bus preallocated. Byla vertė reiškia, kad erdvė bus preallocated, visų kosmose rezervuotų failų ir Luns tūrio. Sandėliavimo yra ne preallocated, failų ir Luns, kad yra ne kosmose saugomos. Rašo, kad jie gali žlugti, jei pagrindinis agregatas neturi erdvę saugoti rašytinius duomenis. vertė reiškia, kad jokia erdvė bus preallocated, net jei tūris yra kosmose rezervinius failus ar Luns; jei bendra tampa pilnas, erdvė nebus galima įsigyti net kosmosu rezervuotų failus ir Luns per tūrio. Atkreipkite dėmesį, kad nė vienas ir rinkmenos parametrai leidžia perviršio turinčių bendrą aggrname. Kaip tokia, ji bus galima paleisti iš vietos į naują lanksčią tūrio, nors ji dar suvartojamos nurodytu savo dydį. Naudokite šiuos parametrus, kruopščiai, ir rūpintis, nuolat stebėti kosmoso panaudojimą perviršio situacijas.

Norėdami sukurti lanksčią tūrio klonas, naudokite tūrio klonas Sukurti komandą.

Jei pagrindinis bendra aggrname,, nuo kurių sukurta lanksti tūris yra bendra SnapLock, lankstus tūris bus tūrio SnapLock ir automatiškai paveldi SnapLock tipą, arba atitiktį arba "Enterprise", nuo visumos.

Jei antras formatas naudojamas tradicinis tūris, pavadintas trad_volname sukurtas naudojant nurodytą diskų rinkinį. Žiūrėti į aggr vyras puslapis įvairių argumentų aprašymo šio tradicinio tūrio kūrimo formos.

Jei trečioji formatas naudojamas, FlexCache tūris, pavadintas flexcache_volname sukurta aggreagate aggrname. FlexCache tūris yra sukurta už Failai remotehost esančio tūrio remotevolume,,. Ši parinktis galima tik galioja jei FlexCache funkcionalumas yra licencijuota. Jei dydis nenurodomas, tuomet FlexCache tūris bus sukurta autogrow, įjungtas. Originalus dydis tūrio bus pats mažiausias dydis iš lankstaus tūrio, bet dydis bus automatiškai didės, nes daugiau erdvės reikia FlexCache apimties, siekiant gerinti veiklos rezultatus, išvengiant iškeldinimą. Nors dydis liko kaip laisvai pasirenkamą parametrą, rekomenduojamas būdas FlexCache apimtis yra leido su autogrow.

Jei-l LANGUAGE_CODE argumentas naudojamas, Ātršuvējs sukuria su kalba, nurodytą kalbos kodą apimtį. Nutylėjimą yra kalba, naudojama Failai šaknų tūrio.

Kalbos kodai yra:

           En_ C (POSIX) su (arabų) cs (Čekija) Da (danų) de (vokiečių) En (anglų) (English (US)) Es (ispanų) Fi (suomių) fr (prancūzų) jis (hebrajų) Hr (kroatų ) Hu (Hungarian) (Italų) ir (japonų EUC-j) ja_JP.PCK (. japonų PCK (Sjis)) Ko (korėjiečių) ne (norvegų) Nl (olandų) pl (lenkų), PT (portugalų) Ro (rumunų) ru (rusų) Slovakija (Slovakijos) Sl (slovėnų) SV (švedų) Tr (turkų) Zh (Kinų) zh.GBK (Kinų supaprastinta (GBK)) zh_tw (Tradicinė kinų EUC-TW) zh_TW.BIG5. (Tradiciniai kinų Didelis 5) 

Norėdami naudoti UTF-8 kaip NFS simbolių rinkinį, papildymo `" UTF-8 "į minėtų kalbų kodus.

tūrio sukurti sukurti numatytąjį įrašą / etc / exports faile, išskyrus atvejus, kai yra išjungta galimybė nfs.export.auto-update.

Norėdami sukurti SnapLock garsumą, nurodykite L vėliava su tūrio sukurti komandą. Ši vėliava yra palaikomi tik jei arba SnapLock laikymasis arba SnapLock Įmonių licenciją. , Tūrio sukurta SnapLock tipas, arba atitikties arba "Enterprise", yra nustatomas įdiegta SnapLock licencijos tipo. Jei, tiek SnapLock laikymasis ir SnapLock Įmonių licencijuotos, naudojimo L reikalavimų arba yra L įmonė nurodyti pageidaujamą garso tipą.

, tūrio sunaikinti {volname | plexname} [-f]

Naikina (tradicinis arba lankstus) tūrį, pavadintą volname arba Plex, pavadintą plexname per tradicinio veidrodinio tūrio.

Prieš sunaikindami apimtį arba Plex, vartotojo prašymą patvirtinti operaciją. -F, vėliava gali būti naudojama be raginimo sunaikinti apimtį arba Plex.

Tai priimtina, sunaikinti, lanksčią garso volname net jei jis yra paskutinis savo turinčio bendra suma. Tokiu atveju, bendras tampa tiesiog neturi naudoti matomų failų sistemas, bet visiškai išlaiko visus savo diskus, RAID grupes ir kompleksų.

Jei per tradicinio veidrodinio tūrio Plex yra sunaikinta tokiu būdu, tradicinis tūris paliekamas su vienu plex, ir tampa unmirrored.

Visi šios operacijos Plex ar tradicinis tūrio sunaikinti diskų tapti atsarginių diskų.

Tik offline apimtys ir kompleksų gali būti sunaikinti.

tūrio sunaikinti, ištrinti visus įrašus, priklausančius / etc / exports faile tūrio, išskyrus atvejus, kai yra išjungta galimybė nfs.export.auto-update.

tūrio lang [volname [LANGUAGE_CODE]]

Rodo arba pokyčiai pobūdis kartografavimo dėl vol_ N AME.

Jei jokie argumentai, tūrio lang rodo, palaikomų kalbų ir jų kalbų kodų sąrašą.

Jei tik volname yra, ji parodo nurodytą kiekį kalbą.

Jei, tiek volname ir kalbos kodas, joje nurodytą kiekį tam tikros kalbos kalbą.

tūrio media_scrub statusas [volname | plexname | GROUPNAME-disko pavadinimas]
[-V]

Ši komanda spausdina žiniasklaidos krūmų statusą pavadintas tradicinio tūrio, Plex RAID grupė ar atsarginių disko. Jei ne pavadinimas, tada statusas visus RAID grupių ir atsarginių diskų šiuo metu veikia žiniasklaidos pilingas. Statusas apima proc. Išsami ir suspenduotų (jei yra).

-Prieš vėliava rodo datą ir laiką, kada paskutiniai pilni žiniasklaidos krūmų užpildytą data ir laikas dabartinės žiniasklaidos atvejų, krūmų pradėjo, ir šiuolaikinė būklė pavadintas tradicinio tūrio, Plex RAID grupę ar atsarginį diską. Tai numatyta visų RAID grupių, jei ne pavadinimas.

Būklė komanda tūrio media_scrub, nepavyksta, jei pasirinkta volname yra lankstus apimtis. Lanksčios apimtys reikalauja, kad visos operacijos, kurių tiesiogiai susiję su jų sudėtyje yra suvestiniams būti tvarkomi per naują aggr komandų komplektą. Šiuo konkrečiu atveju, administratorius turėtų naudoti komandą status, kad aggr media_scrub.

tūrio veidrodis volname
[-N]
[Prieš victim_volname]
[-F]
[-D disk1 [disk2 ... ]]

Mirrors the currently-unmirrored traditional volume volname , either with the specified set of disks or with the contents of another unmirrored traditional volume victim_volname , which will be destroyed in the process.

The vol mirror command fails if either the chosen volname or victim_volname are flexible volumes. Flexible volumes require that any operations having directly to do with their containing aggregates be handled via the new aggr command suite.

For more information about the arguments used for this command, see the information for the aggr mirror command on the aggr man page.

vol offline { volname | plexname }
[ -t cifsdelaytime ]

Mano apimtį, pavadintą volname (arba Plex,, pavadintas plexname per tradicinio tūrio) neprisijungęs. Komanda įvyksta prieš grįžtant. Jeigu tūris yra jau riboto valstybės, tada jis jau nėra prieigos prie duomenų, ir daug kitų aprašymo netaikoma.

Dabartinis šaknis tūris negali būti imtasi neprisijungę. Nei tūris pažymėtas tapti administratoriumi (naudojant tūrio funkcijos volname root) gali būti imtasi neprisijungęs.

Jeigu tūris yra CIFS akcijas, vartotojai turi būti įspėti prieš pradėdami garso neprisijungus. Naudokite-t, galimybė tai padaryti. Cifsdelaytime argumentas nurodo minučių atidėti jį prieš pradėdami vartoti garso neprisijungus, per kurį laiko CIFS vartotojas yra įspėjamas, kol paslaugų praradimo. 0 reiškia, kad tūris turi būti imtasi neprisijungęs nedelsiant ir be įspėjimo. CIFS vartotojai gali prarasti duomenis, jei jie nėra suteikta galimybė nutraukti paraiškų grakščiai.

Plex, Jei nurodyta plexname, turi būti veidrodinį tradicinio tūrio dalis, ir abi kompleksų turi būti internete. Prieš yra sudėtingą offlining, sistema praplaukite visus viduje palaikymo duomenis, susijusius su Plex ir sukurti fotografiją, kuri yra parašyta iš abiejų kompleksų. Fotografiją leidžia, efektyviai resinchronizacinė Plex vėliau parsigabentas internete.

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 .

Jei šis kiekis yra nesuderinamas, tačiau nėra prarastus duomenis, vartotojas galės būti atsargūs ir paskatino iki patalpinimo internete išlaidos. -F, vėliava gali būti naudojamas siekiant panaikinti šią problemą. Patartina paleisti WAFL_check (arba padaryti snapmirror initialize replika apimties atveju) iki prasidedant nepastovų garsumo internete. Ieškinio nepastovų garso internete padidina riziką toliau failų sistema korupcija. Jeigu tūris yra nenuosekli ir patyrė galimą duomenų praradimą, ji negali būti pareikštas internete, nebent WAFL_check (arba snapmirror inicijuoti) buvo paleisti tūrio.

Jeigu tūris yra lankstus tūrio ir kurių sudėtyje yra bendra negali pagerbti vietą, garantuojančią, reikalingą šio tomo apimtis internete operacija žlugs. -F, vėliava gali būti naudojamas siekiant panaikinti šią problemą. Nepatartina naudoti apimtis su jų erdvė garantijos išjungtas. Laisvos vietos nebuvimas gali sukelti nesėkmės rašo, o tai savo ruožtu gali atsirasti kai kurių programų duomenų praradimo.

Jei plexname Plex turi būti internete, atspindi tradicinį apimtis. Sistema bus pradėti resinchronizacinė interneto perdirbti į sudėtingą.

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

Yra trys kategorijos pasirinkimo sandorių, nagrinėjamų šioje komandoje. 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

Nustačius šią parinktį, kad ant leidžia mastu tūrio. Tai sukelia taikymas kaip didesnės grupės susijusių duomenų blokus vadinamas apimtis rašyti, rašo būti parašyta tūrio. Naudojant mastu gali padėti darbo krūviai, kurie atlieka daug mažų atsitiktinių rašo po didelės eilės skaito. Tačiau, naudojant mastu gali padidinti disko operacijų sumą, atliktą su Failai, todėl ši galimybė turėtų būti naudojamas tik jei taikytina. Pagal nutylėjimą, šio kintamojo reikšmė yra išjungta, tokiu atveju mastu yra nenaudojamas.

fractional_reserve <pct>

Ši pasirinktis sumažina atminties kiekį, skirtą perrašo rezervuotų objektų (LUN, failai) tūrio. Variantas yra nustatytas pagal nutylėjimą 100 ir rodo, kad 100% reikiamo saugomos vietos iš tikrųjų bus saugomos, todėl objektai yra visiškai apsaugotas perrašo. Vertė gali kisti nuo 0 iki 100. Naudojant vertė mažesnė nei 100 rodo, koks procentas reikiamą saugomos erdvėje iš tiesų turėtų būti saugomos. Tai grąžina papildomos erdvės turimą erdvę tūrio, mažinant bendrą sumą naudojamo ploto. Tačiau tai nereiškia, kad palikti saugomų objektų tūrio pažeidžiamas iš kosmoso klaidų, nes mažiau kaip 100% reikiamo saugomos vietos faktiškai skirtas. Jeigu rezervuotosios erdvė tampa išnaudotos tai sukels sutrikdyta visagalis naudojant objektus. Jei procentas sumažėjo žemiau 100%, tai yra labai rekomenduojama, kad administratorius aktyviai stebėti kosminės erdvės naudojimas tūrio ir imtis korekcinių veiksmų, jeigu saugomos erdvė artėja išsekimą.

fs_size_fixed m. | išjungti

Ši galimybė yra failų sistemos priežastis lieka tas pats dydis, o ne augti arba mažėti, kai SnapMirrored tūris santykiai neveikia, arba, tūrio pridėti atlikti. Ši galimybė automatiškai nustatyti, kai tūris tampa SnapMirrored apimtis. Jis liks, pertrauka po snapmirror, komanda išduoda apimties. Tai leidžia tūrį būti SnapMirrored atgal prie šaltinio nereikia pridėti diskus šaltinio tūrio. Jei tūris dydis yra didesnis nei failų sistemos dydis, išjungti šią parinktį, bus priversti failų sistema augti dydžio tomo. Numatytasis parametras yra išjungtas.

garantija failą | apimtis | niekas

This option controls whether the volume is guaranteed some amount of disk space. The default value is volume , which means that the entire size of the volume will be preallocated. The file value means that space will be preallocated for all the spacereserved files and LUNs within the volume. Storage is not preallocated for files and LUNs that are not space-reserved. Writes to these can fail if the underlying aggregate has no space available to store the written data. The none value means that no space will be preallocated, even if the volume contains space-reserved files or LUNs; if the aggregate becomes full, space will not be available even for space-reserved files and LUNs within the volume. 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

Nustato maksimalų dydis (KB), kuris gali augti katalogas. Tai yra nustatytas 1% visų pagal nutylėjimą sistemos atminties. Daugiausia vartotojų neturėtų tekti pakeisti šį parametrą. Jei šis parametras pasikeitė virš numatytojo dydžio, pranešimas, pranešimas bus spausdinamas prie konsolės, paaiškinanti, kad tai gali paveikti našumą. Ši parinktis yra naudinga už aplinkoje, kurioje sistemos vartotojai gali augti katalogas dydžio, kad prasideda įtaką sistemos veikimą. Kai vartotojas bando sukurti failą į katalogą, kad yra ribos, sistema grąžins ENOSPC klaidą ir nepavyksta "Kurti.

| off minra m.

Jei ši parinktis įjungta, Ātršuvējs atlieka minimalų failą skaityti į priekį tūrio. Pagal numatytuosius parametrus ši parinktis yra išjungta, todėl Ātršuvējs atlikti teoriškesnių failą skaityti į priekį, kai reikia. Naudojant spekuliacijomis skaityti priekį padės pagerinti našumą su daugeliu krūvių, todėl kad ši galimybė turėtų būti vartojamas atsargiai.

| off no_atime_update m.

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.

The retention period can also be explicitly 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 valid retention period is 70 years.

snaplock_enterprise

This read only option indicates that the volume is a SnapLock Enterprise volume. Volumes can only be designated SnapLock Enterprise volumes at creation time.

snaplock_maximum_period infinite | <count>d|m|y

This option is only visible for SnapLock volumes and specifies the maximum allowed retention period for files committed to WORM state on the volume. Any files committed with a retention period longer than this maximum will be assigned this maximum value.

If this option value is infinite then files that have retention periods that never expire may be committed to the volume.

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.

snaplock_minimum_period infinite | <count>d|m|y

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

A flexible volume can be configured to automatically reclaim space in case the volume is about to run out of space, by either increasing the size of the volume or deleting snapshots in the volume. If this option is set to volume_grow ONTAP will try to first increase the size of volume before deleting snapshots to reclaim space. If the option is set to fBsnap_delete ONTAP will first automatically delete snapshots and in case of failure to reclaim space will try to grow the volume.

svo_allow_rman on | off

If this option is on , the filer performs SnapValidator for Oracle data integrity checks that are compatible with volumes that contain Oracle RMAN backup data.If the filer finds any problems, the write will be rejected if the svo_reject_errors option is set to on . The default setting is off .

svo_checksum on | off

If this option is on , the filer performs additional SnapValidator for Oracle data integrity checksum calculations of all writes on the volume. If the filer finds any problems, the write will be rejected if the svo_reject_errors option is set to on . The default setting is off .

svo_enable on | off

If this option is on , the filer performs additional SnapValidator for Oracle data integrity checking of all operations on the volume. If the filer finds any problems, the operation will be rejected if the svo_reject_errors option is set to on . The default setting is off .

svo_reject_errors on | off

If this option is on , the filer will return an error to the host and log the error if any of the SnapValidator for Oracle checks fail. If the option is off , the error will be logged only. The default setting is off .

The second category of options managed by the vol options command comprises the set of things that are closely related to aggregate-level (ie, disk and RAID) qualities, and are thus only accessible via the vol options command when dealing with traditional volumes. Note that these aggregate-level options are also accessible via the aggr family of commands. The list of these aggregate-level options is provided below in alphabetical order:

ignore_inconsistent on | off

If this option is set to on , then aggregatelevel inconsistencies that would normally be considered serious enough to keep the associated volume offline are ignored during booting. The default setting is off .

raidsize number

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. 

aggr status -f is the preferred manner of obtaining this information.

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 CONSIDERATIONS

A subset of the vol subcommands are available via vfiler contexts. They are used for vfiler SnapMirror operations. These subcommands are: online , offline , and restrict . These volume operations are only allowed if the vfiler owns the specified volumes. See vfiler and snapmirror for details on vfiler and snapmirror operations.

EXAMPLES

vol create vol1 aggr0 50g

Creates a flexible volume named vol1 using storage from aggregate aggr0 . This new flexible volume's size will be set to 50 gigabytes.

vol create vol1 -r 10 20

Creates a traditional volume named vol1 with 20 disks. The RAID groups in this traditional volume can contain up to 10 disks, so this traditional volume has two RAID groups. The filer adds the current spare disks to the new traditional volume, starting with the smallest disk.

vol create vol1 20@9

Creates a traditional volume named vol1 with 20 9-GB disks. Because no RAID group size is specified, the default size (8 disks) is used. The newly created traditional volume contains two RAID groups with 8 disks and a third RAID group with four disks.

vol create vol1 -d 8a.1 8a.2 8a.3

Creates a traditional volume named vol1 with the specified disks.

vol create vol1 aggr1 20m -S kett:vol2

Creates a flexible volume named vol1 on aggr1 of size 20 megabytes, which caches source volume vol2 residing on the origin filer kett .

vol create vol1 10
vol options vol1 raidsize 5

The first command creates a traditional volume named vol1 with 10 disks that belong to one RAID group. The second command specifies that if any disks are subsequently added to this traditional volume, they will not cause any current RAID group to have more than five disks. Each existing RAID group will continue to have 10 disks, and no more disks will be added to those RAID groups. When new RAID groups are created, they will have a maximum size of five disks.

vol size vol1 250g

Changes the size of flexible volume vol1 to 250 gigabytes.

vol size vol1 +20g

Adds 20 gigabytes to the size of flexible volume vol1 .

vol clone create vol2 -b vol1 snap2

The filer will create a writable clone volume vol2 that is backed by the storage of flexible volume vol1 , snapshot snap2 .

vol clone create will create a default entry in the /etc/exports file unless the option nfs.export.auto-update is disabled.

vol clone split start vol2

The filer will start an operation on clone volume vol2 to separate the it from its parent volume. The backing snapshot for vol2 will be unlocked once the separation is complete.

vol options vol1 root

The volume named vol1 becomes the root volume after the next filer reboot.

vol options vol1 nosnapdir on

In the volume named vol1 , the snapshot directory is made invisible at the client mount point or at the root of a share. Also, for UNIX clients, the .snapshot directories that are normally accessible in all the directories become inaccessible.

vol status vol1 -r

Displays the RAID information about the volume named 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 

vol copy start -s nightly.1 vol0 toaster1:vol0

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.

SEE ALSO

aggr , partner , snapmirror , sysconfig , license .


Turinys






















































Manual Pages , , , ,

vol

March 3rd, 2009

You can't actually interact with the volumes, this is an old command that is superceded by aggr now.

*> vol
vol: Please use the “aggr” command for maintenance operations on traditional volumes and aggregates.

VN: F [1.9.11_1134]
Rate this post:
Reitingas: 0.0 / 10 (0 votes cast)

Maintenance Mode Commands , , , ,



This site is not affiliated or sponsored in anyway by NetApp or any other company mentioned within.

Bad Behavior has blocked 1170 access attempts in the last 7 days.

© 2009-2012 Chris Kranz All Rights Reserved
This site is not affiliated or sponsored in anyway by NetApp or any other company mentioned within.