Taula de continguts
aggr – commands for managing aggregates, displaying aggregate status, and copying aggregates
aggr command argument … The
aggr command family manages
aggregates . The
aggr commands can create new aggregates, destroy existing ones, undestroy previously destroyed aggregate, manage plexes within a mirrored aggregate, change aggregate status, apply options to an aggregate, copy one aggregate to another, and display their status. Aggregate commands often affect the volume(s) contained within aggregates.
The aggr command family is new in Data ONTAP 7.0. The vol command family provided control over the traditional vol_ u mes that fused a single user-visible file system and a single RAID-level storage container (aggregate) into an indivisible unit, and still does. To allow for more flexible use of storage, aggregates now also support the ability to contain multiple, independent user-level file systems named flexible volumes .
Data ONTAP 7.0 fully supports both traditional and flexible volumes. The aggr command family is the preferred method for managing a filer's aggregates, including those that are embedded in traditional volumes.
Note that most of the aggr commands apply equally to both the type of aggregate that contains flexible volumes and the type that is tightly bound to form a traditional volume. Thus, the term aggregate is often used here to refer to both storage classes. In those cases, it provides a shorthand for the longer and more unwieldy phrase "aggregates and traditional volumes”.
Aggregates may either be mirrored or unmirrored. A plex is a physical copy of the WAFL storage within the aggregate. A mirrored aggregate consists of two plexes; unmirrored aggregates contain a single plex. In order to create a mirrored aggregate, you must have a filer configuration that supports RAID-level mirroring. When mirroring is enabled on the filer, the spare disks are divided into two disk pools. When an aggregate is created, all of the disks in a single plex must come from the same disk pool, and the two plexes of a mirrored aggregate must consist of disks from separate pools, as this maximizes fault isolation. This policy can be overridden with the -f option to aggr create , aggr add and aggr mirror , but it is not recommended.
An aggregate name can contain letters, numbers, and the underscore character(_), but the first character must be a letter or underscore. A combined total of up to 200 aggregates (including those embedded in traditional volumes) can be created on each filer.
A plex may be online or offline. If it is offline, it is not available for read or write access. Plexes can be in combinations of the following states:
normal All RAID groups in the plex are functional.
failed At least one of the RAID groups in the plex has failed.
empty The plex is part of an aggregate that is being created, and one or more of the disks targeted to the aggregate need to be zeroed before being added to the plex.
active The plex is available for use.
inactive
The plex is not available for use.
resyncing
The plex's contents are currently out of date and are in the process of being resynchronized with the contents of the other plex of the aggregate (applies to mirrored aggregates only).
adding disks
Disks are being added to the plex's RAID group(s).
out-of-date
This state only occurs in mirrored aggregates where one of the plexes has failed. The non-failed plex will be in this state if it needed to be resynchronized at the time the other plex failed.
A plex is named using the name of the aggregate, a slash character delimiter, and the name of the plex. The system automatically selects plex names at creation time. For example, the first plex created in aggregate aggr0 would be aggr0/plex0 .
An aggregate may be online, restricted, or offline. When an aggregate is offline, no read or write access is allowed. When an aggregate is restricted, certain operations are allowed (such as aggregate copy, parity recomputation or RAID reconstruction) but data access is not allowed. Aggregates that are not a part of a traditional volume can only be restricted or offlined if they do not contain any flexible volumes.
Aggregates can be in combinations of the following states:
aggr The aggregate is a modern-day aggregate; it is capable of containing zero or more flexible volumes.
copying
The aggregate is currently the target aggregate of an active aggr copy operation.
degraded
The aggregate contains at least one degraded RAID group that is not being reconstructed.
foreign
The disks that the aggregate contains were moved to the current filer from another filer.
growing
Disks are in the process of being added to the aggregate.
initializing
The aggregate is in the process of being initialized.
invalid
The aggregate contains no volumes and none can be added. Typically this happens only after an aborted aggregate copy operation.
ironing
A WAFL consistency check is being performed on this aggregate.
mirror degraded
The aggregate is a mirrored aggregate, and one of its plexes is offline or resyncing.
mirrored
The aggregate is mirrored and all of its RAID groups are functional.
needs check
A WAFL consistency check needs to be performed on the aggregate.
partial
At least one disk was found for the aggregate, but two or more disks are missing.
raid0 The aggregate consists of RAID-0 (no parity) RAID groups (V-Series and NetCache only).
raid4 The aggregate consists of RAID-4 RAID groups.
raid_dp
The aggregate consists of RAID-DP (Double Parity) RAID groups.
reconstruct
At least one RAID group in the aggregate is being reconstructed.
redirect
Aggregate reallocation or file reallocation with the -p option has been started on the aggregate. Read performance to volumes in the aggregate may be degraded.
resyncing
One of the plexes of a mirrored aggregate is being resynchronized.
snapmirrored
The aggregate is a snapmirrored replica of another aggregate. This state can only arise if the aggregate is part of a traditional volume.
trad The aggregate is fused with a single volume. This is also referred to as a traditional volume and is exactly equivalent to the volumes that existed before Data OnTAP 7.0. Flexible volumes can not be created inside of this aggregate.
verifying
A RAID mirror verification operation is currently being run on the aggregate.
wafl inconsistent
The aggregate has been marked corrupted. Please contact Customer Support if you see an aggregate in this state.
The following commands are available in the
aggr suite:
add mirror restrict undestroy copy offline scrub verify create online show_space destroy options split media_scrub rename status
aggr add aggrname [
-f ]
[
-n ]
[
-g {
raidgroup |
new |
all } ]
{
ndisks [@
size ]
- |
- -d disk1 [ disk2 ... ] [ -d diskn [ diskn+1 ... ] ] }
Afegeix discs a l'anomenat aggrname agregat. Especificar els discos de la mateixa manera que per al Aggr crear comandes. Si el conjunt es reflecteix, llavors l'argument-d ha de ser utilitzat dues vegades (si escau). Si l'opció-g no s'utilitza, els discos es sumen al grup creat RAID útils, més recentment, està ple i, a continuació un o més nous es creen grups RAID i els discs restants s'afegeixen als nous grups. Qualsevol altres grups RAID existent que no estiguin plens romanen parcialment plens.
g permet l'opció-L'especificació d'un grup RAID (per exemple, rg0) a la qual els discs indicats cal afegir, o un mètode pel qual els discs s'afegeixen als ja existents o nous grups RAID.
Si l'opció-g s'utilitza per especificar un grup RAID, RAID que el grup ha d'existir. Els discs es sumen a aquest grup RAID útil que està ple. Tots els discs restants s'ignoren.
Si l'opció-g és seguit de nou, Data ONTAP crea un o més grups RAID i afegeix els discs d'ells, fins i tot si els discs es podria en un grup RAID existents. Cap grup RAID existents que no estiguin plens romanen parcialment plens. El nom dels nous grups RAID es seleccionen automàticament. No és possible especificar els noms dels grups RAID.
Si l'opció-g és seguit per tots, Data ONTAP afegeix els discs especificats als actuals grups de la primera incursió. Després de tots els grups existents RAID estan plens, es crea un o més grups RAID i afegeix els discs especificats als nous grups.
L'opció-n es pot utilitzar per mostrar la comanda que el sistema s'executarà, sense realitzar cap canvi. Això és útil per a la visualització dels discos seleccionats automàticament, per exemple.
Per defecte, el contribuent s'omple d'un grup RAID amb discs abans d'iniciar un altre grup RAID. Suposem que un agregat en l'actualitat té un grup RAID de 12 discos i la seva mida és de 14 grup RAID. Si afegeix 5 discs d'aquest conjunt, que tindrà un grup RAID amb discs de 14 i un altre grup RAID amb 3 discs. L'arxivador no distribuir equitativament entre els grups de discos RAID.
No es pot afegir discs en un mirall global si un dels plexes està en línia.
Els discs en un complex no es permet a les piscines disc clar. Aquest comportament pot ser anul.lat amb la bandera-f quan s'utilitza juntament amb l'argument-d de la llista de discs per afegir. El flag-f, en combinació amb-d, també pot ser usat per forçar l'addició de discos que tenen una velocitat de rotació que no coincideix amb la de la majoria dels discos existents en l'agregat.
Aggr [avortar h] en paper operation_number | tots
Acaba operacions de còpia total. El paràmetre t ion_number opera_ s'especifica que l'operació acabi. Si s'especifica tot, tots els actius operacions de còpia agregada s'acaben.
Aggr iniciar la còpia
[S |-s instantània] [-C]
origen destinació
Còpia totes les dades, incloses les instantànies i els volums flexibles, d'un conjunt a un altre. Si l'opció-S s'utilitza la comanda de les còpies en totes les instantànies de la font global per al conjunt de destinació. Per especificar una imatge particular per copiar, l'opció-s seguit per l'ús del nom de la instantània. Si no utilitza cap dels S-ni-s en la comanda, el contribuent crea una instantània en el moment de la còpia Aggr comanda d'inici s'executa i que només còpies d'instantànies per al conjunt de destinació.
El flag-C és necessari si l'agregat d'origen ha tingut l'espai lliure de desfragmentació a terme en ella, o si el conjunt de destinació serà l'espai lliure desfragmentar. L'espai lliure de desfragmentació es pot realitzar en un agregat mitjançant la reassignació de comandes.
còpies agregades només es pot realitzar entre els agregats que allotgen flexibles volums. Agregats que s'incrusten en els volums tradicionals no poden participar.
L'origen i destí poden ser agregats en l'arxivador mateix o per parella diferent. Si l'origen o destinació global està en un arxivador diferent d'aquell en què s'introdueix la còpia Aggr comanda d'inici, especifiqui el nom agregat a la filer_name: g format ate_name aggre_.
Els contribuents que participen en una còpia global ha de complir els requisits per a la còpia Aggr comanda d'inici que s'ha completat correctament:
L'agregat d'origen ha d'estar en línia i el conjunt de destinació ha de ser restringit.
Si la còpia és entre dos contribuents, cada arxivador ha de ser definit com un host de confiança del arxivador altres. És a dir, és el nom del arxiu ha d'estar en el / / hosts.equiv etc l'arxivador d'altres.
Si la còpia es troba en l'arxivador mateix, localhost ha de ser inclòs en arxivador / arxiu / hosts.equiv etc. A més, la direcció de bucle invertit ha d'estar en etc / hosts l'arxivador / arxiu. En cas contrari, el contribuent no pot enviar paquets a si mateix a través de l'adreça de bucle invertit quan es tracta de copiar les dades.
L'espai en disc utilitzable del conjunt de destinació ha de ser major o igual que l'espai en disc utilitzable del total de la font. Utilitzeu el DF-Un comandament de ruta per veure la quantitat d'espai utilitzable d'un agregat particular.
Cada còpia Aggr comanda d'inici de les operacions de còpia genera dos agregats: un per a lectura de dades des de la font d'agregat i una per a escriure dades en el conjunt de destinació. Cada arxivador suporta fins a quatre operacions simultànies còpia agregada.
Aggr [Estat de la còpia operation_number]
Mostra el progrés d'una o totes les operacions de còpia Aggr. Les operacions estan numerats del 0 al 3.
Informació de reinici de punt de comprovació per a totes les transferències també es mostra.
Aggr [accelerador còpia operation_number valor]
Controla el rendiment de l'operació de còpia Aggr. El valor oscil entre 10 (màxima velocitat) a 1 (una desena part de velocitat màxima). El valor per defecte es manté en els aggr.copy.throttle opció arxivador i s'estableix en 10 (velocitat màxima) a la fàbrica. Pot aplicar el valor de rendiment per a una operació especificada pel paràmetre operation_number. Si no s'especifica un nombre d'operació en la còpia Aggr comandament de l'accelerador, la comanda s'aplica a totes les operacions de còpia Aggr.
Utilitzeu aquesta comanda per a limitar la velocitat de l'operació de còpia Aggr si sospita que l'operació de còpia Aggr està causant problemes de rendiment en el seu arxiu. En particular, l'accelerador està dissenyat per ajudar a limitar l'ús de la CPU de l'operació de còpia Aggr. No es pot utilitzar per ajustar els patrons de consum d'ample de banda de xarxa.
The aggr copy throttle command only enables you to set the speed of an aggr copy operation that is in progress. To set the default aggr copy speed to be used by future copy operations, use the options command to set the aggr.copy.throttle option.
aggr create aggrname
[ -f ]
[ -m ]
[ -n ]
[ -t raidtype ]
[ -r raidsize ]
[ -T disk-type ]
[ -R rpm ]
[ -L [ compliance | enterprise ] ]
[ -v ]
[ -l language-code ]
{ ndisks [@ size ]
- |
- -d disk1 [ disk2 ... ] [ -d diskn [ diskn+1 ... ] ] }
Creates a new aggregate named
aggrname . The aggregate name can contain letters, numbers, and the underscore character(_), but the first character must be a letter or underscore. Up to 200 aggregates can be created on each filer. This number includes those aggregates that are embedded within traditional volumes.
An embedded aggregate can be created as part of a traditional volume using the -v option. It cannot contain any flexible volumes.
A regular aggregate, created without the -v option, can contain only flexible volumes. It cannot be incorporated into a traditional volume, and it contains no volumes immediately after creation. New flexible volumes can be created using the vol create command.
The -t raidtype argument specifies the type of RAID group(s) to be used to create the aggregate. 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. The default raidtype for aggregates and traditional volumes on filers is raid_dp . Setting the raidtype is not permitted on V-Series systems; the default of raid0 is always used.
The -r raidsize argument specifies the maximum number of disks in each RAID group in the aggregate. The maximum and default values of raidsize are platform-dependent, based on performance and reliability considerations. See aggr options raidsize for more details.
The -T disk-type argument specifies the type of disks to use when creating a new aggregate. It is needed only on systems connected to disks of different types. Possible disk types are: ATA , FCAL , LUN , SAS , SATA , and SCSI . Mixing disks of different types in one aggregate is not allowed. -T cannot be used together with -d .
Disk type identifies disk technology and connectivity type. ATA identifies ATA disks with either IDE or serial ATA interface in shelves connected in FCAL (Fibre Channel Arbitrated Loop). FCAL identifies FC disks in shelves connected in FC-AL. LUN identifies virtual disks exported from external storage arrays. The underlying disk technology and RAID type depends on implementation of such external storage arrays. SAS identifies Serial Attached SCSI disks in matching shelves. SATA identifies serial ATA disks in SAS shelves. SCSI stands for Small Computer System Interface, and it is included for backward compatibility with earlier disk technologies.
The -R rpm argument specifies the type of disks to use based on their rotational speed in revolutions per minute (rpm). It is needed only on systems having disks with different rotational speeds. Typical values for rotational speed are 5400, 7200, 10000, and 15000. -R cannot be used together with -d .
ndisks is the number of disks in the aggregate, including the parity disks. The disks in this newly created aggregate come from the pool of spare disks. The smallest disks in this pool join the aggregate first, unless you specify the @ size argument. size is the disk size in GB, and disks that are within 10% of the specified size will be selected for use in the aggregate.
The -m option can be used to specify that the new aggregate be mirrored (have two plexes) upon creation. If this option is given, then the indicated disks will be split across the two plexes. By default, the new aggregate will not be mirrored.
L'opció-n es pot utilitzar per mostrar la comanda que el sistema s'executarà, sense realitzar cap canvi. Això és útil per a la visualització dels discos seleccionats automàticament, per exemple.
Si utilitzeu l'opció-d disk1 [disk2 ... argument], el contribuent crea el conjunt amb la llanta de recanvi discs especificats disk1, disk2, etc. Podeu especificar una llista separada per espais de noms de disc. Dues llistes separades s'ha d'especificar si l'agregat de nou es reflecteix. En el cas que l'agregat de nou es repeteix, si els discs s'indica ha de resultar en un nombre igual de discs en cada complex nou.
Els discs en un complex no es permet que abasten grups de reposicions. Aquest comportament pot ser anul.lat amb l'opció f-. La mateixa opció també es pot utilitzar per obligar a utilitzar discs que no tenen concordança velocitat de rotació. L'opció f-es farà efectiu només quan s'utilitza amb l'opció-d especifica discs a utilitzar.
Per crear un agregat SnapLock, especifiqueu l'opció-L amb el Aggr crear comandes. Aquesta bandera només s'admet si bé el compliment de SnapLock o SnapLock Enterprise amb llicència. El tipus d'agregat SnapLock creat, ja sigui de compliment o empresa, està determinada per la llicència d'SnapLock instal lat. Si tant el compliment de SnapLock i Empresa SnapLock tenen llicència, el compliment o la L - L de l'empresa utilitza per especificar el tipus desitjat d'agregat.
-L'argument de la language_code l pot ser utilitzat només quan es crea un volum tradicional usant l'opció-v. L'arxivador crea el volum tradicional amb l'idioma especificat pel codi de la llengua. El valor per defecte és l'idioma utilitzat pel volum d'arrel l'arxivador. Veure la vol pàgina del manual per a una llista de codis d'idioma.
(Destruir Aggr aggrname | plexname) [-f]
Destrueix el nom aggrname agregada, o el complex anomenat plexname. Tingueu en compte que si l'agregat especificat està vinculat a un volum tradicional, llavors el volum tradicional mateixa es destrueix també.
Si s'especifica un agregat, tots els plexes en conjunt, són destruïts. El nomenat agregat no ha de contenir també els volums flexibles, independentment del seu estat de muntatge (en línia, restringit, o sense connexió). Si s'especifica un complex, el complex es destrueix, deixant un volum total sense reflex o tradicionals que contenen el complex restants. Abans de destruir l'agregat, el volum tradicional o complex, es demana a l'usuari que confirmi l'operació. La bandera-f es pot utilitzar per destruir un agregat, el volum tradicional o complexes sense preguntar a l'usuari.
Els discs originalment en l'objecte es van destruir els discos de recanvi. Només els agregats en línia, els volums tradicionals i plexes poden ser destruïts.
Aggr media_scrub estat [aggrname | plexname | groupname]
[V]
Imprimeix els mitjans de comunicació de l'estat de rentat nomenat agregat, complex, o grup. Si no es dóna el nom, la seva situació s'ha imprès en tots els grups RAID està executant una neteja mitjans de comunicació. L'estatut inclou una completa cent-i si se suspèn.
-V mostra la bandera de la data i l'hora en les quals els matolls mitjans complert en darrer lloc, la data i hora en què la instància actual dels mitjans de comunicació va començar a fregar, i l'estat actual del nomenat agregat, complex, o grup. Si no es dóna el nom, l'estat més detallat s'imprimeix en tots els grups RAID amb matolls mitjans actius.
Aggr aggrname mirall
[-F]
[-N]
[V] victim_aggrname
[-D disk1 [disk2 ... ]]
Resulta un conjunt sense reflex en un mirall global mitjançant l'addició d'un complex a la mateixa. El complex és de recent creació ja sigui de discos seleccionats d'un grup de recanvi, o bé, si l'opció-v l's'especifica, es pren d'una altra existent sense reflex agregat. aggrname agregat ha d'estar actualment sense reflex. Aggr ús per crear un nou mirall agregat a partir de zero.
Els discs es poden especificar explícitament usant-d de la mateixa manera com amb el Aggr Aggr crear i afegir comandes. El nombre de discos indicat ha de coincidir amb el número present en el total existent. Els discs s'especifica no se'ls permet a les piscines disc clar. Aquest comportament pot ser anul.lat amb l'opció f-. L'opció f, en combinació amb-d, també es pot utilitzar per obligar a utilitzar discos que tenen una velocitat de rotació que no coincideix amb la de la majoria dels discos existents en l'agregat.
Si els discs no s'especifiquen de forma explícita, a continuació, els discos es seleccionen automàticament per adaptar-se als complexos existents en el conjunt de.
V L'opció-pot servir per unir victim_aggrname de nou en aggrname per formar un mirall global. El resultat és un reflex anomenat aggrname granulat, que és idèntica a aggrname abans de l'operació. Victim_aggrname és realment destruït. Victim_aggrname ha d'haver estat prèviament reflectit amb aggrname, a continuació, separats per la comanda Dividir Aggr. Victim_aggrname ha d'estar fora de línia. Combinada amb l'opció-v, l'opció-f pot servir per unir i aggrname im_aggrname t vic_ sense preguntar a l'usuari.
L'opció-n es pot utilitzar per mostrar la comanda que el sistema s'executarà sense haver de realitzar cap canvi. Això és útil per a la visualització dels discos seleccionats automàticament, per exemple.
Aggr línia (aggrname | plexname)
t cifsdelaytime] [
Pren el nom aggrname agregada (o el complex anomenat plexname) en línia. L'ordre entrarà en vigor abans de tornar. Si el conjunt es troba ja en estat restringit, llavors ja està disponible per a accés de dades, i gran part de la descripció següent no s'aplica.
Si el conjunt conté els volums flexibles, l'operació es avorta si l'arxiu està en mode de manteniment.
Excepte en el mode de manteniment, l'agregat que conté el volum arrel actual no pot ser pres fora de línia. Un agregat que contingui un volum que s'ha marcat per convertir-se en root (utilitzant les opcions de vol n arrel estimi vol_) tampoc pot ser pres fora de línia.
Si el conjunt està integrat en un volum tradicional que té quotes de CIFS, els usuaris han de ser advertits abans de prendre l'agregat (i per tant el volum tradicional sencer) en línia. Utilitza el-t per a això. L'argument cifsdelaytime especifica el nombre de minuts a esperar abans de prendre l'agregat incorporat en línia, durant el qual CIFS vegada que els usuaris del volum tradicional se'ls adverteix de la pèrdua a l'espera del servei. Un temps de 0 significa prendre la línia agregada immediatament sense advertències. CIFS usuaris poden perdre dades si no se'ls dóna l'oportunitat de posar fi a les sol licituds de gràcia.
Si s'especifica un plexname, el complex ha de ser part d'un mirall global i ambdós plexes ha d'estar en línia. Abans de offlining un complex, el sistema eliminarà totes les dades interns de memòria intermèdia associat amb el complex i crear una instantània del que està escrit a dos plexes. La instantània permet resincronització eficient quan el complex és posteriorment tornat en línia.
Una sèrie d'operacions que s'efectuen en els tradicionals al volum total de la línia pot prevenir Aggr de tenir èxit, durant diferents períodes de temps. Si aquestes operacions es troben, caldrà esperar un segon per a aquestes operacions a fi. Si no ho fa, la comanda es avorta.
Un xec és també per als arxius en el conjunt d'associats volum tradicional oberta pels processos interns de ONTAP. La comanda es avorta si es troba.
Aggr línia (aggrname | plexname)
[-F]
Porta el nom aggrname agregada (o el complex anomenat plexname) en línia. Aquesta ordre entrarà en vigor immediatament. Si l'agregat especificat està incrustat en un volum tradicional, el volum també és també lloc en línia.
Si un aggrname s'especifica, ha d'estar actualment en línia, restringit, o estrangers. Si el conjunt és estranger, es farà nadius abans de comparèixer en línia. Un "estranger" global és un afegit que es compon de discos ha mudat d'un altre contribuent, i que mai ha estat posat en línia en l'arxivador actual. Els agregats que no són estrangers són considerats com a "nadius".
Si el conjunt és incoherent, però no ha perdut les dades, l'usuari serà advertit i avisat abans del que el total de línia. La bandera-f es pot utilitzar per canviar aquest comportament. És aconsellable executar WAFL_check (o fer un SnapMirror inicialitzar en el cas d'un conjunt integrat en un volum tradicional) amb anterioritat a la interposició d'un total de línia incoherent. Portar un augment global en línia incompatible el risc de corrupció més sistema d'arxius. Si el conjunt és inconsistent i ha experimentat una possible pèrdua de dades, no pot posar en connexió a menys WAFL_check (o SnapMirror inicialitzar en el cas integrat) s'ha executat en l'agregat.
Si s'especifica un plexname, el complex ha de ser part d'una línia mirall global. El sistema iniciarà la resincronització de les complexes com a part del processament en línia.
opcions Aggr aggrname [nom_opció] optval
Mostra les opcions que s'han fixat per aggrname agregat, o estableix l'opció de trucada de l'anomenada nom_opció aggrname agregada als optval valor. La comanda segueix sent eficaç després que el contribuent es reinicia, el que no hi ha necessitat d'afegir opcions Aggr comandaments al / etc / rc. Algunes opcions tenen valors que són números. Algunes opcions tenen valors reflectides a (que també es pot expressar com sí, és cert, o 1) o apagar (que també pot expressar com no, falsa, o 0). Una barreja de majúscules i minúscules es poden utilitzar en escriure el valor d'una opció. La comanda d'estat Aggr mostra les opcions que s'estableixen per cada agregat.
A continuació es descriuen les opcions i els seus valors possibles:
fs_size_fixed on | off
Aquesta opció només s'aplica als agregats que s'incrusten en els volums tradicionals. Fa que el sistema d'arxius que romanen de la mateixa mida i no creixen o es encongeixen quan una relació volum SnapMirror es trenca, o un complement Aggr es realitza en ell. Aquesta opció s'ajusta automàticament a estar en un volum tradicional quan es converteix en un volum SnapMirror. Romandrà en la comanda després de trencar SnapMirror que s'expedeixi per volum tradicional. Això permet un volum tradicional que es SnapMirror nou a la font sense necessitat d'afegir discs a la font de volum tradicional. Si la mida dels volums tradicionals és més gran que la mida del sistema de fitxers, desactivar aquesta opció forçarà que el sistema de fitxers a créixer fins a la mida del volum tradicional. La configuració per defecte està desactivada.
ignore_inconsistent on | off
Aquesta comanda només es pot utilitzar en mode de manteniment. Si s'estableix aquesta opció, permet l'afegit que conté el volum arrel perquè sigui posat en línia durant l'arrencada, tot i que no és coherent. S'adverteix a l'usuari que posar-la en línia abans de córrer o WAFL_check wafliron pot donar lloc a la inconsistència del sistema de fitxers més.
nosnap on | off
Si aquesta opció està activada, deshabilita les instantànies automàtiques en l'agregat. La configuració per defecte està desactivada.
nombre raidsize
El valor d'aquesta opció és la mida màxima d'un grup RAID que es poden crear en l'agregat. Canviar el valor d'aquesta opció no farà que els grups existents de RAID per augmentar o disminuir, sinó que només afectarà més discos si s'afegeix a l'última existent RAID grup i el gran que nous grups RAID serà.
Els valors permesos per a aquesta opció dependrà de RaidType. Per exemple, permet a les grans raid_dp grups RAID de raid4. Límits i valors per defecte són també diferents per a diferents tipus d'aparells arxivador i diferents tipus de discs. Després de definir els límits de les taules i els valors per defecte per raidsize.
-------------- Raid4 màxim predeterminat raidsize mín -------------- R100 R150 2 8 8 2 6 6 2 7 14 FAS250 altres (discs FCAL) 8 febrer 1914 altres (ATA discs) 2 7 juliol -------------- -------------- raid_dp predeterminat raidsize ------ mín màx -------- R100 R150 3 12 12 3 12 16 altres (discs FCAL) 16 març 1928 altres (discs ATA) 14 març 1916 ---------- ----
Els valors poden canviar en futures versions de Data ONTAP. RaidType raid4 | raid_dp | RAID 0
Estableix el tipus de RAID utilitza per protegir contra errors de disc. L'ús d'raid4 proporciona un disc de paritat RAID per grup, mentre que raid_dp proporciona dos. Canviar aquesta opció canvia immediatament el tipus de RAID de tots els grups RAID dins de l'agregat. En actualitzar els grups RAID de raid4 a raid_dp, cada grup comença una reconstrucció RAID i en un disc extra per `dparity" paritat del segon disc.
Canviar aquesta opció també canvia amb les condicions necessàries raidsize més valor pel RaidType nou. Quan s'actualitza de raid4 a raid_dp, raidsize s'incrementarà en el valor predeterminat per raid_dp. Quan desqualificació de raid_dp a raid4, raidsize es reduirà a la mida dels més grans existents RAID grup si està entre el valor per defecte i el límit de raid4. Si el RAID major grup està per sobre del límit de raid4, el nou raidsize serà el límit. Si el RAID major grup és inferior al valor per defecte per raid4, el nou raidsize serà el valor per defecte. Si raidsize és ja inferior al valor per defecte per raid4, es redueix en 1.
nombre resyncsnaptime
Aquesta opció s'utilitza per establir la freqüència de resincronització de duplicacions d'instantànies (en minuts). El valor per defecte és de 60 minuts.
arrel
Si aquesta opció es troba en un volum tradicional, llavors l'efecte és idèntic com es defineix en el vol pàgina del manual. En cas contrari, si aquesta opció està establerta en un agregat capaços de contenir volums flexibles, que s'agreguen es marca com la que conté també l'origen de volum flexible al reiniciar. Aquesta opció es pot utilitzar en un sol volum global o tradicionals en un moment donat. L'agregat arrel existent o el volum tradicional es convertirà en una entitat sense ànim d'arrel després del reinici.
Fins que el sistema és reiniciat, el conjunt original i / o volum tradicional seguirà mostrant l'arrel com una de les seves opcions, i l'agregat de noves arrels tradicionals o volum mostrarà diskroot com una opció. En general, l'agregat que té l'opció diskroot és la que contindrà l'origen de volum flexible que recorri el reiniciar.
L'única manera d'eliminar l'estat de l'arrel d'un volum total o tradicional és establir l'opció d'arrel en un altre o tradicionals volum total.
snaplock_compliance
This read only option indicates that the aggregate is a SnapLock Compliance aggregate. Aggregates can only be designated SnapLock Compliance aggregates at creation time.
snaplock_enterprise
This read only option indicates that the aggregate is a SnapLock Enterprise aggregate. Aggregates can only be designated SnapLock Enterprise aggregates at creation time.
snapmirrored off
If SnapMirror is enabled for a traditional volume (SnapMirror is not supported for aggregates that contain flexible volumes), the filer automatically sets this option to on . Set this option to off if SnapMirror is no longer to be used to update the traditional volume mirror. After setting this option to off , the mirror becomes a regular writable traditional volume. This option can only be set to off ; only the filer can change the value of this option from off to on .
snapshot_autodelete on | off
This option is used to set whether snapshot are automatically deleted in the aggr. If set to on then snapshots may be deleted in the aggr to recover storage as necessary. If set to off then snapshots in the aggr are not automatically deleted to recover storage. Note that snapshots may still be deleted for other reasons, such as maintaining the snapshot schedule for the aggr, or deleting snapshots that are associated with specific operations that no longer need the snapshot. To allow snapshots to be deleted in a timely manner the number of aggr snapshots is limited when snapshot_autodelete is enabled. Because of this, if there are too many snapshots in an aggr then some snapshots must be deleted before the snapshot_autodelete option can be enabled.
aggr rename aggrname newname
Renames the aggregate named aggrname to newname . If this aggregate is embedded in a traditional volume, then that volume's name is also changed.
aggr restrict aggrname
[ -t cifsdelaytime ]
Put the aggregate named aggrname in restricted state, starting from either online or offline state. The command takes effect before returning.
If the aggregate contains any flexible volumes, the operation is aborted unless the filer is in maintenance mode.
If the aggregate is embedded in a traditional volume that has CIFS shares, users should be warned before restricting the aggregate (and hence the entire traditional volume). Use the -t switch for this. The cifsdelaytime argument specifies the number of minutes to delay before taking the embedded aggregate offline, during which time CIFS users of the traditional volume are warned of the pending loss of service. A time of 0 means take the aggregate offline immediately with no warnings given. CIFS users can lose data if they are not given a chance to terminate applications gracefully.
aggr scrub resume [ aggrname | plexname | groupname ]
Resumes parity scrubbing on the named aggregate, plex, or group. If no name is given, resume all RAID groups currently undergoing a parity scrubbing that has been suspended.
aggr scrub start [ aggrname | plexname | groupname ]
Inicia la depuració de paritat en l'agregat en línia amb nom. rentat de paritat es comparen els discos de dades en el disc de paritat (s) en el seu grup RAID, la correcció dels continguts del disc de paritat, segons sigui necessari. Si no es dóna el nom, netejar la paritat s'ha iniciat en tots els agregats en línia. Si un nom global s'indica, la neteja es troba iniciat en tots els grups RAID contingudes en l'agregat. Si un nom complex es dóna, la neteja s'ha iniciat en tots els grups RAID que figuren en el complex.
matolls Aggr estat [aggrname | plexname | nom de grup] [-v]
Imprimeix l'estat de rentat de la paritat en el conjunt amb nom, complex, o grup, tots els grups de RAID i en procés de rentat de paritat si no té un nom determinat. L'estatut inclou una completa cent-, i l'estat de suspensió de la mala herba.
-V mostra la bandera del dia i l'hora en què el matoll complet complert en últim lloc juntament amb l'estat actual al nomenat agregat, complex, o grup, tots els grups RAID, si no es dóna el nom.
matolls Aggr atur [aggrname | plexname | groupname]
Deixa de fregar la paritat en el conjunt amb nom, complex, o grup, i si no té un nom donat, en tots els grups RAID actualment objecte d'una depuració de paritat.
matolls Aggr suspendre [aggrname | plexname | groupname]
Suspèn rentat de la paritat en el conjunt amb nom, complex, o grup, i si no té un nom donat, en tots els grups de RAID i en procés de rentat de paritat.
Aggr show_space [-h |-k | m | g |-t |-b] <aggrname>
Displays the space usage in an aggregate. Unlike df, this command shows the space usage for each flexible volume within an aggregate If aggrname is specified, aggr show_space only runs on the corresponding aggregate, otherwise it reports space usage on all the aggregates.
All sizes are reported in 1024-byte blocks, unless otherwise requested by one of the -h , -k , -m , -g , or -t options. The -k, -m, -g, and -t options scale each size-related field of the output to be expressed in kilobytes, megabytes, gigabytes, or terabytes respectively.
The following terminology is used by the command in reporting space.
Total space This is the amount of total disk space that the aggregate has. WAFL reserve WAFL reserves a percentage of the total total disk space for aggregate level metadata. The space used for maintaining the volumes in the aggregate comes out of the WAFL reserve. Snap reserve Snap reserve is the amount of space reserved for aggregate snapshots. Usable space This is the total amount of space that is available to the aggregate for provisioning. This is computed as Usable space = Total space – WAFL reserve – Snap reserve df displays this as the 'total' space. BSR NVLOG This is valid for Synchronous SnapMirror destinations only. This is the amount of space used in the aggregate on the destination filer to store data sent from the source filer(s) before sending it to disk. Allocated This is the sum of the space reserved for the volume and the space used by non reserved data. For volume guaranteed volumes, this is at least the size of the volume since no data is unreserved. For volumes with space guarantee of none, this value is the same as the 'Used' space (explained below) since no unused space is reserved. The Allocated space value shows the amount of space that the volume is taking from the aggregate. This value can be greater than the size of the volume because it also includes the metadata required to maintain the volume. Used This is the amount of space that is taking up disk blocks. This value is not the same as the 'used' space displayed by the df command. The Used space in this case includes the metadata required to maintain the flexible volume. Avail Total amount of free space in the aggregate. This is the same as the avail space reported by df.
aggr split plexname aggrname [
-r oldvol newvol ] [
-r ... ]
[
-s suffix ]
Removes plexname from a mirrored aggregate and creates a new unmirrored aggregate named aggrname that contains the plex. The original mirrored aggregate becomes unmirrored. The plex to be split from the original aggregate must be functional (not partial), but it could be inactive, resyncing, or outof-date. Aggr 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 aggregate in which plexname resides is embedded in a traditional volume, aggr split behaves identically to vol split . The new aggregate is embedded in a new traditional volume of the same name.
If the aggregate in which plexname resides contains exactly one flexible volume, aggr split will by default rename the flexible volume image in the split-off plex to be the same as the new aggregate.
If the aggregate in which plexname resides contains more than one flexible volume, it is necessary to specify how to name the volumes in the new aggregate resulting from the split. The -r option can be used repeatedly to give each flexible volume in the resulting aggregate a new name. In addition, the -s option can be used to specify a suffix that is added to the end of all flexible volume names not covered by a -r .
If the original aggregate is restricted at the time of the split, the resulting aggregate will also be restricted. If the restricted aggregate is hosting flexible volumes, they are not renamed at the time of the split. Flexible volumes will be renamed later, when the name conflict is detected while bringing an aggregate online. Flexible volumes in the aggregate that is brought online first keep their names. That aggregate can be either the original aggregate, or the aggregate resulting from the split. When the other aggregate is brought online later, flexible volumes in that aggregate will be renamed.
Si el complex d'un conjunt integrat dins d'un volum tradicional no està en línia en el moment de la divisió, la suma resultant serà en línia. En dividir un complex d'un total de volums que hi ha flexible, si aquest complex no està en línia, però el conjunt no està en línia, el total resultant es posarà en connexió, i el seu volum flexible canviar el nom. No es permet dividir un complex d'un total de connexió.
Un mirall poden ser posades de nou junts es van unir a través de l'opció-v per a la Aggr mirall.
Aggr estat [aggrname]
[-R |-v | d-|-c |-b |-s |-f |-i]
Mostra l'estat dels agregats d'un o tots en l'arxivador. Si aggrname s'utilitza, l'estat de la suma especificada s'imprimeix, en cas contrari la situació de tots els agregats en l'arxivador s'imprimeixen. Per defecte, s'imprimeix una línia d'una sinopsi de la suma que inclou el nom d'agregat, ja sigui que contingui un sol volum tradicional o algun nombre de volums flexibles, si és en línia o sense connexió, altres estats (per exemple, parcial, degradats, inconsistents, i així successivament) i peraggregate WAFL opcions. -Agregat opcions per només apareixen si les opcions s'han canviat dels valors per defecte del sistema utilitzant les opcions de comandes Aggr, o per la comanda opcions vol si l'agregat està incrustat en un volum tradicional. Si l'estat incoherent WAFL es mostra, si us plau poseu-vos en contacte amb Atenció al client.
The -v flag shows the on/off state of all peraggregate options and displays information about each volume, plex and RAID group contained in the aggregate.
The -r flag displays a list of the RAID information for that aggregate. If no aggrname is specified, it prints RAID information about all aggregates, information about file system disks, spare disks, and failed disks. For more information about failed disks, see the -f switch description below.
The -d flag displays information about the disks in the specified aggregate. The types of disk information are the same as those from the sysconfig -d command.
The -c flag displays the upgrade status of the Block Checksums data integrity protection feature.
The -b is used to get the size of source and destination aggregates for use with aggr copy . The output contains the storage in the aggregate and the possibly smaller size of the aggregate. The aggregate copy command uses these numbers to determine if the source and destination aggregate sizes are compatible. The size of the source aggregate must be equal or smaller than the size of the destination aggregate.
The -s flag displays a listing of the spare disks on the filer.
The -f flag displays a list of the failed disks on the filer. The command output includes the disk failure reason which can be any of following:
The -i flag displays a list of the flexible volumes contained in an aggregate.
unknown Failure reason unknown. failed Data ONTAP failed disk due to a fatal disk error. admin failed User issued a 'disk fail' command for this disk. labeled broken Disk was failed under Data ONTAP 6.1.X or an earlier version. init failed Disk initialization sequence failed. admin removed User issued a 'disk remove' command for this disk. not responding Disk not responding to requests. pulled Disk was physically pulled, or no data path exists on which to access the disk. bypassed Disk was bypassed by ESH.
aggr undestroy [
-n ] <
aggrname >
Undestroy a partially intact or previously destroyed aggregate or traditional volume. The command prints a list of candidate aggregates and traditional volumes matching the given name, which can be potentially undestroyed.
The -n option prints the list of disks contained by the aggregate or by the traditional volume, which can be potentially undestroyed. This option can be used to display the result of command execution, without actually making any changes.
aggr verify resume [ aggrname ]
Resumes RAID mirror verification on the named aggregate; if no aggregate name is given, on all aggregates currently undergoing a RAID mirror verification that has been suspended.
aggr verify start [ aggrname ] [ -f plexnumber ]
Starts RAID mirror verification on the named online mirrored aggregate. If no name is given, then RAID mirror verification is started on all online mirrored aggregates. Verification compares the data in both plexes of a mirrored 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 name must be specified with the -f plexnumber option.
aggr verify stop [ aggrname ]
Stops RAID mirror verification on the named aggregate; if no aggregate name is given, on all aggregates currently undergoing a RAID mirror verification.
aggr verify status [ aggrname ]
Prints the status of RAID mirror verification on the named aggregate; on all aggregates currently undergoing RAID mirror verification if no aggregate name is given. The status includes a percent-complete, and the verification's suspended status.
aggr verify suspend [ aggrname ]
Suspends RAID mirror verification on the named aggregate; if no aggregate name is given, on all aggregates currently undergoing RAID mirror verification.
Aggregates on different filers in a cluster can have the same name. For example, both filers in a cluster can have an aggregate named
aggr0 .
However, having unique aggregate names in a cluster makes it easier to migrate aggregates between the filers in the cluster.
aggr create aggr1 -r 10 20 Creates an aggregate named aggr1 with 20 disks. The RAID groups in this aggregate can contain up to 10 disks, so this new aggregate has two RAID groups. The filer adds the current spare disks to the new aggregate, starting with the smallest disk.
aggr create aggr1 20@9
Creates an aggregate named aggr1 with 20 9-GB disks. Because no RAID group size is specified, the default size (8 disks) is used. The newly-created aggregate contains two RAID groups with 8 disks and a third group with four disks.
aggr create aggr1 -d 8a.1 8a.2 8a.3
Creates an aggregate named aggr1 with the specified three disks.
aggr create aggr1 10
aggr options aggr1 raidsize 5
The first command creates an aggregate named aggr1 with 10 disks which belong to one RAID group. The second command specifies that if any disks are subsequently added to this aggregate, 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 that RAID group. When new RAID groups are created, they will have a maximum size of five disks.
aggr show_space -h ag1
Displays the space usage of the aggregate `ag1′ and scales the unit of space according to the size.
AG1 'Espai total agregat de reserva WAFL complement reserva d'espai utilitzable BSR NVLOG 66GB 6797MB 611MB 59GB 65KB espai assignat als volums en el volum total assignat ª mà Garantia vol1 11ES 14GB 8861MB 8871MB volum vol2 arxiu VOL3 6161MB 6169MB cap VOL4 26GB 25 GB 1028MB 1028MB vol1_clone volum ( en línia) total assignat d'Espai utilitzat Disponibilitat Total 55GB 51 GB 3494MB reserva complement 21MB 611MB 590MB reserva WAFL 6797MB 6792MB 5480KB
Aggr estat aggr1-r
Mostra la informació sobre RAID aggr1 agregada. En el següent exemple, veiem que és un agregat aggr1 RAID-DP protegits per les sumes de comprovació de bloc. És en línia, i tots els discs estan funcionant normalment. El conjunt consta de quatre discos i dos discs de dades, un disc de paritat, i un disc doubleparity. Dos discos es troben en 0B adaptador, i dos en 1b adaptador. La plataforma i els números de la badia de disc per a cada disc s'indiquen. Els quatre discos són de 10, 000 RPM discos Fibre Channel connectat a través del canal de disc A. El disc "Pool" atribut només es mostra si SyncMirror té llicència, que no és el cas aquí (si és SyncMirror tenien llicència, Piscina seria 0 o 1) . La quantitat d'espai en disc que s'utilitza per Data ONTAP ("Used") i està disponible al disc ("Phys") es mostra en les columnes més a la dreta.
Aggr aggr1 (en línia, raid_dp) (sumes de comprovació de bloc) plexe / aggr1/plex0 (en línia, normal i activa) RAID grup / aggr1/plex0/rg0 (normal) de dispositius RAID de discs HA Prestatge BAY CHAN Pool Tipus ª mà RPM (MB / BLKS) Phys (MB / BLKS) --- - ----- - - - - ----- ----- dparity 0b.16 0B 1 0 FC: A - 10000 136000/278528000 FCAL 137104/280790184 paritat 1b.96 1b 6 0 FC: A - 10000 136000/278528000 FCAL 139072/284820800 dades 0b.17 0B gener 1 FC: A - 10000 136000/278528000 FCAL 139072/284820800 dades 1b.97 1b 1 juny FC: A - 10000 136000 / 278528000 FCAL 139072 / 284820800
vol , El soci , SnapMirror , Sysconfig .
Taula de continguts
Llegir més ... (8022 paraules, estimades 32:05 min temps de lectura)
Pàgines de Manual Aggr , home , manual , NetApp , ONTAP