об
ИМЕ
VOL - команди за управление на обеми, показва обема статус и копиране обемиКратък обзор
аргумент на командата на об ...
ОПИСАНИЕ
Об Семейството от команди управлява обеми. Обем е логическа единица за съхранение, съдържащ изображение на файловата система и свързаните с тях административни възможности като моментна снимка графици. Дисково пространство, че заема обем (както и характеристиките на RAID защита, което тя получава) е предвидено от агрегат (виж aggr).Преди Data ONTAP 7,0, обеми и агрегати бяха слели в една единствена административна единица, където всеки агрегат (RAID ниво на колекция от дискове) съдържа точно един обем (логично, видими от потребителя файлова система). Об Семейството от команди управлява както на по-ниско ниво аспекти дискови запаметяващи и по-високо ниво аспектите на файловата система на тези плътно обвързани обем / общо двойки. Тези традиционни обеми все още съществуват за обратна съвместимост.
Администраторите сега могат да се разграничи управлението на логически файлови системи (тома) от основното им физическо съхранение (инертни материали). В частност, този нов клас на гъвкави обеми осигурява много по-голяма свобода:
Агрегатите могат да се създават, унищожават, и се управлява независимо (чрез командата семейство aggr). Когато обобщено е създаден, той е напълно чисто, свободно от всякакви независими логически файлови системи (гъвкави тома).
Новосъздадени инертни материали може да съдържа няколко напълно независими гъвкави обеми. Всяко дадения агрегат може да съдържа до 200 гъвкави обеми (до максимум от 200 тома на цедката цяло). , Гъвкави обеми могат да се snapshotted, модула възстановена, копирани, и SnapMirrored независимо от всички други гъвкави обеми, съдържащи се в същия агрегат.
Агрегати, които съдържат един или повече гъвкави обеми не може да бъде ограничено или offlined. За да се ограничи или офлайн агрегат, е необходимо първо да унищожи всички, съдържащи гъвкави обеми. Това гарантира че гъвкави обеми не могат да изчезнат в неочаквани и нечист начин, без да имат държавна система за правилно и напълно почистени. Това също така прави сте сигурни, че всяко и всички протоколи, които се използват за достъп до данните в гъвкавите обеми може да изпълнява чисти спирания. Инертни материали, които са внедрени в традиционните обеми, никога не може да съдържат гъвкави обеми, така че те не работят под това ограничение.
Тъй като гъвкавите обемите са независими лица от техните, съдържащи инертни материали, техният размер може да бъде едновременно увеличава и намалява. Гъвкави обеми могат да бъдат толкова малка, колкото 20 MB. Максималният размер за гъвкава обем зависи от цедката модела и конфигурацията, но никога не е над 16 TB.
Обеми на клонингите може да бъде бързо и ефикасно създаден. Клонинг на звука е в сила записваем моментна снимка на гъвкав обем. Първоначално клонове, както и неговата майка споделят една и съща съхранение. Повече пространство за съхранение се консумира само като един обем или други промени. Клонираните могат да се разделят от родителите си, популяризирането им към напълно независими гъвкави обемите, които вече не споделят всички блокове. Клонинг винаги се създава в същия агрегат като родител. Могат да бъдат създадени клонинги на клонингите.
FlexCache обеми могат бързо да бъдат създадени с помощта на командата об. FlexCache обеми са настанени на местния цедка, като кеширане цедка, и са кеширани копия на отделни томове, които са на различен цедка, посочени като източник цедка. Клиенти достъп до FlexCache обем, тъй като те биха достъп до всяка друга обема на износа през NFS. FlexCache трябва да бъдат лицензирани на кеширане цедка, но не се изисква за произход цедка. За произхода цедка, flexcache.enable опция трябва да се определят "на" и опция flexcache.access, трябва да бъдат по подходящ начин, определен Текущата версия на FlexCache поддържа само клиентски достъп чрез NFSv2 и NFSv3.
Командата об семейство е съвместим използване с по-ранни версии и може да управлява както традиционни, така и гъвкави обеми. Някои нови команди на об в тази версия се прилагат само за гъвкави обеми. Команда Новото семейство aggr, осигурява контрол над RAIDlevel съхранение. Основният агрегат на гъвкави обеми може да се управлява само чрез тази команда.
Об команди могат да се създадат нови обеми, да се разрушават съществуващите такива, промяна на статута на обем, да се увеличи размера на обем (или намаляване на размер, ако тя е гъвкава обем), се прилагат възможности за обем, копие един обем на друг, статус дисплей, и да създавате и управлявате клонинги на гъвкави обеми.
Всеки том има едно име, което може да съдържа букви, цифри и долна черта (_); първия знак трябва да бъде буква или подчертавка.
А звукът може да е онлайн, ограничена, или офлайн. Когато обемът е ограничен, са позволени определени операции (като копие об и реконструкция паритет), но не се разрешава достъп до данните. Обеми може да бъде комбинация от следните държави:
active_redirect
Гъвкав обем е в една съвкупност, на която съвкупното преразпределяне или преразпределение на файл с опция-р да е започнало, но не е завършен. Прочетете изпълнение може да бъде разградено до преразпределение е завършило успешно.
копиране
Обемът в момента е обект на активно копие об или snapmirror операции.
разгражда
Съдържащ агрегат Обемът съдържа най-малко една деградирала RAID група, който не е реконструиран.
шнур Обемът е гъвкав обем, съдържащ се от агрегат и могат да се отглеждат или се сви в 4K стъпки.
чужд
Дисковете, които съдържа, съдържащи агрегат обема бяха преместени в текущата цедка от друга цедка.
нарастващ
Дискове са в процеса на които се добавят към съдържащи агрегат обема.
инициализиране
Обемът или си съдържащи агрегат е в процес да се инициализира.
невалиден
Обемът не съдържа валиден файлова система. Това обикновено се случва само след неуспешен копие об операция.
гладене
А WAFL проверка за последователност се извършва на съдържащи агрегат обема.
огледало с влошено качество
Съдържащ агрегат Обемът е огледален агрегат, както и един от неговите plexes е офлайн или resyncing.
огледално
Съдържащ агрегат Обемът е огледално и всички на RAID групи са функционални.
нуждите на проверка
А WAFL проверка за последователност трябва да се извършва върху сдържане на обема агрегат.
излязъл от употреба
Съдържащ агрегат Обемът е огледално и трябва да се resychronized.
частичен
Най-малко един диск за съдържащ агрегат на обема, но два или повече диска са изчезнали.
RAID0, съдържащи обобщи Обемът се състои от RAID-0 (не паритет) на RAID групи (V-Series и NetCache само).
raid4 съдържащ обобщи Обемът се състои от RAID-4 на RAID групи.
raid_dp
Съдържащ агрегат Обемът се състои от RAIDDP (Double Parity), RAID-групи.
реконструира
Най-малко един RAID група в обема съдържащи агрегат се реконструират.
пренасочи
Гъвкавата обем е в съвкупност, на която са започнали агрегат преразпределение или преразпределение на файла с опцията-р.
resyncing
Един от plexes за ограничаване на обема на огледално агрегат се resynchronized.
snapmirrored
Обемът е е snapmirrored реплика на друг обем.
SV-възстановяване на
Възстановяване на по-Demand е в момента напредък по отношение на този обем. Обемът е достъпна, въпреки че всички блокове в обема не може да бъде възстановено още. Използвайте командата snapvault статут, за да видите напредъка на възстановяване.
Трад Обемът е това, което се нарича като традиционен обем. Той е разтопен агрегат, и няма други обеми могат да се съдържат като съдържащ агрегат този обем. Този тип е точно еквивалентна на обемите, които са съществували преди Data ONTAP 7.0.
невъзстановими
Обемът е гъвкав обем, който е маркиран за невъзстановими. Моля, свържете с отдела за поддръжка на клиенти, ако звукът се появява в това състояние.
проверка
Нападение операция за проверка на огледалото в момента се движат по съдържащ агрегат обема.
wafl несъвместими
Обем или съдържащи агрегат е маркиран повреден. Моля, свържете с отдела за поддръжка на клиенти, ако звукът се появява в това състояние.
flexcache
Обемът е обем една FlexCache.
свързване
Обемът е FlexCache обем, и мрежова връзка между този обем и обем произход още не е установено.
ИЗПОЛЗВАНЕ
Следващите команди са на разположение в об апартамент:добави създаде офлайн скраб Авторазмер унищожи онлайн размер клонинг Lang опции разделен контейнер media_scrub преименуване огледално копие статус ограничават провери
[F]
[N]
[Гр raidgroup]
. {Ndisks [@ размер]
- |
- -Г disk1 [disk2 ... ] [Г diskn [diskn +1 ... ]]}
Об добавки команда не успее, ако избраният volname е гъвкава обем. Гъвкави обеми изискват, че всички операции на техните, съдържащи инертни материали се обработват чрез новата команда aggr, апартамент. В този конкретен случай трябва да се използва, aggr добавки.
об Авторазмер volname [m размер [K | M | G | т]] [-и размер [K | M | г | T]] [относно | Off | RESET]
Обем Авторазмер позволява гъвкав обем на автоматично стават по-големи, с което дава сборна. Това е полезно, когато обемът е около до изчерпване на наличното пространство, но има място на разположение в съдържащите агрегат за обем, за да расте. Тази функция работи заедно с модула autodelete, автоматично да възстановят мястото, при обем е около за да получите пълен. Опция обем на try_first, контролира реда, в които тези две възстановят политики се използват.
По подразбиране е забранено Авторазмер. На под-команда могат да бъдат използвани за извършване на Авторазмер на обема. За нулиране под команда нулира настройките на обема Създаване на обект по подразбиране. Изключване, управление могат да бъдат използвани, за да деактивирате Авторазмер.
The-m опцията позволява на потребителя да определи максималния размер, до която гъвкав обем ще бъде позволено да растат. Размерът на силата на звука ще се увеличава с нарастване размера, определен с-ли да премина. Обем, няма автоматично да расте, ако сегашният им размер на обема е по-голям или равен на максималния размер, определен с-m опция.
об клонинг Създаване clone_vol
[И никой | File | Обем]
-Б parent_vol [parent_snap]
Клонинг обемни командата Създай създава гъвкава обем име clone_vol на местния цедка, че е клонинг на "подкрепа" гъвкав обем име par_ д nt_vol,,,. Клонингът е обем, който е записваем моментна снимка на друг обем. Първоначално клонове, както и неговата майка споделят една и съща съхранение; повече пространство за съхранение се консумира само като един обем или други промени.
Ако определен parent_snap рамките на parent_vol е предоставена, е избрана като подкрепа снимка. В противен случай, цедката ще създаде нова снимка, име clone_parent_ <UUID> (с помощта на прясно генерирано UUID) в parent_vol за тази цел.
Parent_snap е заключена в обема майка, предотвратяване на нейното заличаване, докато клонингът е или унищожени или разделени от майка с помощта на командата сплит началото на об клонинг.
Архивиране гъвкав обем parent_vol може да бъде клонинг себе си, така че "клонинги на клонингите" са възможни. Клонинг винаги се създава същия сумарен като си parent_vol,.
Клонинг об командата Създай не успее, ако избраната parent_vol в момента участва в операция за разделяне на клонинг об.
Об клонинг командата Създай не успее, ако избраният parent_vol е традиционен обем. Клонирането е нова възможност, която се прилага изключително гъвкави обеми.
По подразбиране, клон обем се дава същата гаранция за съхранение като майка обем, по подразбиране може да бъде преодоляно с-е ключа. Вижте об командата Създай За повече информация относно съхраняването гаранция.
Клонинг обем, който не може да бъде в момента се използва като цел за копие об snapmirror на обем. Клонинг на звука може да се използва като цел за qtree snapmirror.
об клонинг volname сплит началото
Тази команда започва, разделяща клонинг на volname обем от основното-майка. Нова съхранение се разпределя за клонинг обем, който е различен от компанията-майка.
Този процес може да отнеме известно време и продължава във фонов режим. Използвайте командата статус разделяне на об клонинг, за да видите напредъка на команда.
Клонинг и обеми майки остават на разположение по време на този процес от тях разделянето изключение. При завършване, снимка, на която се основава на клонинга ще бъде отключена в родител обем. Всички снимки в клонинг са отстранени в края на обработката. Използвайте командата спирка разделяне на об клонинг, за да спре този процес.
Об клонинг командата сплит началото също не успява, ако избраният volname е традиционен обем. Клонирането е нова възможност, която се прилага изключително гъвкави обеми.
об клонинг сплит статус [volname]
Тази команда показва напредък в отделянето на клонинг обеми от техните базови обеми майки. Ако volname е посочено, тогава разделянето статут се предоставя за този обем. Ако не обем на име се появява на командния ред, а след това се предоставя статут за всички операции за разделяне на клонинги, които са активни в момента.
Об клонинг команда разделен статут не успее, ако избраният volname е традиционен обем. Клонирането е нова възможност, която се прилага изключително гъвкави обеми.
об клонинг сплит изчисли [volname,]
Тази команда показва оценка на свободно дисково пространство, се изискват в съвкупност и да се раздели на посочения обем клонинг от основното майка обем. Отчетената стойност може да се различава от пространството, всъщност се изисква за извършване на сплит, особено ако клонинг обем се променя, когато се извършва разделянето.
об клонинг разделят спирка volname
Тази команда спира процеса на отделяне на клонинг от майка обем. Всички на блоковете, които са били поделени между volname и обема на своята подкрепа, които вече са се обособили от началото на об клонинг сплит ще остане разделят.
Об клонинг команда сплит спиране, ако не успее избрания volname е традиционен обем. Клонирането е нова възможност, която се прилага изключително гъвкави обеми.
об контейнер volname
Тази команда показва името на агрегат, който съдържа гъвкав обем volname.
Контейнерът об команда не успее, ако иска да работи с традиционен обем, като плътно обвързани с общата част не може да бъде разгледан отделно.
об на копие прекратите operation_number | всички
Тази команда прекратява операциите за копиране на обем. Параметър operation_number в об копие прекратите команда уточнява, които операция прекрати. Ако всичко е уточнено, обем на всички операции на копиране се прекратява.
об копие началото [S |-S дестинация от моментна снимка]
Копира всички данни, включително снимки, от един към друг обем. Ако се използва най-S флаг, командата копира всички снимки в изходния обем на дестинация обем. За да се посочи конкретен моментна снимка, за да копирате, използвайте-знаме, следвана от името на моментна снимка. Ако нито-S, нито знамето се използва в командата, цедка автоматично създава характерно име моментна снимка по това време се изпълнява командата об копие началото и копира само, че моментното състояние до местоназначението обем.
Източник и дестинация обеми трябва или и двете да са традиционните обеми или да бъдат едновременно гъвкави обеми. Копие об команда ще се откажем, ако се прави опит да се копират между различните видове обем.
На източника и местоназначението обеми могат да бъдат на една и съща цедка или на различни filers. Ако източник или местоназначение обем е на цедка различна от тази, на която е вписано командата об копие началото, уточни името на обема в filer_name,: volume_name формат.
Имайте предвид, че произходът и местоназначението на обеми трябва да са от същия тип, както гъвкави, така и за двата традиционни.
Filers, участващи в обем копие трябва да отговарят на следните изисквания за командата копие об започнат да се завърши успешно:
Обемът на източника трябва да бъде онлайн и на обема на местоназначение трябва да бъде на линия.
Ако данните се копират между две filers, всяка цедка трябва да бъдат определени като доверен домакин на другата цедка. Това е името на цедката трябва да бъде в / и т.н. / hosts.equiv файл на друга цедка. Ако една цедка не е в т.н. / / hosts.equiv файл на друга цедка "разрешение отказан" съобщение за грешка се показва на потребителя.
Ако данните се копират на една и съща цедка, Localhost трябва да бъдат включени в / и т.н. цедка / hosts.equiv файл. Също така, на адрес примката трябва да бъде в / и т.н. цедка / hosts файла. В противен случай, цедката не може да изпраща пакети към себе си чрез примка адрес, когато се опитва да копира данните.
Използваемата дисково пространство на дестинацията обем трябва да бъде по-голяма или равна на използваемото пространство на твърдия диск на източника обем. Използвайте командата в името на пътя на DF, за да видите количеството използваемо дисково пространство на определен обем.
Всяка команда об копие началото генерира две операции за обем на копие: за четене на данни от източника на звука и един за писане на данни до местоназначението обем. Всяка цедка поддържа до четири едновременни операции за копиране на обемни.
статус на об копие [operation_number]
Показва напредък на една или всички активни операции обем копие, ако има такива. Операциите са номерирани от 0 до 3. Ако не е посочено operation_number, а след това се предоставя статут за всички активни операции за копиране на об.
об копие педала на газта [operation_number] стойност
Тази команда контролира изпълнението на операцията по обем копие. Стойността варира от 10 (пълна скорост) до 1 (една десета от пълна скорост). Стойността по подразбиране се поддържа в vol.copy.throttle опцията цедка "и е настроен на 10 (пълна скорост) в завода. Изпълнението на стойност може да се прилага за операция, посочена от operation_number параметър. Ако не е посочен номер на операция, командата се прилага за всички активни операции обем копие.
Използвайте тази команда, за да се ограничи скоростта на операциите за обемно копие, ако те са заподозрени да се причинява проблеми с производителността на цедката. В частност, педала на газта е предназначена да спомогне за ограничаване на използването на процесора, обем копие. Не може да се използва за фина настройка на мрежови модели на трафик консумация.
Командата об. Копие педала на газта само позволява скоростта на обема операция копие, което е в напредъка, да бъде определен. За да зададете скоростта по подразбиране обем копие, да бъдат използвани от бъдещи операции обем копие, използвайте команда, за да се настроите vol.copy.throttle опция.
об Създаване flex_volname
[-L language_code]
[И никой | File | Обем]
aggrname размер
об Създаване trad_volname
[-L language_code]
[F] [N] [m]
[L [съответствие | предприятие]]
[Т raidtype] [-R raidsize]
. {Ndisks [@ размер]
- |
- -Г disk1 [disk2 ... ] [Г diskn [diskn +1 ... ]]}
[-L language_code]
aggrname размер
[Размер [K | M | G | T]]
[S remotehost: remotevolume]
Създава гъвкава, традиционно, или FlexCache обем.
Ако първият формат се използва, гъвкав обем,, име flex_volname е създаден в мястото за съхранение, предоставена от общата aggrname. Размерът аргумент определя размера на гъвкавия обем, се създава. Това е номер, следван от K, M, G, или т, обозначаващ килобайти, мегабайти, гигабайта, или терабайта. Ако нито една от горните букви се използва по подразбиране на дялови единици байта и се закръглява до най-близките 4 KB). Гъвкави обеми могат да бъдат толкова малка, колкото 20 MB. Максималният размер за гъвкава обем зависи от цедката модела и конфигурацията, но никога не е над 16 TB.
Избираемо е превключвател контролира, дали обемът е гарантирана някаква сума на дисково пространство. Стойността по подразбиране е обем, което означава, че целият размер на силата на звука ще бъде preallocated. Файлът стойност означава това пространство ще се preallocated за всички пространство резервирани файлове и LUNS в рамките на обема. За съхранение не са preallocated за файлове и LUNS, които не са в космоса запазените. Пише те могат да се провали, ако основната агрегат не е наличното пространство за съхранение на писмените данни. Никой стойност означава, че няма пространство ще бъде preallocated, дори ако обемът съдържа космоса запазените файлове или LUNS,; ако съвкупното става пълна, пространство няма да бъдат достъпни дори и за космоса резервирани файлове и LUNS в рамките на обема. Имайте предвид, че както няма и настройките на файловете позволяват прекомерна резервация, съдържащ обобщена aggrname. Като такава, тя ще бъде възможно да тече от космоса в новия гъвкав обем, въпреки че все още не е употребил своите технически размер. Използвайте тези настройки, внимателно и да се грижи редовно да се следи използването на пространство в прекомерна резервация ситуации.
За да създаде клонинг на гъвкав обем, използвайте командата Създай клонинг об.
Ако базовия агрегат aggrname, върху която гъвкавия обем се създава е SnapLock агрегат, гъвкав обем ще бъде обем, SnapLock и автоматично наследяват типа на SnapLock, "Спазване Enterprise, или от съвкупност.
Ако вторият формат се използва, традиционен обем, име trad_volname е създаден с помощта на определен набор от дискове. Виж на aggr човек страница за описание на различните аргументи за тази традиционна форма на създаване на обем.
Ако третата формат се използва, FlexCache обем,, име flexcache_volname се създава в aggrname aggreagate. FlexCache обем е създаден за обема намира върху цедка remotehost, remotevolume. Тази опция е валидна само ако FlexCache функционалност е лицензиран. Ако размерът не е уточнено, тогава FlexCache обем ще бъде създаден с autogrow позволи. Оригиналния размер на силата на звука ще бъде възможно най-малкия размер на гъвкав обем, но размерът автоматично ще расте, тъй като все повече пространство, необходимо в FlexCache обем, за да се подобри производителността чрез избягване на изселване. Въпреки че размерът остава като незадължителен параметър, препоръчителният начин за използване на FlexCache обеми е с autogrow поддръжка.
Ако л аргумент language_code, се използва, цедка създава обем с език, с кода на езика. По подразбиране е езикът, използван от корен обем на цедката.
Езикови кодове са:
En_US C (POSIX) AR (арабски) CS (чешки) DA (Датски) DE (немски език) (на английски) (на английски (САЩ)) ES (Испански) FI (фински) FR (Френски) (иврит) час (хърватски HU) (унгарски) (Италиански) йа (японски EUC-J) ja_JP.PCK (за японски PCK (sjis)) ко (Корейски) (Норвежки) NL (Холандски) PL (полски) PT (португалски) ро (румънски) Ru (руски) SK (словашки) SL (словенски) SV (шведски) TR (турски) ZH (опростен китайски) zh.GBK (опростен китайски (GBK)) zh_TW (традиционен китайски EUC-TW) zh_TW.BIG5 (традиционен китайски Big 5)
об създавате, ще създаде запис по подразбиране в / и т.н. / износ файла, освен ако опцията nfs.export.auto обновяване е забранено.
To create a SnapLock volume, specify -L flag with vol create command. This flag is only supported if either SnapLock Compliance or SnapLock Enterprise is licensed. The type of the SnapLock volume created, either Compliance or Enterprise, is determined by the type of installed SnapLock license. If both SnapLock Compliance and SnapLock Enterprise are licensed, use -L compliance or -L enterprise to specify the desired volume type.
vol destroy { volname | plexname } [ -f ]
Destroys the (traditional or flexible) volume named volname , or the plex named plexname within a traditional mirrored volume.
Before destroying the volume or plex, the user is prompted to confirm the operation. The -f flag can be used to destroy a volume or plex without prompting.
It is acceptable to destroy flexible volume volname even if it is the last one in its containing aggregate. In that case, the aggregate simply becomes devoid of user-visible file systems, but fully retains all its disks, RAID groups, and plexes.
If a plex within a traditional mirrored volume is destroyed in this way, the traditional volume is left with just one plex, and thus becomes unmirrored.
All of the disks in the plex or traditional volume destroyed by this operation become spare disks.
Only offline volumes and plexes can be destroyed.
vol destroy will delete all entries belonging to the volume in the /etc/exports file unless the option nfs.export.auto-update is disabled.
об Lang [volname [language_code]]
Показва или променя на характер картографиране на N AME vol_.
Ако не са дадени аргументи, об Lang показва списъка на поддържаните езици и техните езикови кодове.
Ако само volname се, той показва на езика на определен обем.
Ако са дадени както volname и езика код, тя определя езика на определен обем на даден език.
статус на об media_scrub [volname | plexname | GROUPNAME-S диск име]
[V]
Тази команда отпечатва състоянието на медиите търкане на име традиционен обем, Plex, RAID група или резервни диск. Ако не името, а след това се дава статут е даден на всички RAID групи и резервни устройства, работещи с търкане на медиите. Статутът включва%-пълна и окачен статут (ако има).
-V флаг показва датата и часа, на която да търкат последната пълна медии, датата и часа, в който действащите случаи на медии търкат започна, както и текущото състояние на име традиционен обем, Plex група RAID или резервни диск. Това е предвидено за всички RAID групи, ако не е дадено име.
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 ]
Счита обема на име volname (или Plex име plexname в традиционна обем) на линия. Командата влиза в сила преди да се върне. Ако обемът е вече в условията на ограничена състояние, а след това той вече е недостъпен за достъп до данни, както и голяма част от следното описание не се прилага.
Сегашният обем на корена не може да бъде приведен в офлайн режим. Нито може да се обем, маркирани, за да стане на корен (с помощта на об опции volname корен) да бъде приведен в офлайн режим.
Ако обемът съдържа на CIFS акции, потребителите трябва да бъдат предупредени преди да започнете да приемате обем офлайн. Използвайте-T възможност да направите това. Cifsdelaytime аргумент определя броя на минути, за да се забави, преди да приемете обема офлайн, през което време CIFS потребители са предупредени за предстоящото загуба на обслужване. Време на 0 означава, че обемът трябва да бъде приведен в офлайн режим, незабавно и без предупреждение. CIFS потребители могат да загубят данни, ако те не им се дава шанс да прекрати приложения грациозно.
Ако е посочено, plexname Plex трябва да бъде част от традиционния обем огледално, и двете plexes Трябва да сте онлайн. Преди да offlining милион Plex, системата ще изплакнете всички вътрешно-буферирани данни, свързани с Plex и създаването на моментна снимка, което е писано за двете plexes. Кадърът се дава възможност за ефективно ресинхронизираща когато Plex впоследствие се върна онлайн.
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 .
Ако обемът е несъвместимо, но не е загуба на данни, потребителят ще бъдат предупредени и подканени, преди да привеждане онлайн. -F флаг може да се използва за заобикаляне на това поведение. Препоръчително е да стартирате WAFL_check (или snapmirror Initialize в случай на обема реплика), преди да сложи непоследователно онлайн обем. Привеждане непоследователно онлайн обем увеличава риска от по-нататъшно корупцията файловата система. Ако обемът е непоследователна и е била подложена на възможна загуба на данни, тя не може да бъде онлайн, освен ако WAFL_check (или snapmirror Initialize) е бил управляван от обема.
Ако обемът е гъвкав обем и съдържащи агрегат не може да почита пространство гаранции, изисквани от този обем, обемът онлайн операция ще се провали. -F флаг може да се използва за заобикаляне на това поведение. Не е препоръчително да се използва обем с техните космически гаранции забранено. Липсата на свободно пространство, може да доведе до провал на пише, което на свой ред може да изглежда като загуба на данни за някои приложения.
Ако plexname е посочено, Plex трябва да бъде част от една линия, отразени традиционен обем. Системата ще започне ресинхронизираща на Plex, като част от онлайн обработка.
Об онлайн команда не успее, ако plexname не пребивава в традиционен обем, но в независима агрегат. Гъвкави обеми изискват всякакви операции, имащи пряко свързано с техните, съдържащи инертни материали се обработват чрез новата команда aggr, апартамент. В този конкретен случай, администраторът трябва да се консултира човек aggr страница за по-подробно описание на командата aggr онлайн.
об опции volname [ОПЦИЯ optval]
Тази команда показва опциите, които са били определени за обем volname, или дава възможност на име в списъка показван на обема,, име volname стойност optval.
Командата остава в сила, след цедка се рестартира, така че няма нужда да добавите об опции команди към / и т.н. / RC файл. Някои от вариантите са стойности, които са числа. Други възможности са стойности, които могат да бъдат (които също могат да бъдат изразени като отговорът е "да, вярно, или 1) или изключване (който може да бъде изразена като не невярна, или 0). Смес от главни и малки букви може да се използва при въвеждане на стойност на опцията. Статутът об команда показва опциите, които са определени за единица обем. Коренът опция е специално с това, че не трябва стойност. За да настроите опциите за корен, използвайте следния синтаксис:
об опции volname корен
Има три категории на варианти, разглеждани от тази команда. Първата категория е набор от опции, които са определени за всички обеми, гъвкави, така и традиционна, тъй като те имат общо с обема видимите аспекти на файловата система на потребителя. Втората категория е набор на съвкупното ниво (т.е., диск и RAID) опции, които се прилагат само към традиционните обеми, а не да гъвкави обеми. Третата категория е набор от опции, които са приложими само за FlexCache обеми.
В този раздел се документира всичките три категории възможности. Тя започва с описание, по азбучен ред, възможностите, с които са общи за всички обеми (гъвкава, така и традиционни) и техните възможни стойности:
convert_ucode на | разстояние
Тази опция на сили за конверсия на всички директории в Unicode формат, когато достъп от NFS и CIFS. По подразбиране е изключен, в който случай достъп от CIFS води до превръщане на предварително 4.0 и 4.0 формат директории. Достъп от NFS води до превръщането на 4.0 формат директории. Настройката по подразбиране е изключена.
create_ucode на | разстояние
Тази опция сили с Unicode формат директории, които да бъдат създадени по подразбиране, и двамата от NFS и CIFS. По подразбиране е изключен, в който случай всички директории са създадени в предварително 4.0 формат, и първа достъп CIFS ще го конвертирате в Unicode формат. Настройката по подразбиране е изключена.
степента On | Off
Тази опция на Включено позволява степен на обема. Това причинява заявление пише, да бъде написана в обем за запис на по-голяма група от свързани блокове от данни, наречена степен. Използването на степен може да помогне на натоварвания, които извършват много малък случаен пише, последвана от голям последователно прочитания. Въпреки това, използвайки степен може да увеличи количеството на дисковите операции, извършвани върху цедка, така че този вариант следва да се използва само когато това е приложимо. Стойността по подразбиране е изключено, в който случай степен не се използват.
fractional_reserve <pct>
This option decreases the amount of space reserved for overwrites of reserved objects (LUNs, files) in a volume. The option is set to 100 by default and indicates that 100% of the required reserved space will actually be reserved so the objects are fully protected for overwrites. The value can vary from 0 to 100. Using a value of less than 100 indicates what percentage of the required reserved space should actually be reserved. This returns the extra space to the available space for the volume, decreasing the total amount of space used. However, this does leave the protected objects in the volume vulnerable to out of space errors since less than 100% of the required reserved space is actually reserved. If reserved space becomes exhausted this will cause disruptions on the hosts using the objects. If the percentage is decreased below 100%, it is highly recommended that the administrator actively monitor the space usage on the volume and take corrective action if the reserved space nears exhaustion.
fs_size_fixed on | off
This option causes the file system to remain the same size and not grow or shrink when a SnapMirrored volume relationship is broken, or when a vol add is performed on it. This option is automatically set to be on when a volume becomes a SnapMirrored volume. It will remain on after the snapmirror break command is issued for the volume. This allows a volume to be SnapMirrored back to the source without needing to add disks to the source volume. If the volume size is larger than the file system size, turning off this option will force the file system to grow to the size of the volume. The default setting is off .
guarantee file | volume | none
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
Задава максималния размер (в KB), към които могат да растат директория. Това е заложено до 1% от общата системна памет по подразбиране. Повечето потребители не трябва да се наложи да промените тази настройка. Ако тази настройка е променено, за да бъде над размера по подразбиране, уведомление съобщение ще бъдат отпечатани на конзолата, обяснявайки, че това въздействие може изпълнение. Тази опция е полезна за среди, в които потребители на системата може да нарасне директория до размер, който започва да отразява производителността на системата. Когато потребителят се опитва да създаде файл в директория, която е на границата, системата се връща ENOSPC грешка и не Създаване.
minra на | изк
Ако тази опция е включена, цедка извършва минимална изчитане на файл-напред от обема. По подразбиране тази опция е изключена, което води до цедка, за да изпълнява спекулативен файл за четене напред, когато е необходимо. Използването на спекулативен предварително четене ще подобрят ефективността на повечето натоварвания, така че активирането на тази опция трябва да се използва с повишено внимание.
no_atime_update на | изк
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 | реден
Ако тази опция е реден, Filer формати, насрочено моментна снимка на имена, съдържащи типа на моментна снимка и неговото редни (като hourly.0) Ако опцията е create_time, Filer формати,, планирани снимка имената база от типа на моментна снимка и времето по който тя е създадена, като hourly.2005-04-21_1100. Настройката по подразбиране е реден.
snaplock_compliance
Това прочетох само опция, показва, че обемът е един обем SnapLock, Спазването. Обеми могат да се определят единствено SnapLock съответствието обеми към създаване време.
snaplock_default_period мин. | макс. | безкраен <count> D | M | Y
Тази опция е само виждат за SnapLock обеми и определя периода по подразбиране на задържане, която ще бъде приложена до файлове, извършени до WORM състояние, без съответен период на задържане,.
Ако тази опция стойност е минимум след това snaplock_minimum_period се използва като период за задържане на по подразбиране. Ако стойността на тази опция е Макс тогава snaplock_maximum_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
Атрибут Cache редовно изчакване файл. The amount of time (in seconds) which the cache considers regular files on the given volume to be valid before consulting the origin. The timeout value is a number, optionally followed by m , h , d or w , denoting minutes, hours, days or weeks respectively. If none of the above letters is used, the unit defaults to seconds.
acdirmax < timeout > m|h|d|w
Similar to acregmax , but for directories.
acsymmax < timeout > m|h|d|w
Similar to acregmax , but for symbolic links.
actimeo < timeout > m|h|d|w
Attribute Cache default timeout. This is applied to all filetypes that have no explicit timeout assigned by one of the above attribute cache options.
flexcache_autogrow on | off
Setting this option to on enables autogrow on the FlexCache volume. This causes the FlexCache volume to automatically grow, if there is room in the aggregate, in order to avoid evictions. Setting this option to off will cause the FlexCache volume to no longer automatically grow. The size will not be reverted back to its original size. This option is only valid on FlexCache volumes. Autogrow will be enabled by default on new FlexCache volumes that are created without a size parameter.
flexcache_min_reserve size
Alter the space reserved in the aggregate for the given FlexCache volume, such that the volume is guaranteed to be able to cache up to size data. The size paramater is given as in the vol create command.
vol rename volname newname
Renames the volume named volname to the name new_ n ame . vol rename will rewrite all entries belonging to the volume in the /etc/exports file unless the option nfs.export.auto-update is disabled.
vol restrict volname
[ -t cifsdelaytime ]
Put the volume volname in restricted state, starting from either online or offline state. If the volume is online, then it will be made unavailable for data access as described above under vol offline .
If a volume contains CIFS shares, users should be warned before taking the volume offline. Use the -t option for this. The cifsdelaytime argument specifies the number of minutes to delay before taking the volume offline, during which time CIFS users are warned of the pending loss of service. A time of 0 means take the volume offline immediately with no warnings given. CIFS users can lose data if they are not given a chance to terminate applications gracefully.
vol scrub resume [ volname | plexname | groupname ]
Resume parity scrubbing on the named traditional volume, plex, or RAID group. If no name is given, then all suspended parity scrubs are resumed.
The vol scrub resume command fails if the chosen volname is a flexible volume. Flexible volumes require that any operations having directly to do with their containing aggregates be handled via the new aggr command suite. In this specific case, the administrator should use the aggr scrub resume command.
vol scrub start [ volname | plexname | groupname ]
Start parity scrubbing on the named traditional volume, plex, or RAID group. If volname is a flexible volume, vol scrub start aborts.
Parity scrubbing compares the data disks to the parity disk in a RAID group, correcting the parity disk's contents as necessary.
If no name is given, then start parity scrubs on all online RAID groups on the filer. If a traditional volume is given, scrubbing is started on all RAID groups contained in the traditional volume. Similarly, if a plex name is given, scrubbing is started on all RAID groups in the plex.
The vol scrub start command fails if the chosen volname is a flexible volume. Flexible volumes require that any operations having directly to do with their containing aggregates be handled via the new aggr command suite. In this specific case, the administrator should use the aggr scrub start command.
vol scrub status [ volname | plexname | groupname ] [ -v ]
Print the status of parity scrubbing on the named traditional volume, plex or RAID group. If no name is provided, the status is given on all RAID groups currently undergoing parity scrubbing. The status includes a percent-complete as well as the scrub's suspended status (if any).
The -v flag displays the date and time at which the last full scrub completed, along with the current status on the named traditional volume, plex, or RAID group. If no name is provided, full status is provided for all RAID groups on the filer.
The vol scrub status command fails if the chosen volname is a flexible volume. Flexible volumes require that any operations having directly to do with their containing aggregates be handled via the new aggr command suite. In this specific case, the administrator should use the aggr scrub status command.
vol scrub stop [ volname | plexname | groupname ]
Stop parity scrubbing for the named traditional volume, plex or RAID group. If no name is given, then parity scrubbing is stopped on any RAID group on which one is active.
The vol scrub stop command fails if the chosen vol_ n ame is a flexible volume. Flexible volumes require that any operations having directly to do with their containing aggregates be handled via the new aggr command suite. In this specific case, the administrator should use the aggr scrub stop command.
vol scrub suspend [ volname | plexname | groupname ]
Suspend parity scrubbing on the named traditional volume, plex, or RAID group. If no name is given, all active parity scrubs are suspended.
The vol scrub suspend command fails if the chosen volname is a flexible volume. Flexible volumes require that any operations having directly to do with their containing aggregates be handled via the new aggr command suite. In this specific case, the administrator should use the aggr scrub suspend command.
vol size volname [[+|-] size ]
This command sets or displays the given flexible volume's size as specified, using space from the volume's containing aggregate. It can make the flexible volume either larger or smaller. The size argument has the same form and obeys the same rules as when it is used in the vol create command to create a flexible volume. Be careful if the sum of the sizes of all flexible volumes in an aggregate exceeds the size of the aggregate.
If [+|-] size is used, then the flexible volume's size is changed (grown or shrunk) by that amount. Otherwise, the volume size is set to size (rounded up to the nearest 4 KB).
When displaying the flexible volume's size, the units used have the same form as when creating the volume or setting the volume size. The specific unit chosen for a given size is based on matching the volume size to an exact number of a specific unit. k is used if no larger units match.
The file system size of a readonly replica flexible volume, such as a snapmirror destination, is determined from the replica source. In such cases, the value set in vol size is interpreted as an upper limit on the size. A flexible volume with the fs_size_fixed option set may have its size displayed, but not changed.
A flexible root volume cannot be shrunk below a minimum size determined by the appliance model. This to ensure that there is sufficient space in the root volume to store system files, log files, and core files for use by NetApp technical support if a problem with the system occurs.
The amount of space available for the active filesystem in a volume is limited by the snapshot reservation set for that volume. The snapshot reservation should be taken into account when sizing a volume. See snap for details on how to set a volume's snapshot reservation.
vol split plexname volname
This command removes plexname from a mirrored traditional volume and creates a new, unmirrored traditional volume named volname that contains the plex. The original mirrored traditional volume becomes unmirrored. The plex to be split from the original traditional volume must be functional (not partial), but it could be inactive, resyncing, or out-of-date. The vol split can therefore be used to gain access to a plex that is not up to date with respect to its partner plex if its partner plex is currently failed.
If the plex is offline at the time of the split, the resulting traditional volume will be offline. Otherwise, the resulting traditional volume will be in the same online/offline/restricted state as the original traditional volume. A split mirror can be joined back together via the -v option to vol mirror .
The aggr split command is the preferred way to split off plexes. It is the only way to split off plexes from mirrored aggregates that contain flexible volumes.
vol status [ volname ]
[ -r | -v | -d | -l | -c | -b | -s | -f | -m ]
Displays the status of one or all volumes on the filer. If volname is used, the status of the specified volume is printed. Otherwise, the status of all volumes in the filer are printed. By default, it prints a one-line synopsis of the volume, which includes the volume name, its type (either traditional or flexible ), whether it is online or offline, other states (for example, partial, degraded, wafl inconsistent and so on) and per-volume options. Per-volume options are displayed only if the options have been turned on using the vol options command. If the wafl inconsistent state is displayed, please contact Customer Support.
When run in a vfiler context only the -v, -l, -b, and -? flags can be passed to vol status.
The -v flag shows the on/off state of all per-volume options and displays information about each plex and RAID group within the traditional volume or the aggregate containing the flexible volume. aggr status -v is the preferred manner of obtaining the per-aggregate options and the RAID information associated with flexible volumes.
The -r flag displays a list of the RAID information for the traditional volume or the aggregate containing the flexible volume. If no volname is specified, it prints RAID information about all traditional volumes and aggregates, information about file system disks, spare disks, and failed disks. For more information about failed disks, see the -f option description below.
The -d flag displays information about the disks in the traditional volume or the aggregate containing the flexible volume. The types of disk information are the same as those from the sysconfig -d command. aggr status -d is the preferred manner of obtaining this low-level information for aggregates that contain flexible volumes.
The -l flag displays, for each volume on a filer, the name of the volume, the language code, and language being used by the volume.
The -c flag displays the upgrade status of the Block Checksums data integrity protection feature for the traditional volume or the aggregate containing the flexible volume. aggr status -c is the preferred manner of obtaining this information for a flexible volume's containing aggregate.
The -b is used to get the size of source and destination traditional volumes for use with SnapMirror. The output contains the size of the traditional volume and the size of the file system in the volume. SnapMirror and aggr copy use these numbers to determine if the source and destination volume sizes are compatible. The file system size of the source must be equal or smaller than the volume size of the destination. These numbers can be different if using SnapMirror between volumes of dissimilar geometry.
The -s flag displays a list of the spare disks on the system. aggr status -s is the preferred manner of obtaining this information.
The -m flag displays a list of the disks in the system that are sanitizing, in recovery mode, or in maintenance testing.
The -f flag displays a list of the failed disks on the system. The command output includes the disk failure reason which can be any of following:
unknown Failure reason unknown. failed Data ONTAP failed disk, due to a fatal disk error. admin failed User issued a 'disk fail' command for this disk. labeled broken Disk was failed under Data ONTAP 6.1.X or an earlier version. init failed Disk initialization sequence failed. admin removed User issued a 'disk remove' command for this disk. not responding Disk not responding to requests. pulled Disk was physically pulled or no data path exists on which to access the disk. bypassed Disk was bypassed by ESH.
vol verify resume [ volname ]
Resume RAID mirror verification on the given traditional volume. If no volume name is given, then resume all suspended RAID mirror verification operations.
The vol verify resume command fails if the chosen volname is a flexible volume. Flexible volumes require that any operations having directly to do with their containing aggregates be handled by the new aggr command suite. In fact, the administrator should always use the aggr verify resume command.
vol verify start [ volname ] [ -f plexnumber ]
Start RAID mirror verification on the named online, mirrored traditional volume. If no name is given, then RAID mirror verification is started on all traditional volumes and aggregates on the filer.
RAID mirror verification compares the data in both plexes of a mirrored traditional volume or aggregate. In the default case, all blocks that differ are logged, but no changes are made. If the -f flag is given, the plex specified is fixed to match the other plex when mismatches are found. A volume name must be specified with the -f plexnumber option.
The vol verify start command fails if the chosen volname is a flexible volume. Flexible volumes require that any operations having directly to do with their containing aggregates be handled by the new aggr command suite. In fact, the administrator should always use the aggr verify start command.
vol verify status [ volname ]
Print the status of RAID mirror verification on the given traditional volume. If no volume name is given, then provide status for all active RAID mirror verification operations. The status includes a percent-complete and the verification's suspended status (if any).
The vol verify status command fails if the chosen volname is a flexible volume. Flexible volumes require that any operations having directly to do with their containing aggregates be handled by the new aggr command suite. In fact, the administrator should always use the aggr verify status command.
vol verify stop [ volname ]
Stop RAID mirror verification on the named traditional volume. If no volume name is given, stop all active RAID mirror verification operations on traditional volumes and aggregates.
The vol verify stop command fails if the chosen volname is a flexible volume. Flexible volumes require that any operations having directly to do with their containing aggregates be handled by the new aggr command suite. In fact, the administrator should always use the aggr verify stop command.
vol verify suspend [ volname ]
Suspend RAID mirror verification on the named traditional volume. If no volume name is given, then suspend all active RAID mirror verification operations on traditional volumes and aggregates.
The vol verify suspend command fails if the chosen volname is a flexible volume. Flexible volumes require that any operations having directly to do with their containing aggregates be handled by the new aggr command suite. In fact, the administrator should always use the aggr verify suspend command.
CLUSTER CONSIDERATIONS
Volumes on different filers in a cluster can have the same name. For example, both filers in a cluster can have a volume named vol0.However, having unique volume names in a cluster makes it easier to migrate volumes between the filers in the cluster.
VFILER 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.ПРИМЕРИ
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.









































