Tag: vol
vol
by Chris Kranz on Jul.07, 2009, under Manual Pages
NAME
vol – commands for managing volumes, displaying volume status, and copying volumesSYNOPSIS
vol command argument …
KUVAUS
Vol perhe komentojen hallinnoi määriä. Volyymi on looginen yksikkö varastointi, joka sisältää tiedostojärjestelmän kuva ja niihin liittyviä hallinnollisia vaihtoehtoja, kuten snapshot aikataulut. Disk space siitä, että tilavuus miehittää (samoin kuin ominaispiirteiden of RAID-suojan sen vastaanottamien), on säädetty by aggregaatin (ks. aggr).Ennen Data ONTAP 7,0, volyymit ja aggregaatit sulautetaan yhteen hallinnollinen yksikkö, jossa jokainen yhteenlaskettu (RAID-taso kokoelma levyjä) sisälsi tasan tilavuus (loogisen, käyttäjän näkyvä tiedostojärjestelmä). Vol perhe komentojen hallitaan sekä alemman tason levyä näkökohtia ja korkeamman tason tiedostojärjestelmän osa näistä tiiviisti-kuvaliitteet / aggregaatin paria. Tällaisia perinteisiä määriä edelleen olemassa yhteensopivuuden.
Ylläpitäjät voivat nyt purkaa hallinnan looginen tiedostojärjestelmien (volyymit) niiden fyysiset varastointi (aggregaatit). Erityisesti tämän uuden luokan joustavan volyymien antaa paljon enemmän vapautta:
Aggregaatit voidaan luoda, tuhota, ja hoitaa itsenäisesti (via aggr komento perhe). Kun aggregaatti on luotu, se on täysin puhtaalta pöydältä, vailla itsenäistä loogista tiedostojärjestelmät (joustava volyymit).
Hiljattain luotu aggregaatit voi olla useita, täysin riippumaton joustava määriä. Mikä tahansa yhteenlaskettu voi olla enintään 200 joustavat määriä (edellyttäen enintään 200 nidettä filer yhteensä). Joustava määriä voidaan snapshotted, snap-restauroitu, kopioida ja SnapMirrored riippumatta kaikista muista joustava määriä oltava samassa yhteensä.
Kiviainekset, jotka sisältävät yhden tai useamman joustavan määriä ei voida rajoittaa tai offlined. In Jotta voidaan rajoittamiseksi-tai offline-tilassa aggregaatin, se on välttämätöntä jotta ensin tuhottava kaikkia, annettu sen käytettävä säiliöllä joustavan volyymit. Tämä takaa, että joustava määriä ei häviä odottamattomia ja epäpuhtaita tapoja, ilman sen järjestelmän tilan kunnolla ja kokonaan siivottu. Tämä myös varmistaa, että kaikki mahdolliset protokollat, joita käytetään tietojen käyttämiseksi joustavasti määriä voi tehdä puhtaan seisokkeja. Kiviainekset, jotka on sulautettu perinteisiä määriä voi koskaan olla joustava määrä, joten ne eivät toimi tämän rajoituksen.
Koska joustavat volyymit ovat itsenäisiä yhteisöjä niiden sisältäviä aggregaatteja, niiden koko voi olla sekä lisääntynyt ja vähentynyt. Joustavat tilavuus voi olla olla niinkin pieni kuin 20 Mt:. Maksimikoko joustavaa tilavuus riippuu filer mallin ja version, mutta ei koskaan yli 16 TB.
Clone volyymit perusmoduulit voidaan nopeasti-ja tehokkaasti luotu. Klooni volyymi on vuonna vaikutukseltaan writable tilannekuvan, annettu joustavan tilavuuden. Aluksi klooni ja sen emoyhtiö samaa varastointiin. Enemmän varastointi-space on kulutetaan ainoastaan, sellaisena kuin se on yksi äänenvoimakkuutta tai muita muutoksia. Kloonit voidaan jakaa vanhempien, mainostaa niitä täysin riippumaton joustava määrä, jotka eivät enää jaa lohkot. Klooni luodaan aina samassa yhteensä kuin sen emoyhtiö. Kloonit, annettu kloonit voidaan luotu.
FlexCache määriä voidaan nopeasti luoda käyttäen vol komennolla. FlexCache volyymit on majoitettu annetun paikalliseen filer, tarkoitetuissa tietojen välimuistiin tallentajaa filer,-ja käyttäjätiedot ovat välimuistissa, kopioita of erillisiä volyymit, jotka ovat koskevat eri filer, tarkoitetut sellaisena kuin se on alkuperään filer. Asiakkaitaan FlexCache määrä kuin ne käyttää muita viedyn yli NFS. FlexCache on lisensoitu välimuistin filer, mutta ei vaadita alkuperä filer. Sen alkuperä filer vaihtoehto flexcache.enable on asetettava "on" ja optio flexcache.access on asianmukaisesti asetettu. Nykyinen versio FlexCache vain tukee asiakkaan tulotie NFSv2 ja NFSv3.
Tilavuusprosenttia komento perhe on yhteensopiva käytössä aikaisemmat versiot ja osaa käyttää sekä perinteisiä ja joustava määriä. Joitakin uusia vol komentoja tässä versiossa koskevat vain joustavaa määriä. Uusi aggr komento perhe tarjoaa valvoa RAIDlevel varastointiin. Taustalla yhteenlaskettu Joustavien määriä vain hallinnoi tällä komennolla.
Vol komennot voi luoda uutta nidettä, tuhota vanhoja, muuttaa äänenvoimakkuutta tilan suurentaminen tilavuus (tai pienentää, jos se on joustava tilavuus), hakea vaihtoehtoja tilavuuden, kopioida toisen version, näytön tila, sekä luoda ja hallita klooneja joustavan määriä.
Jokaisella määrä on nimi, joka voi sisältää kirjaimia, numeroita ja alaviivan (_) Ensimmäisen merkin on oltava kirjain tai alaviiva.
Äänenvoimakkuus voi olla verkossa, rajoitettu tai offline. Kun määrä on rajoitettu, tietyt toiminnot ovat sallittuja (esim. til kopiointi ja pariteetti rekonstruktio), mutta tietojen saatavuus on kielletty. Volyymit voivat olla yhdistelmiä seuraavista:
active_redirect
Joustava määrä on yhteensä joista koostetut uudelleenkohdentamista tai tiedoston uudelleen-p vaihtoehto on alkanut, mutta ei ole valmis. Lue suorituskyky voi heikentyä, kunnes uudelleenjako on hyväksytysti suoritettu.
kopiointi
Volyymi on tällä hetkellä tavoite aktiivisten vol kopio tai snapmirror toimintaa.
huonontunut
Volyymi: n, jotka sisältävät aggregaatin sisältää vähintään yhtä sellaista hajonnut RAID-ryhmittymää, jota ei ole ollaan perustamassa uudelleen.
flex volyymi on joustava määrä torjua aggregaatin ja voidaan kasvattaa tai kutistunut 4K välein.
ulkomainen
Levyistä volyymi on kiviainespitoinen sisältää siirrettiin nykyiseen filer toisesta filer.
kasvaa
Disks ovat in prosessissa, annettu parhaillaan lisättyä jotta volyymi: n, jotka sisältävät aggregaatin.
alustetaan
Määrä tai sen sisältävän yhteenlaskettu on parhaillaan alustettu.
pätemätön
Määrä ei ole kelvollinen tiedostojärjestelmä. Näin tapahtuu yleensä vasta keskeytettiin vol. kopiointi.
silitys
WAFL johdonmukaisuuden tarkastus suoritetaan volyymi n kiviainespitoinen.
peili hajonnut
Volyymi on kiviainespitoinen on peilattu aggregaatin, ja yksi sen plexes viesti tai resyncing.
peilattu
Volyymi on kiviainespitoinen on peilattu ja kaikki sen RAID ryhmät ovat toimivia.
tarpeet tarkistaa
WAFL johdonmukaisuuden tarkistus on tehtävä volyymi n kiviainespitoinen.
vanhentunut
Volyymi on kiviainespitoinen on peilattu ja on resychronized.
osittainen
At ainakin yksi disk otettiin löytynyt varten äänenvoimakkuuden: n, jotka sisältävät aggregaatin, mutta kaksi tai useampaa levykettä on puuttuu.
RAID0 volyymi n kiviainespitoinen koostuu RAID-0 (ei pariteettia) RAID-ryhmät (V-sarja ja NetCache vain).
raid4 volyymi n kiviainespitoinen koostuu RAID-4 RAID-ryhmää.
raid_dp
Volyymi on kiviainespitoinen koostuu RAIDDP (Double pariteetti) RAID-ryhmiä.
rekonstruoida
Ainakin yksi RAID-ryhmän volyymi n kiviainespitoinen on rekonstruoitu.
uudelleenohjaus
Joustava määrä on yhteensä joista koostetut uudelleenkohdentamista tai tiedoston uudelleen-p vaihtoehto on aloitettu.
resyncing
Yksi of plexes of volyymi: n sisältävä peilattua-aggregaatti on ollaan tahdistetaan uudelleen.
snapmirrored
Volyymi on snapmirrored replika of toisesta arkiston osasta.
sv-palauttaminen
Palauta-on-Demand on parhaillaan käynnissä tässä teoksessa. Volyymi on saatavilla, vaikka kaikki lohkojen määrä ei välttämättä ole palautettu vielä. Käytä snapvault tila-komento nähdä palautus edistystä.
trad volyymi on se, mitä on tarkoitettujen sellaisena kuin se on perinteisen tilavuuden. Se fuusioidaan aggregaatin, eikä muita määriä voidaan sisältyvät tämän tilavuuden on kiviainespitoinen. Tämäntyyppinen vastaa täsmälleen määrää, joka vallitsi ennen Data ONTAP 7.0.
pilaantunut
Volyymi on joustava määrä, joka on merkitty palauttaa. Ota yhteyttä asiakastukeen mikäli asema näkyy tässä tilassa.
tarkastamisesta
RAID peili tarkastuksen toimintaa parhaillaan ajetaan volyymi n kiviainespitoinen.
wafl epäjohdonmukainen
Määrä tai sen sisältävän yhteenlaskettu on merkitty vioittunut. Ota yhteyttä asiakastukeen mikäli asema näkyy tässä tilassa.
flexcache
Volyymi on FlexCache tilavuus.
yhdistää
Volyymi on FlexCache tilavuus, ja verkko--yhteyden välinen tähän tilavuuden ja alkuperää äänenvoimakkuutta ei ole vielä ole sijoittautunut.
KÄYTTÖ
Seuraavat komennot ovat käytettävissä vol sviitissä:Lisää luoda offline pensaikkoa autosize tuhota verkossa koko klooni lang vaihtoehtoja split kontti media_scrub rename status kopio peili rajoittaa tarkistaa
[-F]
[-N]
[-G raidgroup]
{Ndisks [@ size]
- |
- -D disk1 [levyn disk2 ... ] [-D diskn [diskn +1 ... ]]}
Vol add komento epäonnistuu, jos valittu volname on joustava tilavuus. Joustava lisääntyminen edellyttää, että kaikki toiminta niiden sisältäviä aggregaatteja käsitellään kautta uuden aggr komento suite. Tässä nimenomaisessa tapauksessa aggr add tulisi käyttää.
vol autosize volname [-m size [k | m | g | t]] [-i size [k | m | g | t]] [on | off | reset]
Volume autosize mahdollistaa joustavan volyymin automaattisesti kasvaa kooltaan vuonna yhteensä. Tämä on hyödyllinen, kun tilavuus on loppumassa vapaata tilaa, mutta tilaa on kiviainespitoinen ja myynti kasvaa. Tämä ominaisuus toimii yhdessä snap autodelete automaattisesti takaisin avaruuteen, kun tilavuus on saamassa täyden. Volyymi vaihtoehto try_first kontrolloi järjestys in jossa nämä kaksi vaatia takaisin politiikat ovat käytetään.
Oletuksena autosize ole käytössä. On osa-komentoa voidaan käyttää, jotta autosize levylle. Reset osa-komento palauttaa asetuksia määrän autosize oletusarvot. Off osa-komennolla voidaan poistaa autosize.
-M kytkimellä sallii käyttäjä voi määrittää useita maksimi koon jotta, jotka joustavan tilavuus tullaan antaa kasvaa. Koko määrä korotetaan porrasväliksi täsmennetty-i kytkin. Äänenvoimakkuutta tulee eivät automaattisesti, kasva, jos nykyinen koon of volyymi suurempi kuin tai yhtä suuri kuin maksimi koon määritetty kanssa-m asetusta.
vol klooni luovat clone_vol
[-S none | tiedosto | määrä]
-B parent_vol [parent_snap]
Vol klooni luovat käsky luo joustavan määrän nimetty clone_vol paikallisesta filer joka on klooni "tukea" joustavat volyymin nimettiin par_ e. nt_vol. Klooni on tilavuus, joka on kirjoitettava tilannekuva toiseen asemaan. Aluksi klooni ja sen emoyhtiö samaa varastointi; enemmän tallennustilaa kuluu vain yksi osa tai muita muutoksia.
, Jos erityinen parent_snap kuluessa parent_vol on edellyttäen, se on valitaan sellaisena kuin se on tausta snapshot. Muuten filer luo uuden tilannekuvan nimeltä clone_parent_ <UUID> (käyttäen tuoretta syntyvän UUID) ja parent_vol tätä tarkoitusta varten.
Parent_snap on lukittu vanhempi määrän ja estää sen poistamista, kunnes klooni on joko tuhottu tai erotettu vanhempi käyttää vol klooni split käynnistyskomennon.
Taustalaulu joustavat tilavuuden parent_vol saattaa olla klooni itsessään, joten ", klooneja of klooneja"-ovat mahdollisia. Klooni on aina luotu vuonna sama kokonaisvetoisuus kuin sen parent_vol.
Vol klooni Luo komento epäonnistuu, jos valittu parent_vol on tällä hetkellä mukana vol klooni split toimintaa.
Vol klooni Luo komento epäonnistuu, jos valittu parent_vol on perinteinen tilavuus. Kloonaus on uusi ominaisuus, joka koskee yksinomaan joustava määriä.
Oletuksena klooni tilavuus annetaan sama varastoinnin takauksen vanhempi äänenvoimakkuutta, oletus voidaan ohittaa ja-s kytkin. Katso vol luovat komento lisätietoja varastoinnista takuun.
Klooni tilavuus ei saa nykyään käyttää tavoitteeksi vol kopio tai tilavuus snapmirror. Klooni äänenvoimakkuutta voidaan käyttää sellaisena kuin se on tavoitteeksi for qtree snapmirror.
vol klooni split alku volname
Tämä komento alkaa erottaa klooni määrä volname sen taustalla vanhemmalta. Uusi varastointi on varattu klooni volyymi, joka eroaa vanhemman.
Tämä prosessi saattaa kestää jonkin aikaa ja etenee taustalla. Käytä vol klooni split tila-komento tarkastella komennon etenemistä.
Sekä klooni ja vanhemman volyymit ovat käytettävissä prosessia jakamalla ne toisistaan. Tultua loppuun suoritetuksi, snapshot koskevan, joka oleva klooni saatiin perustui tullaan lukitus avautuu vuonna vanhemman volyymin. Minkä tahansa tilannekuvia in kloonista poistetaan määränpäänä olevassa lopussa of jalostuksen. Käytä vol klooni split pysäytyskäsky lopettaa tätä prosessia.
Vol klooni split käynnistyskomento myöskään jos valittu volname on perinteinen tilavuus. Kloonaus on uusi ominaisuus, joka koskee yksinomaan joustava määriä.
vol klooni split status [volname]
Tämä komento näyttää edistymisen erottaa klooni määriä niiden taustalla vanhemman määriä. Jos volname määritetään, jakaminen asema on säädetty, että äänenvoimakkuuden. Jos volyymi nimi näkyy komentorivillä, niin asema kaikille klooni jakamista toiminnot, jotka nykyisin toimivat annetaan.
Vol klooni jaettu tila-komento epäonnistuu, jos valittu volname on perinteinen tilavuus. Kloonaus on uusi ominaisuus, joka koskee yksinomaan joustava määriä.
vol klooni split arvio [volname]
Tämä komento näyttää arvio vapaata levytilaa tarvitaan yhteensä jakaa ilmoitettuun klooni määrä sen taustalla emoyhtiön tilavuus. -Arvo koskevissa luvuissa saattaa olla erota alkaen avaruuden itse asiassa tarvitse suorittamaan split, varsinkin jos kloonin äänenvoimakkuutta on muuttumassa silloin, kun kohta kohdalta-on ollaan suoritetaan.
vol klooni jakaa stop volname
Tämä komento pysäkit prosessia, annettu erottamalla kloonin alk. sen emoyhtiön äänenvoimakkuuden. Kaikki lohkot olivat aiemmin jaettu volname ja tukensa määrä, joka on jo jaettu toisistaan vol klooni split alku jää halkesi.
Vol klooni split pysäytyskäsky epäonnistuu jos valittu volname on perinteinen tilavuus. Kloonaus on uusi ominaisuus, joka koskee yksinomaan joustava määriä.
vol kontti volname
Tämä komento näyttää nimen yhteenlaskettu sisältävän joustavan määrän volname.
Vol säiliö komento epäonnistuu, jos pyydetään toimimaan perinteisen määrästä, koska sen tiukasti sidottu yhteenlaskettu osuus ei voi käsitellä itsenäisesti.
vol kopio abort operation_number | kaikki
Tämä komento lopettaa volyymi kopioida toimintaa. Operation_number parametri vol kopio abort komento määrittää mikä toiminta lopettaa. Jos kaikki on määritetty, kaikki volyymin kopio toiminta lopetetaan.
vol kopio alku [-S |-s snapshot] lähde kohde
Kopioi kaikki data, mukaan luettuina tuokiokuva, alkaen tiedoston toisen version. , Jos-S-lippu käännetään käytetään,-komento kopioi kaikki tilannekuvia in lähteen tilavuuden jotta määräpaikkaan äänenvoimakkuuden. Voit määrittää tietyn tilannekuvan kopioida, käyttää-lippu, jota seuraa nimi tilannekuvan. , Jos kumpikaan-S eikä myöskään-s lippua on käytetään vuonna-komennon, filer automaattisesti luo leimallisesti mainittuun ryhmään kuuluvat snapshot at aikaan til-kopion käynnistys komento suoritetaan, teos ja kopio ainoastaan, että tämä on kuva jotta määräpaikkaan äänenvoimakkuuden.
Lähde ja kohde tilavuudet on joko molemmat ovat perinteisiä määriä tai molemmat olla joustava määriä. Vol kopiointikomentoa keskeytyy, jos yritetään kopioida eri määrän tyyppejä.
Lähde ja kohde volyymit voivat olla samassa filer tai eri filers. Jos lähde tai kohde tilavuus on filer muu kuin se, johon vol kopio käynnistyskomennon kirjattiin, määritä volyymi nimi filer_name: volume_name muodossa.
Huomaa, siitä, että lähde-ja määräpaikan tilavuudet on oltava, annettu saman tyyppiä, joko sekä joustavuutta lisäävä-tai molempia perinteisiä.
Filers mukana tilavuuden kappale on täytettävä seuraavat vaatimukset vol kopio käynnistyskomento on onnistuneesti:
Lähde tilavuuden on oltava verkossa ja kohteen tilavuus on offline-tilassa.
Jos tiedot kopioidaan kahden filers jokainen filer on määriteltävä luotettu lukuisia muita filer. Eli filer nimen tulee olla / etc / hosts.equiv tiedosto muiden filer. Jos suudesta ei ole / etc / hosts.equiv tiedosto muiden filer sitten "Käyttö estetty"-virheilmoitus näytetään käyttäjälle.
Jos tiedot kopioidaan samalla filer, localhost on sisällytettävä filer n / etc / hosts.equiv tiedostoa. Myös loopback osoite on oltava filer n / etc / hosts-tiedoston. Muuten filer voi lähettää paketteja itse läpi silmukkaosoitteelle kun yrität kopioida tietoja.
Käyttökelpoista levytilaa, annettu määräpaikkana tilavuuden on oltava suurempi kuin tai yhtä suuri kuin käyttökelpoista levytilaa, annettu lähteen tilavuuden. Käytä df polun komento nähdä paljon käyttökelpoista levytilaa tietyn määrän.
Kukin vol kopio käynnistys komento luo seuraavankaltaisia kaksi volyymi kopioida toimintaa: yksi for datan lukemiseksi peräisin lähteestä äänenvoimakkuuden-ja yksi varten-moduulin tietojen kirjoittamista määräpaikkaan äänenvoimakkuuden. Jokainen suudesta tukee jopa neljän samanaikaisen volyymin kopioida toimintaa.
vol kopio status [operation_number]
Näyttää edistymisen, annettu yksi-tai kaikista aktiiviset äänenvoimakkuuden kopioida toimintaa, mikäli minkä tahansa. Toiminta on numeroitu 0: sta 3. Jos operation_number määritetään, tila kaikkien aktiivisten til kopioida toimintaa tarjotaan.
vol kopio kaasuläpän [operation_number] arvo
Tämä komento kontrolloi suorituskykyä of tilavuuden kopion operaation. Arvo vaihtelee 10 (täysi nopeus) ja 1 (yksi kymmenesosa täysi nopeus). Oletusarvo säilyy filer n vol.copy.throttle vaihtoehto, ja se sijaitsee 10 (täysi nopeus) tehtaalla. Suorituskykyä-arvo voidaan voida soveltaa jotta operaation määritelty by operation_number parametrilla. Jos operaatio enimmäismäärää ei ole, komento koskee kaikkia kuuleva kopioida toimintaa.
Tämän komennon rajoittaa nopeutta volyymin kopio toimintaa, jos niiden epäillään aiheuttavan suorituskyvyn ongelmia filer. Erityisesti kaasua on tarkoitus auttaa rajoittamaan volyymi kopio suorittimen käyttöä. Sitä ei voi käyttää hienosäätää verkon kaistanleveyttä kulutustapoja.
Vol kopio kaasuläpän komento vain mahdollistaa nopeuden määrän kopiointi, joka on käynnissä asetettava. Voit määrittää oletusarvon kopiointinopeus käytettäväksi tulevien määrän kopioida toimintaa käyttämällä Asetukset-komento asettaa vol.copy.throttle vaihtoehto.
vol luovat flex_volname
[-L language_code]
[-S none | tiedosto | määrä]
aggrname koko
vol luovat trad_volname
[-L language_code]
[-F] [-n] [-m]
[-L [noudattaminen | Yritys]]
[-T raidtype] [-r raidsize]
{Ndisks [@ size]
- |
- -D disk1 [levyn disk2 ... ] [-D diskn [diskn +1 ... ]]}
[-L language_code]
aggrname koko
[Size [k | m | g | t]]
[-S remotehost: remotevolume]
Luo joustava, perinteinen tai FlexCache tilavuus.
, Jos ensimmäinen-muotoa käytetään, joustava tilavuus nimeltään flex_volname on luotu vuonna varastointi-edellyttäen, by aggregaatin aggrname. Koon argumentti määrittää koon of joustavien tilavuuden ollaan luotu. Se On numero, mitä valinnaisesti seuraa by k, m, g,-tai t, joka osoittaa lelun kilotavua, megatavuja, gigatavuja,-tai teratavua tässä järjestyksessä. Jos mikään edellä mainituista kirjeistä on käytössä, laite oletuksena tavua (ja pyöristetään lähimpään 4 KB). Joustavat tilavuus voi olla olla niinkin pieni kuin 20 Mt:. Maksimikoko joustavaa tilavuus riippuu filer mallin ja version, mutta ei koskaan yli 16 TB.
Valinnainen-s Kytkin ohjaa siitä, onko äänenvoimakkuutta on taattu joitakin määrä of disk avaruuden. Oletusarvo-arvo on tilavuusvälkettä, mikä tarkoittaa sitä,, että koko kokoa of tilavuuden tullaan preallocated. Tiedoston arvo tarkoittaa, että tilaa on preallocated kaikille tilaa varattu tiedostoja ja LUN sisällä äänenvoimakkuutta. Varastointi ei preallocated tiedostoille ja LUN, jotka eivät ole tilaa varattu. Kirjoittaa näitä voi epäonnistua, jos taustalla yhteenlaskettu ole tilaa säilyttää kirjoitetut tiedot. None arvo tarkoittaa, että tilaa on preallocated, vaikka volyymi on tilaa varattu tiedostoja tai LUN, jos aggregaatin tulee täyteen, tila ei ole käytettävissä edes tilaa varattu tiedostoja ja LUN sisällä äänenvoimakkuutta. Huomaa, että mikään ja tiedostojen asetukset mahdollistavat ylivarauksista kiviainespitoinen aggrname. Sellaisenaan se on mahdollista tila loppuu uuden joustavan määrän, vaikka se ei ole vielä kulutettu esittämiensä koosta. Käytä näitä asetuksia huolellisesti ja huolehdi säännöllisesti tilan käyttöastetta ylivarauksista tilanteissa.
Voit luoda klooni joustavan äänenvoimakkuutta vol klooni luovat komentoa.
Jos taustalla yhteenlaskettu aggrname joihin joustava määrä on luotu on SnapLock aggregaatin, joustava määrä tulee SnapLock tilavuus ja perivät automaattisesti SnapLock tyyppiä, joko noudattamista tai Enterprise alkaen yhteensä.
, Jos toinen-muotoa käytetään, perinteinen tilavuus nimeltään trad_volname on luotu käyttäen määriteltyjä joukko of levyjä. Katso aggr man sivulta kuvauksen väitteitä tähän perinteiseen muotoon määrän luomisen.
, Jos kolmas-muotoa käytetään, FlexCache tilavuus nimeltään flexcache_volname on luotu vuonna aggreagate aggrname. FlexCache tilavuus on luotu äänenvoimakkuuden remotevolume sijaitsee filer remotehost. Tämä vaihtoehto on voimassa vain jos FlexCache toiminnallisuus on lisensoitu. Jos kokoa ei määritetä FlexCache määrä on luotu autogrow käytössä. Alkuperäinen koko on tilavuuden tulee olemaan pienin mahdollinen koon, annettu joustavan tilavuuden, mutta koon tulee automaattisesti, kasvamaan sellaisena kuin se on enemmän tilat ovat on syytä esittää seuraava FlexCache volyymin jotta parantamaan suorituskykyä vuoteen välttämällä häätöjen. Vaikka koko on jätetty valinnainen parametri, suositeltu tapa käyttää FlexCache määriä on kanssa autogrow käytössä.
Jos-l language_code argumentin avulla, filer luo äänenvoimakkuutta kielen määritelty kielikoodin. Oletuksena on käytettävä kieli filer juureen äänenvoimakkuutta.
Kieli koodit ovat:
C (POSIX) AR (arabia) cs (Tsekki) da (tanska) de (saksa) en (Englanti) fi (Englanti (Yhdysvallat)) es (espanja) fi (suomi) fr (ranska) hän (heprea) hr (kroaatti ) hu (unkari) se (italia) ja (japani EUC-j) ja_JP.PCK (japanilainen PCK (sjis)) ko (korea) ei (Norja) nl (hollanti) pl (puola) PT (portugali) RO (romania) ru (Venäjä) SK (slovakki) SL (sloveeni) SV (ruotsi) tr (turkki) zh (yksinkertaistettu kiina) zh.GBK (yksinkertaistettu kiina (GBK)) zh_TW (perinteinen kiina EUC-TW) zh_TW.BIG5 (perinteinen kiina Big 5)
vol luovat luo oletuksena merkinnän / etc / viennin tiedosto ellei optio nfs.export.auto-päivitys poistetaan käytöstä.
Voit luoda SnapLock määrän, määritä-L lippu vol. Luo komennolla. Tämä lippu tuetaan vain, jos jompikumpi SnapLock Compliance tai SnapLock Enterprise on lisensoitu. Tyyppi SnapLock määrän luotu joko noudattamista tai Enterprise, määräytyy tyypin asennetun SnapLock lisenssin. Jos sekä SnapLock noudattaminen ja SnapLock Enterprise on lisensoitu, käyttö-L noudattamisen tai-L yritys määrittää haluamasi äänenvoimakkuus tyyppi.
vol tuhota {volname | plexname} [-f]
Tuhoaa (perinteinen tai joustava) tilavuus nimetty volname tai monimutkainen nimetty plexname sisällä perinteistä peilattu.
Ennen tuhota äänenvoimakkuutta tai monimutkainen, käyttäjää pyydetään vahvistamaan toiminto. -F lippu voidaan tuhota äänenvoimakkuutta tai Plex kysymättä.
On hyväksyttävää tuhota joustavat volyymin volname vaikka se on viimeinen sen sisältävän yhteensä. Tällöin yhteenlaskettu yksinkertaisesti enää kohdetta käyttäjien näkyvissä tiedostojärjestelmiä, mutta täysin säilyttää kaikki sen levyt, RAID ryhmät ja plexes.
, Jos Plex kuluessa perinteinen peilattua tilavuus on tuhotaan kaupungista tällä tavoin, perinteinen äänenvoimakkuutta on jää kanssa, vain yksi plex,-ja täten muuttuu niitä ole peilattu.
Kaikki levyjen monimutkainen tai perinteisten määrä tuhota tämä toimenpide tulee vapaa levyt.
Vain offline volyymit ja plexes voidaan tuhota.
vertailevan tuhota poistaa kaikki merkinnät kuuluvat tilavuus / etc / viennin tiedosto ellei optio nfs.export.auto-päivitys poistetaan käytöstä.
vol lang [ volname [ language_code ] ]
Displays or changes the character mapping on vol_ n ame .
If no arguments are given, vol lang displays the list of supported languages and their language codes.
If only volname is given, it displays the language of the specified volume.
If both volname and language-code are given, it sets the language of the specified volume to the given language.
vol media_scrub status [ volname | plexname | groupname -s disk-name ]
[ -v ]
This command prints the status of the media scrub on the named traditional volume, plex, RAID group or spare drive. If no name is given, then status is given on all RAID groups and spare drives currently running a media scrub. The status includes a percent-complete and the suspended status (if any).
The -v flag displays the date and time at which the last full media scrub completed, the date and time at which the current instances of media scrub started, and the current status of the named traditional volume, plex RAID group or spare drive. This is provided for all RAID groups if no name is given.
The vol media_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 media_scrub status command.
vol mirror volname
[ -n ]
[ -v 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 ]
Tulee määrä nimetty volname (tai monimutkainen nimetty plexname sisällä perinteinen tilavuus) tilassa. Komento tulee voimaan ennen paluuta. Jos voimakkuus on jo nyt kaupungista rajoitetussa tilassa, silloin se on jo nyt ole käytettävissä for data saatavuutta, ja paljon of seuraavista kuvaus ei ole sovelleta.
Nykyinen juuri äänenvoimakkuutta ei voi ottaa offline-tilassa. Myöskään voi tilavuus merkitty tulla root (käyttäen tilavuus vaihtoehtoja volname root) otetaan offline.
Jos tilavuus on CIFS osakkeiden käyttäjiä tulisi varoittaa ennen tilavuuden offline. Käytä-t vaihtoehto tähän. Cifsdelaytime argumentti määrittää monta minuuttia hidastaa ennen tilavuuden offline, jona aikana CIFS käyttäjiä varoitetaan vireillä menetyksen palvelun. Aika 0 tarkoittaa, että määrä tulee ottaa offline välittömästi ja ilman varoitusta. CIFS käyttäjät voivat menettää tietoja, jos heille ei anneta mahdollisuutta lopettaa sovelluksia sulavasti.
Jos plexname on määritetty, Plex on oltava osa peilattu perinteisen määrän, ja molemmat plexes on verkossa. Ennen offlining plex,-järjestelmä aikoo huuhtoa pois kaikki sisäisesti-puskuroitu data jotka liittyvät kanssa, Plex, ja luovat tilannekuvan siitä, että on kirjoitettu ulos jotta molempia plexes. Snapshot mahdollistaa tehokkaan uudelleentahdistuksessa kun Plex on myöhemmin palattava verkossa.
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 .
Jos voimakkuus on epäjohdonmukainen, mutta ei ole menettänyt tietoja, käyttäjä tulee varoitus ja pyytää ennen tuomalla verkkoon. -F lippu voidaan ohittaa tämän ongelman. On suositeltavaa käyttää WAFL_check (tai tee snapmirror Alustetaan tapauksessa replika tilavuudesta) ennen tuo epäjohdonmukainen määrä verkossa. Tuominen epäjohdonmukainen määrä verkossa kasvaa riski entisestään tiedostojärjestelmän korruptio. Jos äänenvoimakkuus on epäjohdonmukainen, ja on kokenut tietoja voi kadota, se ei voi panna vireille verkossa, jollei WAFL_check (tai snapmirror Alustetaan) on ajaa määrästä.
Jos äänenvoimakkuus on joustava tilavuus ja kiviainespitoinen ei voi kunnioittaa tilan takaa kuin tässä tilavuus, määrä online-operaatio epäonnistuu. -F lippu voidaan ohittaa tämän ongelman. Ei ole suositeltavaa käyttää määriä niiden tilaa takausten käytöstä. Puutteen, annettu vapaata tilaa voi johtaa siihen, epäonnistumisen of kirjoittaa niiden hyödyntämisellä voidaan puolestaan näkyä sellaisena kuin se on tietojen menettäminen jotta joitakin sovelluksiin.
Jos plexname on määritetty, Plex on oltava osa verkossa, heijastuu perinteinen tilavuus. Järjestelmä generoi uudelleentahdistuksessa of plex sellaisena kuin se on osana of online-tilassa jalostuksen.
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
Setting this option to on enables extents in the volume. This causes application writes to be written in the volume as a write of a larger group of related data blocks called an extent. Using extents may help workloads that perform many small random writes followed by large sequential reads. However, using extents may increase the amount of disk operations performed on the filer, so this option should only be used where applicable. The default value is off , in which case extents are not used.
fractional_reserve <pct>
Tämä vaihtoehto vähentää määrää varten varatussa korvaa varattujen kohteiden (LUN-tiedostoja) määrä. Vaihtoehto on asetettu 100 oletuksena, ja osoittaa, että 100% vaaditusta varattuun tilaan todella varataan niin esineet ovat täysin suojattu korvaa. -Arvo voi vaihdella 0-100. Käyttämällä arvo on alle 100 ilmaisee, kuinka monta prosenttia vaaditun varattu tila, on todellakin syytä varata. Tämä palauttaa ylimääräistä tilaa jotta käytettävissä olevan tilan varten äänenvoimakkuuden, alenevassa kokonaismäärä määrän tilaa käytettyjen. Kuitenkaan, tämä silti jää-suojattujen objektit vuonna volyymin haavoittuvassa asemassa jotta out of avaruuteen virheiden, koska vähemmän kuin 100%: of vaaditun varattua pinta on todellisuudessa pidätetään. Mikäli varattu tila tyhjenee tämä aiheuttaa häiriöitä on isännät avulla esineitä. Jos osuus on laskenut alle 100%, on erittäin suositeltavaa, että järjestelmänvalvoja aktiivisesti seurata tilankäytön määrään ja ryhtyä korjaaviin toimiin, jos varattuun tilaan lähestyessä sammumista.
fs_size_fixed on | off
Tämä vaihtoehdon seurauksena-tiedoston-järjestelmän jotta pysyä samana kokoa-ja eikä kasvaneet pituutta tai kutistu silloin, kun SnapMirrored tilavuuden suhdetta on rikki, tai silloin, kun vol add on suoritetaan annetun sitä. Tämä vaihtoehto on automaattisesti asetettu olemaan, kun volyymi tulee SnapMirrored tilavuus. Se jää jälkeen snapmirror tauon komento on myönnetty määrä. Tämä sallii Suoritetaanko aseman SnapMirrored takaisin jotta lähteen ilman, että tarvitsee lisätä levyille jotta lähteen äänenvoimakkuuden. Jos levyn koko on suurempi kuin tiedostojärjestelmän kokoa, sammuttamalla tämä vaihtoehto pakottaa tiedostojärjestelmän kasvaa koko tilavuuden. Oletusasetus on pois päältä.
takuu tiedosto | määrä | none
Tämä valinta, onko määrä on taattu noin paljon levytilaa. Oletusarvo-arvo on tilavuusvälkettä, mikä tarkoittaa sitä,, että koko kokoa of tilavuuden tullaan preallocated. Tiedoston arvo tarkoittaa, että tilaa on preallocated kaikki spacereserved tiedostot ja LUN sisällä äänenvoimakkuutta. Varastointi ei preallocated tiedostoille ja LUN, jotka eivät ole tilaa varattu. Kirjoittaa näitä voi epäonnistua, jos taustalla yhteenlaskettu ole tilaa säilyttää kirjoitetut tiedot. None arvo tarkoittaa, että tilaa on preallocated, vaikka volyymi on tilaa varattu tiedostoja tai LUN, jos aggregaatin tulee täyteen, tila ei ole käytettävissä edes tilaa varattu tiedostoja ja LUN sisällä äänenvoimakkuutta. Huomaa, että mikään ja tiedostojen asetukset mahdollistavat ylivarauksista kiviainespitoinen aggrname. Sellaisenaan se on mahdollista tila loppuu uuden joustavan määrän, vaikka se ei ole vielä kulutettu esittämiensä koosta. Käytä näitä asetuksia huolellisesti ja huolehdi säännöllisesti tilan käyttöastetta ylivarauksista tilanteissa. Joustava root määriä, jotta järjestelmä tiedostot, lokitiedostot ja ytimet voidaan tallentaa, vakuus on tilavuus. Näin varmistetaan tuki laitetta asiakastuen, jos ongelmia ilmenee.
Levytila on preallocated kun tilavuus on tuonut verkossa, ja jos sitä ei käytetä, palasi yhteenlaskettu kun tilavuus on tuonut offline. Se On voidaan näet saattaa tilavuuden online-tilassa, vaikka silloin, kun aggregaatin tällä ei ole riittävästi vapaata tilaa jotta preallocate sen tilavuuteen. Kaupungista Tässä tapauksessa, mitään tilaa tullaan preallocated, aivan sellaisena kuin se on jos yksikään vaihtoehto oli valittu tehtävään. Vol vaihtoehtoja ja tilavuus tila-komento näyttää todellinen arvo takauksen vaihtoehtoa, vaan ilmoittaa, että se on poistettu käytöstä.
maxdirsize numero
Asettaa enimmäiskoko (kt), johon hakemistoon voi kasvaa. 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.
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.
Vol hangata käynnistys komento epäonnistuu, jos valittu volname on joustava tilavuus. Joustava lisääntyminen edellyttää, että kaikki toimet, joilla on suoraan tekemisissä heidän sisältäviä aggregaatteja käsitellään kautta uuden aggr komento suite. Tässä nimenomaisessa tapauksessa, ylläpitäjän tulisi käyttää aggr pensaikkoa käynnistyskomennon.
vol hangata status [volname | plexname | ryhmännimi] [-v]
Tulosta tilan pariteetti hankaamista on nimetty perinteinen määrä, monimutkainen tai RAID-ryhmää. Jos nimeä ei säädetty, statuksen kaikissa RAID ryhmät parhaillaan pariteetti hankaamista. Status sisältää prosentin-täydellisen kuin samoin kuin pensaikkoa: n keskeytetty status (mikäli mahdolliset).
-V lippu näkyy päivämäärä ja kellonaika, jolloin viimeisen täyden pensaikkoa loppuun yhdessä nykyisen tilan nimeltä perinteisen määrän, monimutkainen tai RAID-ryhmää. Jos nimeä ei säädetty, koko tila on kaikille RAID ryhmien filer.
Vol hangata tila-komento epäonnistuu, jos valittu volname on joustava tilavuus. Joustava lisääntyminen edellyttää, että kaikki toimet, joilla on suoraan tekemisissä heidän sisältäviä aggregaatteja käsitellään kautta uuden aggr komento suite. Tässä nimenomaisessa tapauksessa, ylläpitäjän tulisi käyttää aggr pensaikkoa tila-komento.
vol hangata stop [volname | plexname | ryhmännimi]
Stop pariteetti pesee varten nimetty perinteisen äänenvoimakkuutta monimutkainen tai RAID-ryhmää. Jos nimeä ei anneta, pariteettia hankausta pysähtynyt tahansa RAID-ryhmää, joista yksi on aktiivinen.
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 NÄKÖKOHDAT
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 50gCreates 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
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.
KATSO MYÖS
aggr , partner , Snapmirror , sysconfig , license .vol
by Chris Kranz on Mar.03, 2009, under Maintenance Mode Commands
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.










































