Archivio

Archivio per la categoria 'Pagine di manuale'

NetApp Man Pages

7 luglio 2009

NetApp ha gentilmente dato il permesso di ripubblicare le pagine man qui. Hanno ancora bisogno di un po 'mettere in ordine, ma la mera quantità significa Mi ci vorrà un po' per metterli tutti in ordine e di riferimenti incrociati correttamente, chiedo scusa per gli eventuali problemi visivi per il momento. Ho scritto un rapido strumento di analisi per ottenere tutte le informazioni su qui, quindi ci possono essere alcuni problemi derivanti da tale ancora.

Mi è sempre piaciuto il modo in cui hanno le loro pagine PHP funzione dando agli utenti la possibilità di commentare direttamente su di loro. Questo permette alle persone di lasciare il feedback sulle funzioni e strumenti, e anche follow-up con alcuni usi extra o sintassi per i comandi che non sono necessariamente chiaramente pubblicati. Speriamo che questo possa in NetApp feed back per migliorare la loro documentazione.

I'd definitely come incoraggiare la gente a commentare le pagine man, con tutto ciò che può essere utile, e spero costruire questo in una sezione utile di riferimento poco. Molte grazie ancora per il popolo NetApp per avermi aiutato con questo.

VN: F [1.9.3_1094]
Vota questo post:
Voto: 9.0 / 10 (9 voti)

General , Manual Pages , , , ,

aggr

July 7th, 2009

Indice

NAME

aggr – commands for managing aggregates, displaying aggregate status, and copying aggregates

SYNOPSIS

aggr command argument …

DESCRIPTION

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.

Il nome di un aggregato può contenere lettere, numeri e il carattere di sottolineatura (_), ma il primo carattere deve essere una lettera o underscore. Un totale di fino a 200 aggregati (compresi quelli incorporati in volumi tradizionali) può essere creato su ogni contribuente.

Un plex può essere online o offline. Se rimane offline, non è disponibile per la lettura o scrittura. Plex può essere in combinazioni dei seguenti stati:

Tutti i gruppi RAID normale nel complesso sono funzionali.

fallito almeno uno dei gruppi RAID nel complesso non è riuscito.

Il plex vuoto è parte di un aggregato che si sta creando, e uno o più dei dischi mirata alla necessità di aggregazione per essere azzerato prima di essere aggiunto al complesso.

Il plex attivo è disponibile per l'uso.

inattivo
Il plex non è disponibile per l'uso.

risincronizzazione
Il contenuto del plex sono attualmente obsoleti e sono in procinto di essere sincronizzate con il contenuto del plex altri aggregati (si applica al mirroring aggregati solo).

l'aggiunta di dischi
I dischi vengono aggiunti al gruppo RAID il plex (s).

fuori moda
Questo stato si verifica solo in mirroring aggregati in cui uno dei plex non è riuscito. La non-plex non sarà in questo stato se avesse bisogno di essere sincronizzati nuovamente al momento del plex altri fallito.

Un plex è chiamato con il nome del complesso, un delimitatore carattere slash, e il nome del complesso. Il sistema seleziona automaticamente i nomi di plex in fase di creazione. Ad esempio, il primo creato in plex aggregato aggr0 sarebbe aggr0/plex0.

Un aggregato può essere on-line, ristrette, o non in linea. Quando un aggregato è in linea, non leggere o scrivere l'accesso è consentito. Quando un aggregato è limitato, alcune operazioni sono consentite (come copia di aggregazione, ricalcolo parità o la ricostruzione RAID), ma l'accesso ai dati non è permesso. Aggregati che non fanno parte di un volume tradizionale può essere limitata solo o offlined se non contengono tutti i volumi flessibili.

Possono essere aggregati in combinazioni dei seguenti stati:

aggr L'aggregato è al giorno aggregato moderno, è in grado di contenere zero o più volumi flessibili.

copiatura
L'aggregato complessivo è attualmente il bersaglio di un aggr operazione di copia attiva.

degradati
L'aggregato contiene almeno un gruppo RAID degradato che non viene ricostruito.

straniero
I dischi che l'aggregato contiene sono stati spostati al filer corrente da un altro contribuente.

crescita
I dischi sono in procinto di essere aggiunto alla somma.

inizializzazione
L'aggregato è in procinto di essere inizializzato.

non valido
L'aggregato non contiene volumi e nessuno può essere aggiunto. In genere questo accade solo dopo un aggregato operazione di copia interrotta.

stiratura
Una verifica di coerenza WAFL viene eseguita su tale aggregato.

specchio degradato
L'aggregato è uno specchio di aggregazione, e uno dei suoi plex è in linea o risincronizzazione.

mirroring
L'aggregato si specchia e tutti i suoi gruppi RAID sono funzionali.

esigenze di controllo
Una verifica di coerenza WAFL deve essere eseguita l'aggregato.

parziale
Almeno un disco è stato trovato per l'aggregato, ma due o più dischi sono mancanti.

RAID0 L'aggregato composto da RAID-0 (nessuna parità) gruppi RAID (V-Series e NetCache solo).

raid4 L'aggregato composto da RAID-4 gruppi RAID.

raid_dp
L'aggregato composto da RAID-DP (Double Parity) RAID gruppi.

ricostruire
Almeno un gruppo RAID nel complesso è in fase di ricostruzione.

redirect
Aggregato riassegnazione o riallocazione file con l'opzione-p è stato avviato l'aggregato. Le prestazioni in lettura di volumi in totale possono essere degradate.

risincronizzazione
Uno dei plex di uno specchio di aggregazione viene risincronizzare.

snapmirrored
L'aggregato è una replica snapmirrored di un altro aggregato. Questo stato può sorgere solo se l'aggregato è parte di un volume tradizionale.

trad L'aggregato è fusa con un singolo volume. Questo è indicato anche come un volume tradizionale ed è esattamente equivalente ai volumi che esisteva prima della Data ONTAP 7.0. Volumi flessibili non possono essere creati all'interno di questo aggregato.

verifica
L'operazione di mirror RAID verifica è attualmente in fase di esecuzione l'aggregato.

WAFL incoerente
L'aggregato è stato segnato danneggiato. Contattare il Servizio Assistenza Clienti se vedete un aggregato in questo stato.

USO

I seguenti comandi sono disponibili nella suite aggr:

  aggiungere specchio limitare undestroy macchia copia offline verificare creare show_space online distruggere le opzioni di dividere lo stato media_scrub rinominare 

aggr aggiungere aggrname
[-F]
[-N]
[-G (raidgroup | | nuovo tutti)]
(Ndisks [@ size]
|
-D disk1 [disk2 ... ] [-D diskn [diskn uno ... ]])

Consente di aggiungere dischi al nome aggrname aggregato. Specificare i dischi allo stesso modo come per il comando Crea aggr. Se l'aggregato si riflette, quindi l'argomento-d deve essere utilizzato due volte (se non del tutto).

Se l'opzione-g non viene utilizzato, i dischi sono aggiunti al gruppo creato RAID util più recente è piena, e poi uno o più nuovi gruppi RAID vengono creati e dei dischi rimanenti sono aggiunti i nuovi gruppi. Eventuali altri gruppi RAID esistenti che non sono pieni rimangono parzialmente riempita.

L'opzione-g permette di specificare un gruppo RAID (per esempio, rg0) a cui i dischi indicati deve essere aggiunta, o un metodo con cui vengono aggiunti i dischi RAID gruppi esistenti o nuovi.

Se l'opzione-g viene usato per specificare un gruppo RAID, RAID gruppo che deve già esistere. I dischi sono aggiunti al gruppo RAID util è pieno. Qualsiasi dischi rimanenti vengono ignorati.

Se l'opzione-g è seguita da nuovi, Data ONTAP crea uno o più gruppi RAID e aggiunge i dischi a loro, anche se i dischi si inseriscono in un RAID gruppo esistente. Eventuali gruppi RAID esistenti che non sono pieni rimangono parzialmente riempita. Il nome dei nuovi gruppi RAID vengono selezionati automaticamente. Non è possibile specificare i nomi per i nuovi gruppi RAID.

Se l'opzione-g è seguita da tutti, Data ONTAP aggiunge i dischi di cui agli attuali gruppi RAID prima. Dopo che tutti i gruppi esistenti RAID sono pieni, si crea uno o più gruppi RAID e aggiunge i dischi di cui ai nuovi gruppi.

-N L'opzione può essere utilizzata per visualizzare il comando che il sistema verrà eseguito, senza però apportare modifiche. Questo è utile per visualizzare i dischi selezionati automaticamente, per esempio.

Per impostazione predefinita, il filer riempie di un gruppo RAID con dischi prima di iniziare un altro gruppo RAID. Supponiamo che un aggregato ha attualmente un gruppo RAID di 12 dischi e le sue dimensioni gruppo RAID è di 14. Se si aggiungono 5 dischi di questo aggregato, si avrà un gruppo RAID con 14 dischi e un altro gruppo RAID con 3 dischi. Il filer non distribuire uniformemente tra i gruppi di dischi RAID.

Non è possibile aggiungere dei dischi ad uno specchio di aggregazione, se uno dei plex è offline.

I dischi in plex non sono autorizzati a piscine disco di calibrazione. Questo comportamento può essere modificato con il flag-f, quando utilizzato insieme con l'argomento-d per i dischi elenco da aggiungere. Il flag-f, in combinazione con-d, può anche essere usato per forzare l'aggiunta di dischi che hanno una velocità di rotazione che non corrisponde a quella della maggior parte dei dischi esistenti in forma aggregata.

aggr [abortire-h] copia operation_number | tutti

Termina le operazioni di copia di aggregazione. The opera_ parametro ion_number t specifica quale operazione per terminare. Se si specifica tutti, tutti attivi le operazioni di copia di aggregazione vengono terminati.

aggr avvia copia
[-S |-s snapshot] [-C]
sorgente destinazione

Copia tutti i dati, comprese le foto e volumi flessibili, da un aggregato ad un altro. Se il flag-S è utilizzata, il comando copia tutti gli snapshot nella fonte di aggregazione per l'aggregato di destinazione. Per specificare uno snapshot particolare di copiare, utilizzare il flag-s seguito dal nome dello snapshot. Se si utilizza né la S-né-s bandiera nel comando, il filer crea un'istantanea al momento in cui l'inizio aggr comando di copia viene eseguita e che solo le copie snapshot per l'aggregato di destinazione.

Il C-flag è necessario se fonte aggregare le ha avuto lo spazio libero deframmentazione effettuate su di essa, oppure se l'aggregato di destinazione sarà spazio libero deframmentato. Free-space deframmentazione può essere eseguita su un aggregato utilizzando il comando riassegnare.

copie di aggregazione può essere effettuata solo tra gli aggregati che i volumi di host flessibile. Aggregati che sono incorporati in volumi tradizionali non possono partecipare.

L'origine e la destinazione possono essere aggregati sul filer stesso o filer diversi. Se l'origine o la destinazione di aggregazione si trova su un filer diverso da quello in cui si immette l'inizio aggr comando di copia, specificare il nome di aggregazione nella filer_name: aggre_ ate_name formato g.

Il filer coinvolti in una copia di aggregazione deve soddisfare i seguenti requisiti per l'avvio comando copia aggr essere completato con successo:

La fonte di aggregazione deve essere in linea e l'aggregato di destinazione deve essere limitato.

Se la copia è tra due filer, ogni contribuente deve essere definito come un host attendibile del filer altri. Cioè, filer nome deve essere nel file / etc / hosts.equiv del filer altri.

Se la copia è sul filer stesso, localhost devono essere incluse nel filer file / etc / hosts.equiv. Inoltre, l'indirizzo di loopback deve essere nel filer / etc / hosts. In caso contrario, il filer non può inviare pacchetti a se stesso attraverso l'indirizzo di loopback quando si cerca di copiare i dati.

Lo spazio su disco utilizzabile dell'aggregato destinazione deve essere maggiore o uguale allo spazio su disco utilizzabile dell'aggregato fonte. Utilizzare il comando df-Un percorso per vedere la quantità di spazio su disco utilizzabile di un particolare aggregato.

Ogni inizio aggr comando di copia genera due operazioni di copia di aggregazione: uno per la lettura dei dati dalla sorgente aggregare le e uno per la scrittura dei dati per l'aggregato di destinazione. Ogni filer supporta fino a quattro operazioni simultanee copia di aggregazione.

aggr [status copia operation_number]

Consente di visualizzare l'avanzamento di una o tutte le operazioni di copia aggr. Le operazioni sono numerate da 0 a 3.

Riavviare checkpoint informazioni per tutti i trasferimenti viene visualizzato.

aggr [acceleratore copia operation_number valore]

Controlla le prestazioni dell'operazione di copia aggr. Il valore varia da 10 (velocità massima) a 1 (un decimo della velocità massima). Il valore predefinito è mantenuto in opzione di aggr.copy.throttle filer l'AND è impostato 10 (piena velocità) in fabbrica. È possibile applicare il valore delle prestazioni a un'operazione specificato dal parametro operation_number. Se non si specifica un numero di cooperazione nel gas aggr comando di copia, il comando si applica alle operazioni di copia aggr tutti.

Utilizzare questo comando per limitare la velocità delle operazione di copia aggr se si sospetta che l'operazione di copia aggr sta causando problemi di prestazioni sul contribuente. In particolare, l'acceleratore è stato progettato per aiutare a limitare l'utilizzo della CPU l'operazione di copia aggr. Non può essere utilizzato per mettere a punto modelli di consumo di larghezza di banda di rete.

L'acceleratore a comando aggr copia solo consente di impostare la velocità di un operazione di copia aggr che è in corso. Per impostare la velocità di copia predefinite aggr per essere utilizzati da operazioni di copia futuro, utilizzare il comando opzioni per impostare l'opzione aggr.copy.throttle.

aggr creare aggrname
[-F]
[-M]
[-N]
RaidType t], [
Raidsize-r] [
[-T-tipo] disco
[-R rpm]
[-L [conformità | impresa]]
[-V]
[Lingua-l-code]
(Ndisks [@ size]

|
-D disk1 [disk2 ... ] [-D diskn [diskn uno ... ]])

Crea un nuovo aggregato denominato aggrname. Il nome aggregato può contenere lettere, numeri e il carattere di sottolineatura (_), ma il primo carattere deve essere una lettera o underscore. Fino a 200 aggregati può essere creato su ciascun contribuente. Questo numero include quelli aggregati che sono incorporati all'interno di volumi tradizionali.

Un aggregato incorporato può essere creato come parte di un volume tradizionale utilizzando l'opzione-v. Non può contenere tutti i volumi flessibili.

Un aggregato regolari, creati senza l'opzione-v, può contenere solo i volumi flessibili. Non può essere incorporati in un volume tradizionale, e non contiene volumi immediatamente dopo la creazione. Nuovi volumi flessibile può essere creato utilizzando il comando create vol.

t-Il RaidType argomento specifica il tipo di gruppo RAID (s) da utilizzare per creare l'aggregato. I possibili tipi di gruppo RAID sono raid4 per il RAID-4, raid_dp per RAID-DP (Double Parity), e per raid0 striping semplice, senza la protezione di parità. The RaidType di default per aggregati e volumi tradizionali filer è raid_dp. Impostazione del RaidType Non è consentito a-Series sistemi V; il default di RAID0 è sempre usato.

-R raidsize L'argomento della specifica il numero massimo di dischi in ogni gruppo RAID in forma aggregata. Il massimo ed i valori di default di raidsize sono dipendenti dalla piattaforma, basata su considerazioni di prestazioni e affidabilità. Guarda le opzioni aggr raidsize per maggiori dettagli.

Il T-tipo di argomento disco specifica il tipo di dischi da utilizzare quando si crea un nuovo aggregato. E 'necessaria solo per i sistemi connessi a dischi di tipo diverso. tipo di disco possibili sono: ATA, FCAL, LUN, SAS, SATA e SCSI. La miscelazione dischi di diversi tipi in un aggregato non è permesso.-T non può essere utilizzato insieme a-d.

Disco tipo identifica la tecnologia del disco e del tipo di connettività. ATA identifica con dischi ATA o IDE o interfaccia seriale ATA a ripiani collegati in FCAL (Fibre Channel Arbitrated Loop). FCAL identifica dischi FC a ripiani collegati in FC-AL. LUN identifica dischi virtuali esportati dalla array di storage esterni. La tecnologia di base del disco e tipo di RAID dipende dall'attuazione di tale array di storage esterni. Identifica SAS Serial Attached SCSI in corrispondenza scaffali. SATA identifica disk Serial ATA in scaffali SAS. SCSI è l'acronimo di Small Computer System Interface, ed è incluso per compatibilità a ritroso con le tecnologie del disco precedente.

R-Il rpm argomento specifica il tipo di dischi da utilizzare in base alla loro velocità di rotazione in giri al minuto (rpm). E 'necessaria solo per sistemi con dischi con diverse velocità di rotazione. I valori tipici per la velocità di rotazione sono 5400, 7200, 10000 e 15000.-R non può essere utilizzato insieme a-d.

ndisks è il numero di dischi in totale, compresi i dischi di parità. I dischi in questa nuova aggregazione creato provengono dal pool di dischi di ricambio. The dischi più piccoli in questo pool di aderire al primo aggregato, se non si specifica l'argomento @ dimensioni. Dimensione è la dimensione del disco in GB e dischi che sono entro il 10% della dimensione specificata saranno selezionati per l'utilizzo in forma aggregata.

L'opzione-m può essere utilizzato per specificare che il nuovo aggregato il mirroring (due plex) al momento della creazione. Se questa opzione è dato, quindi i dischi indicati saranno suddivisi tra le due plex. Per impostazione predefinita, il nuovo aggregato non sarà mirroring.

-N L'opzione può essere utilizzata per visualizzare il comando che il sistema verrà eseguito, senza però apportare modifiche. Questo è utile per visualizzare i dischi selezionati automaticamente, per esempio.

Se si utilizza l'opzione-d disk1 [disk2 ... argomento], il filer crea l'aggregato con i dischi di ricambio specificato disk1, disk2 e così via. È possibile specificare un elenco separato da spazi di nomi di disco. Due liste separate deve essere specificato se il nuovo aggregato si specchia. Nel caso che il nuovo aggregato è mirroring, i dischi indicati devono tradursi in un pari numero di dischi su ogni nuovo complesso.

I dischi in plex non sono autorizzati a span pool di ricambio. Questo comportamento può essere modificato con l'opzione-f. La stessa opzione può anche essere usato per forzare l'utilizzo di dischi che non hanno corrispondenti velocità di rotazione. L'opzione-f ha effetto solo se utilizzata con l'opzione-d specifica dischi da utilizzare.

Per creare un aggregato SnapLock, specificare il flag-L con il comando Crea aggr. Questo flag è supportato solo se uno o SnapLock Compliance SnapLock Enterprise viene concesso in licenza. Il tipo di aggregato SnapLock creato, sia conformità o Enterprise, è determinato dalla licenza installata SnapLock. Se entrambi SnapLock Compliance e SnapLock Enterprise sono concessi in licenza, L conformità o--L impresa utilizzare per specificare il tipo di aggregazione desiderato.

-L language_code L'argomento può essere utilizzato solo quando si crea un volume tradizionale utilizzando l'opzione-v. Il filer crea il volume tradizionale con la lingua specificata dal codice della lingua. Il valore predefinito è il linguaggio utilizzato dal volume principale del filer. Vedere il vol pagina man per una lista di codici di lingua.

aggr distruggere (aggrname | plexname) [-f]

Distrugge il nome aggrname aggregato, o il plex nome plexname. Si noti che se l'aggregato di cui è legato a un volume tradizionale, quindi il volume tradizionale si è distrutto pure.

Se un aggregato è specificato, tutti i plex in totale sono distrutti. L'aggregato di nome non deve inoltre contenere tutti i volumi flessibili, indipendentemente dal loro stato di montaggio (on-line, ristrette, o offline). Se un complesso è specificato, il complesso viene distrutto, lasciando un unmirrored volume totale o tradizionali contenenti il plex rimanenti. Prima di distruggere l'aggregato, il volume tradizionale o plex, all'utente viene richiesto di confermare l'operazione. Il flag-f può essere usato per distruggere un aggregato, volume tradizionale o plex senza chiedere conferma all'utente.

I dischi originariamente nel distrutto oggetto diventano dischi di ricambio. Solo aggregati in linea, volumi tradizionali e plex possono essere distrutti.

aggr media_scrub stato [aggrname | plexname | nomegruppo]
[-V]

Stampa il lavaggio dei mezzi stato l'aggregato di nome, plex, o un gruppo. Se nessun nome è dato, poi è stato stampato per tutti i gruppi RAID attualmente in esecuzione uno scrub media. Lo stato comprende una completa per cento e se è sospesa.

Il flag-v visualizza la data e l'ora in cui l'ultimo media macchia completa compiuti, la data e l'ora in cui l'istanza corrente dei mezzi di lavaggio iniziato, e lo stato attuale del aggregato di nome, plex, o un gruppo. Se nessun nome è dato, questo stato prolisso più viene stampato per tutti i gruppi attivi con RAID scrubs media.

aggr specchio aggrname
[-F]
[-N]
[-V victim_aggrname]
[-D disk1 [disk2 ... ]]

Accende un unmirrored aggregato in uno specchio di aggregazione con l'aggiunta di un plex ad esso. Il plex è o neo-costituita da dischi scelti da un pool di ricambio, o, se l'opzione-v viene specificato, è preso da un altro esistente unmirrored di aggregazione. aggrname di aggregazione deve essere attualmente unmirrored. Usa aggr creare per fare un nuovo specchio di aggregazione da zero.

I dischi possono essere specificati in modo esplicito usando-d nello stesso modo come con il aggr creare e aggr aggiungere comandi. Il numero di dischi indicato deve corrispondere al numero di specie l'aggregato esistenti. I dischi di cui non sono autorizzati a piscine disco di calibrazione. Questo comportamento può essere modificato con l'opzione-f. L'opzione-f, in combinazione con-d, può anche essere usato per forzare l'utilizzo di dischi che hanno una velocità di rotazione che non corrisponde a quella della maggior parte dei dischi esistenti in forma aggregata.

Se i dischi non sono specificate in modo esplicito, quindi i dischi vengono automaticamente selezionati per adeguarli a quelli esistenti nel complesso l'aggregato ha.

-V L'opzione può essere usata per unire victim_aggrname indietro nel aggrname a formare uno specchio di aggregazione. Il risultato è uno specchio di nome aggrname aggregato che è identico a aggrname prima dell'operazione. Victim_aggrname è effettivamente distrutto. Victim_aggrname deve essere stata precedentemente mirroring con aggrname, poi separati attraverso il comando split aggr. Victim_aggrname deve essere non in linea. In combinazione con l'opzione-v, l'opzione-f può essere usato per unire aggrname e vic_ im_aggrname t senza chiedere conferma all'utente.

-N L'opzione può essere utilizzata per visualizzare il comando che il sistema verrà eseguito senza però apportare modifiche. Questo è utile per visualizzare i dischi selezionati automaticamente, per esempio.

aggr offline (aggrname | plexname)
[-T] cifsdelaytime

Prende il nome aggrname aggregata (o il plex nome plexname) non in linea. Il comando ha effetto prima di tornare. Se il totale è già in stato limitato, quindi è già disponibile per l'accesso ai dati, e gran parte della descrizione che segue non si applica.

Se l'aggregato contiene tutti i volumi flessibili, allora l'operazione viene interrotta a meno che il contribuente è in modalità di manutenzione.

Tranne che in modalità di manutenzione, l'aggregato che contiene l'attuale volume di root non può essere preso offline. Un aggregato che contiene un volume che è stato segnato per diventare root (usando le opzioni vol vol_ radice ame n), inoltre non possono essere prese in linea.

Se l'aggregato è incorporato in un volume tradizionale che ha CIFS, gli utenti devono essere avvisati prima di prendere il totale (e quindi l'intero volume tradizionale) in linea. Utilizzare il parametro-t per questo. L'argomento cifsdelaytime specifica il numero di minuti di ritardo prima di prendere la linea embedded di aggregazione, durante il quale gli utenti CIFS tempo del volume tradizionali sono avvertiti della perdita attesa del servizio. Un tempo di 0 significa prendere la linea aggregato immediatamente senza avvertimenti. CIFS gli utenti possono perdere dati se non sono data la possibilità di chiudere le applicazioni con garbo.

Se un plexname è specificato, il plex deve essere parte di uno specchio di aggregazione e di entrambi i plex deve essere in linea. Prima di offlining un plex, il sistema lavare tutti i dati internamente-buffered associato al plesso e creare uno snapshot che viene scritta su entrambi i plex. L'istantanea consente di risincronizzazione efficiente quando il complesso viene successivamente portato di nuovo online.

Un certo numero di operazioni eseguite su di aggregare il tradizionale volume può impedire aggr offline da successo, per varie lunghezze di tempo. Se tali operazioni sono trovati, ci sarà un attesa di un secondo per tali operazioni alla fine. Se così non fosse, il comando è interrotta.

Un controllo è fatto anche per i file in totale associato volume tradizionale aperto da processi interni ONTAP. Il comando è interrotta se ne trova.

aggr online (aggrname | plexname)
[-F]

Porta il nome aggrname aggregato (o il plex nome plexname) online. Questo comando ha effetto immediato. Se l'aggregato di cui è incorporato in un volume tradizionale, il volume è anche portato anche on-line.

Se un aggrname è specificato, deve essere al momento offline, ristrette, o straniero. Se l'aggregato è straniero, si sarà reso nativo prima di essere portato in linea. A "aggregato" stranieri è un aggregato che comprende dischi spostati da un altro contribuente e che non è mai stato portato in linea sul filer corrente. Aggregati che non sono considerati stranieri sono "nativi".

Se l'aggregato è incoerente, ma non ha perso i dati, l'utente verrà ammonito e richiesto prima di portare on-line di aggregazione. Il flag-f può essere usato per sovrascrivere questo comportamento. Si consiglia di eseguire WAFL_check (o fare un SnapMirror inizializzare in caso di un aggregato incorporato in un volume tradizionale) prima di intentare un aggregato online incoerente. Proporre un aumento complessivo incoerente online il rischio di corruzione ulteriore sistema di file. Se l'aggregato è incoerente e ha sperimentato la possibile perdita di dati, non può essere portato in linea se non WAFL_check (o SnapMirror inizializzare nel caso embedded) è stato eseguito l'aggregato.

Se un plexname è specificato, il plex deve essere parte di uno specchio di aggregazione online. Il sistema avvierà la risincronizzazione del plex come parte del trattamento online.

opzioni aggr aggrname [optname] optval

Consente di visualizzare le opzioni che sono stati fissati per aggrname aggregato, o imposta l'opzione denominata optname del nome aggrname aggregato al optval valore. Il comando rimane efficace dopo che il contribuente è riavviato, quindi non c'è bisogno di aggiungere opzioni aggr comandi al file / etc / rc. Alcune opzioni sono valori che sono numeri. Alcune opzioni sono valori che possono essere acceso (che può anche essere espressa come sì, è vero, o 1) o meno (che può anche essere espresso come no, false, o 0). Una miscela di caratteri maiuscoli e minuscoli può essere utilizzato quando digitando il valore di un'opzione. Il comando status aggr vengono visualizzate le opzioni che sono impostate per aggregazione.

Di seguito vengono descritte le opzioni e le loro possibili valori:

fs_size_fixed on | off

Questa opzione è valida solo per gli aggregati che sono incorporati in volumi tradizionali. Essa fa sì che il file system di rimanere le stesse dimensioni e non crescere o ridursi quando un rapporto volume SnapMirrored è rotto, o un aggr aggiungere è eseguito su di esso. Questa opzione viene automaticamente impostato per essere quando un volume tradizionale diventa un volume SnapMirrored. Essa rimarrà dopo il comando break SnapMirror è rilasciato per il volume tradizionale. Questo consente un volume tradizionale di essere SnapMirrored alla sorgente senza bisogno di aggiungere dischi al volume di origine tradizionale. Se la dimensione del volume tradizionale è più grande della dimensione del file system, la disattivazione di questa opzione forzerà il file system di crescere delle dimensioni del volume tradizionale. L'impostazione di default è disattivata.

ignore_inconsistent on | off

Questo comando può essere utilizzato solo in modalità di manutenzione. If this option is set, it allows the aggregate containing the root volume to be brought online on booting, even though it is inconsistent. The user is cautioned that bringing it online prior to running WAFL_check or wafliron may result in further file system inconsistency.

nosnap on | off

If this option is on , it disables automatic snapshots on the aggregate. The default setting is off .

raidsize number

The value of this option is the maximum size of a RAID group that can be created in the aggregate. Changing the value of this option will not cause existing RAID groups to grow or shrink; it will only affect whether more disks will be added to the last existing RAID group and how large new RAID groups will be.

Legal values for this option depend on raidtype . For example, raid_dp allows larger RAID groups than raid4 . Limits and default values are also different for different types of filer appliances and different types of disks. Following tables define limits and default values for raidsize .

  ——————————————    raid4 raidsize       min   default   max   ——————————————    R100                  2        8       8    R150                  2        6       6    FAS250                2        7      14    other (FCAL disks)    2        8      14    other (ATA disks)     2        7       7   ——————————————     ——————————————    raid_dp raidsize     min   default   max   ——————————————    R100                  3       12      12    R150                  3       12      16    other (FCAL disks)    3       16      28    other (ATA disks)     3       14      16   —————————————— 

Those values may change in future releases of Data ONTAP.

raidtype raid4 | raid_dp | raid0

Sets the type of RAID used to protect against disk failures. Use of raid4 provides one parity disk per RAID group, while raid_dp provides two. Changing this option immediately changes the RAID type of all RAID groups within the aggregate. When upgrading RAID groups from raid4 to raid_dp , each RAID group begins a reconstruction onto a spare disk allocated for the second `dparity' parity disk.

Cambiare questa opzione cambia anche raidsize adatto ad un valore in più per RaidType nuovo. Quando si aggiorna da raid4 a raid_dp, raidsize sarà aumentato al valore di default per raid_dp. Quando il downgrade da raid_dp a raid4, raidsize sarà ridotto alle dimensioni del più grande gruppo RAID esistente se è compreso tra il valore di default e il limite per raid4. Se il RAID è più grande gruppo al di sopra del limite per raid4, il nuovo raidsize sarà tale limite. Se il RAID gruppo più grande è inferiore al valore di default per raid4, il nuovo raidsize sarà che il valore di default. Se raidsize è già inferiore al valore di default per raid4, sarà ridotto di 1.

numero resyncsnaptime

Questa opzione viene usata per impostare la frequenza di risincronizzazione specchio snapshot (in minuti). Il valore predefinito è 60 minuti.

radice

If this option is set on a traditional volume, then the effect is identical as that defined in vol man page. Otherwise, if this option is set on an aggregate capable of containing flexible volumes, then that aggregate is marked as being the one that will also contains the root flexible volume on the next reboot. This option can be used on only one aggregate or traditional volume at any given time. The existing root aggregate or traditional volume will become a non-root entity after the reboot.

Until the system is rebooted, the original aggregate and/or traditional volume will continue to show root as one of its options, and the new root aggregate or traditional volume will show diskroot as an option. In general, the aggregate that has the diskroot option is the one that will contain the root flexible volume following the next reboot.

The only way to remove the root status of an aggregate or traditional volume is to set the root option on another aggregate or traditional volume.

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 ]

Inizia lavaggio di parità l'aggregato in linea di nome. lavaggio di parità a confronto i dischi di dati al disco di parità (s) nel loro gruppo RAID, correggere il contenuto del disco di parità come necessario. Se nessun nome è dato, lavaggio di parità viene avviato su tutti gli aggregati online. Se un nome globale è dato, è iniziato il lavaggio di tutti i gruppi RAID contenute in forma aggregata. Se un nome plex è dato, è iniziato il lavaggio di tutti i gruppi RAID contenute nel plex.

scrub aggr di stato [aggrname | plexname | nomegruppo] [-v],

Stampe lo status di lavaggio di parità l'aggregato di nome, plex, o un gruppo, tutti i gruppi RAID attualmente in fase di lavaggio di parità se non il nome è dato. Lo stato comprende una completa per cento, e stato sospeso la macchia è.

-V visualizza bandiera della data e dell'ora in cui la piena macchia scorso, insieme con lo stato attuale l'aggregato di nome, plex, o un gruppo, tutti i gruppi RAID se non il nome è dato.

scrub aggr stop [aggrname | plexname | nomegruppo]

Interrompe lavaggio di parità l'aggregato di nome, plex, o un gruppo, se non il nome è dato, a tutti i gruppi RAID attualmente attraversando un lavaggio di parità.

scrub aggr sospendere [aggrname | plexname | nomegruppo]

Sospende lavaggio di parità l'aggregato di nome, plex, o un gruppo, se non il nome è dato, a tutti i gruppi RAID attualmente in fase di lavaggio di parità.

aggr show_space [-h |-k |-m |-g |-t |-b] <aggrname>

Consente di visualizzare l'utilizzo dello spazio in un aggregato. A differenza di df, questo comando mostra l'utilizzo dello spazio per ogni volume flessibile all'interno di un aggregato Se aggrname è specificato, show_space aggr gira solo sulla somma totale corrispondente, altrimenti report di utilizzo dello spazio su tutti gli aggregati.

Tutte le dimensioni sono riportate in blocchi da 1024 byte, se non diversamente richiesto da una delle-h,-k,-m,-g o-t opzioni. -K,-m,-g, e-t scala opzioni di ogni campo connessi alla dimensione della produzione per essere espressa in kilobyte, megabyte, gigabyte o terabyte rispettivamente.

La terminologia che segue è utilizzato dal comando nella segnalazione spazio.

       Spazio totale Questa è la quantità di spazio su disco totale che l'aggregato ha.  WAFL riserva WAFL riserva una percentuale dello spazio totale su disco totale per i metadati livello aggregato.  Lo spazio utilizzato per il mantenimento dei volumi in totale proviene dalla riserva WAFL.  Riserva Snap Snap riserva è la quantità di spazio riservato per gli snapshot di aggregazione.  lo spazio utile Questa è la quantità totale di spazio che è disponibile per l'aggregato per il provisioning.  Questo è calcolato come spazio utilizzabile = spazio totale - riserva WAFL - Snap visualizza df riserva questo come il 'totale' di spazio.  BSR NVLOG Questo è valido per sincroni destinazioni SnapMirror solo.  Questa è la quantità di spazio utilizzato in forma aggregata sul filer destinazione per memorizzare i dati inviati dal filer fonte (s) prima di inviarlo al disco.  Assegnato Questa è la somma dello spazio riservato per il volume e lo spazio utilizzato da dati non riservati.  Per il volume volumi garantiti, questa è almeno la dimensione del volume in quanto non ci sono dati senza riserve.  Per volumi con la garanzia di spazio di nessuno, questo valore viene lo stesso spazio 'Usato (spiegato di seguito) in quanto non è riservato lo spazio non utilizzato. 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.

If the plex of an aggregate embedded within a traditional volume is offline at the time of the split, the resulting aggregate will be offline. When splitting a plex from an aggregate that hosts flexible volumes, if that plex is offline, but the aggregate is online, the resulting aggregate will come online, and its flexible volumes will be renamed. It is not allowed to split a plex from an offline aggregate.

A split mirror can be joined back together via the -v option to aggr mirror .

aggr status [ aggrname ]
[ -r | -v | -d | -c | -b | -s | -f | -i ]

Displays the status of one or all aggregates on the filer. If aggrname is used, the status of the specified aggregate is printed; otherwise the status of all aggregates in the filer are printed. By default, it prints a one-line synopsis of the aggregate which includes the aggregate name, whether it contains a single traditional volume or some number of flexible volumes , if it is online or offline, other states (for example, partial , degraded , wafl inconsistent , and so on) and peraggregate options. Per-aggregate options are displayed only if the options have been changed from the system default values by using the aggr options command, or by the vol options command if the aggregate is embedded in a traditional volume. If the wafl inconsistent state is displayed, please contact Customer Support.

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 ]

RAID smette di verifica specchio l'aggregato di nome, se non il nome globale è dato, su tutti gli aggregati attualmente oggetto di una verifica mirror RAID.

aggr verificare lo stato [aggrname]

Consente di stampare lo stato di verifica mirror RAID l'aggregato di nome, su tutti gli aggregati attualmente in fase di verifica mirror RAID se non il nome globale è indicato. Lo stato comprende una completa per cento, e stato sospeso la verifica di.

aggr verificare sospendere] aggrname [

Sospende RAID verifica specchio l'aggregato di nome, se non il nome globale è dato, su tutti gli aggregati attualmente in fase di verifica mirror RAID.

CLUSTER CONSIDERAZIONI

Aggregati su filer diverse in un cluster può avere lo stesso nome. Ad esempio, entrambi i filer in un cluster può avere un aggregato di nome aggr0.

Tuttavia, avendo nomi univoci di aggregazione in un cluster rende più facile la migrazione aggregati tra i filer nel cluster.

ESEMPI

aggr creare aggr1-r 10 20

Crea un aggregato di nome aggr1 con 20 dischi. I gruppi RAID in questo aggregato può contenere fino a 10 dischi, per cui questo nuovo aggregato ha due gruppi RAID. Il filer aggiunge i dischi attuali di ricambio per il nuovo aggregato, a cominciare dal disco più piccolo.

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.

  Aggregate 'ag1′    Total space    WAFL reserve    Snap reserve    Usable space       BSR NVLOG          66GB          6797MB           611MB            59GB            65KB    Space allocated to volumes in the aggregate    Volume            Allocated            Used       Guarantee   vol1                   14GB            11GB          volume   vol2                 8861MB          8871MB            file   vol3                 6161MB          6169MB            none   vol4                   26GB            25GB          volume   vol1_clone           1028MB          1028MB       (offline)    Aggregate         Allocated            Used           Avail   Total space            55GB            51GB          3494MB   Snap reserve          611MB            21MB           590MB   WAFL reserve         6797MB          5480KB          6792MB 

aggr status aggr1 -r

Displays the RAID information about aggregate aggr1 . In the following example, we see that aggr1 is a RAID-DP aggregate protected by block checksums. It is online, and all disks are operating normally. The aggregate contains four disks -two data disks, one parity disk, and one doubleparity disk. Two disks are located on adapter 0b, and two on adapter 1b. The disk shelf and bay numbers for each disk are indicated. All four disks are 10, 000 RPM FibreChannel disks attached via disk channel A. The disk "Pool" attribute is displayed only if SyncMirror is licensed, which is not the case here (if SyncMirror were licensed, Pool would be either 0 or 1). The amount of disk space that is used by Data ONTAP (“Used”) and is available on the disk (“Phys”) is displayed in the rightmost columns.

  Aggr aggr1 (online,  raid_dp) (block checksums)     Plex /aggr1/plex0 (online,  normal,  active)       RAID group /aggr1/plex0/rg0 (normal)          RAID Disk Device  HA  SHELF BAY CHAN Pool Type  RPM  Used (MB/blks)    Phys (MB/blks)         ——— ——  ————- —- —- —- —– ————–    ————–         dparity   0b.16   0b    1   0   FC:A   –  FCAL 10000 136000/278528000  137104/280790184         parity    1b.96   1b    6   0   FC:A   –  FCAL 10000 136000/278528000  139072/284820800         data      0b.17   0b    1   1   FC:A   –  FCAL 10000 136000/278528000  139072/284820800         data      1b.97   1b    6   1   FC:A   –  FCAL 10000 136000/278528000  139072/284820800 

SEE ALSO

vol , partner , snapmirror , sysconfig .


Table of Contents






















































Manual Pages , , , ,

cf

July 7th, 2009

Indice

NAME

cf – controls the takeover and giveback operations of the filers in a cluster

SINOSSI

cf [ disable | enable | forcegiveback | forcetakeover [ -df ] | giveback [ -f ] | hw_assist [ status | test stats [ clear ] ] | monitor | partner | status [ -t ] takeover [ -f ] | [ -n ]]

cf nfo [ enable | disable ] disk_shelf

cf nfo status

DESCRIPTION

The cf command controls the cluster failover monitor, which determine when takeover and giveback operations take place within a cluster.

The cf command is available only if your filer has the cluster license.

OPTIONS

disable
Disables the takeover capability of both filers in the cluster.

enable
Enables the takeover capability of both filers in the cluster.

forcegiveback
forcegiveback is dangerous and can lead to data corruption; in almost all cases, use cf giveback -f instead.

Forces the live filer to give back the resources of the failed filer even though the live filer determines that doing so might result in data corruption or cause other severe problems. giveback will refuse to giveback under these conditions. Using the forcegiveback option forces a giveback. When the failed filer reboots as a result of a forced giveback, it displays the following message:

partner giveback incomplete, some data may be lost

forcetakeover [-f] forcetakeover is dangerous and can lead to data corruption; in almost all cases, use cf takeover instead.

Forces one filer to take over its partner even though the filer detects an error that would otherwise prevent a takeover. For example, normally, if a detached or faulty ServerNet cable between the filers causes the filers' NVRAM contents to be unsynchronized, takeover is disabled. However, if you enter the cf forcetakeover command, the filer takes over its partner despite the unsynchronized NVRAM contents. This command might cause the filer being taken over to lose client data. If you use the -f option, the cf command allows such a forcetakeover to proceed without requiring confirmation by the operator.

forcetakeover -d[f] Forces a filer to take over its partner in all cases where a forcetakeover would fail. In addition it will force a takeover even if some partner mailbox disks are inaccessible. It can only be used when cluster_remote is licensed.

forcetakeover -d is very dangerous. Not only can it cause data corruption, if not used carefully, it can also lead to a situation where both the filer and it's partner are operational (split brain). As such, it should only be used as a means of last resort when the takeover and forcetakeover commands are unsuccessful in achieving a takeover. The operator must ensure that the partner filer does not become operational at any time while a filer is in a takeover mode initiated by the use of this command. In conjunction with RAID mirroring, it can allow recovery from a disaster when the two filers in the cluster are located at two distant sites. The use of -f option allows this command to proceed without requiring confirmation by the operator.

giveback [ -f ]
Initiates a giveback of partner resources. Once the giveback is complete, the automatic takeover capability is disabled until the partner is rebooted. A giveback fails if outstanding CIFS sessions, active system dump processes, or other filer operations makes a giveback dangerous or disruptive. If you use the -f option, the cf command allows such a giveback to proceed as long as it would not result in data corruption or filer error.

hw_assist [ status | test | stats [ clear ] ] Displays information related to the hardware-assisted takeover functionality. Use the cf hw_assist status command to display the hardware-assisted functionality status of the local as well as the partner filer. If hardware-assisted status is inactive, the command displays the reason and if possible, a corrective action. Use the cf hw_assist test command to validate the hardware-assisted takeover configuration. An error message is printed if hardware-assisted takeover configuration can not be validated. Use the cf hw_assist stats command to display the statistics for all hw_assist alerts received by the filer. Use cf hw_assist stats clear to clear hardware-assisted functionality statistics.

monitor
Displays the time, the state of the local filer and the time spent in this state, the host name of the partner and the state of cluster failover monitor (whether enabled or disabled). If the partner has not been taken over currently, the status of the partner and that of the interconnect are displayed and any ongoing giveback or scheduled takeover operations are reported.

partner
Displays the host name of the partner. If the name is unknown, the cf command displays “ partner .”

status
Displays the current status of the local filer and the cluster. If you use the -t option, displays the status of the node as time master or slave.

takeover [ -f ] | [ -n ]
Initiates a takeover of the partner. If you use the -f option, the cf command allows such a takeover to proceed even if it will abort a coredump on the other filer.

If you use the -n option, the cf command allows a takeover to proceed even if the partner node was running an incompatible version of Data ONTAP. The partner node must be cleanly halted in order for this option to succeed. This is used as part of a nondisruptive upgrade process.

nfo [ enable | disable ] disk_shelf
Enables or disables negotiated failover on disk shelf count mismatch.

This command is obsolete. Option cf.takeover.on_disk_shelf_miscompare replaces it.

Negotiated failover is a general facility which supports negotiated failover on the basis of decisions made by various modules. disk_shelf is the only negotiated failover module currently implemented. When communication is first established over the interconnect between the local filer and its partner, a list of disk shelves seen by each node on its A and B loops is exchanged. If a filer sees that the count of shelves that the partner sees on its B loops is greater than the filer's count of shelves on its A loops, the filer concludes that it is “impaired” (as it sees fewer of its shelves than its partner does) and asks the partner to take it over. If the partner is not itself impaired, it will accept the takeover request and, in turn, ask the requesting filer to shut down gracefully. The partner takes over after the requesting node shuts down, or after a time-out period of approximately 3 minutes expires. The comparison of disk shelves is only done when communication between the filers is established or re-established (for example, after a node reboots).

nfo status
Displays the current negotiated failover status.

This command is obsolete. Use cf status instead.

SEE ALSO

partner


Table of Contents



Manual Pages , , , ,

bootfs

July 7th, 2009

Indice

NOME

bootfs – boot file system accessor command (ADVANCED)

SYNOPSIS

bootfs chkdsk disk

bootfs core [ -v ] disk

bootfs dir [ -r ] path

bootfs dump { disk | drive } { sector | cluster }

bootfs fdisk disk partition1sizeMB [ partition2sizeMB ] [ partition3sizeMB ] [ partition4sizeMB ]

bootfs format drive [ label ]

bootfs info disk

bootfs sync [ -f ] { disk | drive }

bootfs test [ -v ] disk

DESCRIPTION

The bootfs command allows content viewing and format manipulation of the the boot device.

Using the bootfs command, you may perform four important functions. You may check the integrity of the boot device via the chkdsk subcommand. You may view the contents of your boot device via the dir , dump , and info subcommands. You may alter the partition sizes and format types present on the boot device via the fdisk subcommand. You may reformat the partitions present on the boot device via the format command. You may sync all in memory contents to the physical media via the sync subcommand. Lastly, you may diagnose the health of your boot device via the test subcommand.

OPTIONS

-v
Turns on verbose output.

-r
Recursively lists directories and files.

path
A path consists of a drive, optional directories, and an optional file name. Directories are separated by a /. To discover your boot drive's name, use " bootfs help subcommand ".

disk
A disk is a physical object, probably a compact flash in this case. A disk name is generally of the form [PCI slot number]a.0, eg 0a.0. To discover your boot disk's name, use " bootfs help subcommand ".

drive
A drive is a formatted partition on the disk. A disk may contain up to four drives. A drive name is generally of the form [PCI slot number]a.0:[partition
number]:,
eg 0a.0:1:. To discover your boot drive's name, use " bootfs help sub_ c ommand ".

sector
Disks are divided into sectors. Sectors are based at 0.

cluster
Drives are divided into clusters. Clusters are based at 2, though the root directory can be thought to reside at cluster 0.

partitionNsizeMB
The size of partition N in megabytes. There can be at most four partitions per disk.

label
An 11-character or less string which names the drive.

CLUSTER CONSIDERATIONS

The bootfs command cannot be used on a clustered system's partner.

EXAMPLES

The dir subcommand lists all files and subdirectories contained in the path provided. The information presented for each file and subdirectory is (in this column order) name, size, date, time, and cluster.

bootfs dir 0a.0:1:/x86/kernel/

    Volume Label in Drive 0a.0:1: is KERNEL     Volume Serial Number is 716C-E9F8     Directory of 0a.0:1:/x86/kernel/     . DIR  02-07-2003   2:37a     2    .. DIR  02-07-2003   2:37a     3    PRIMARY.KRN                        9318400  04-07-2003   6:53p     4                     2187264 bytes free 

The dump subcommand lists either a sector on a disk or a cluster on a drive, depending on the command line arguments provided. The sector or cluster is listed in both hexadecimal and ASCII form.

bootfs dump 0a.0 110

  sector 110 absolute byte 0xdc00 on disk 0a.0          00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f   0123456789abcdef   —-++————————————————++—————-   0000  00 90 ba 5e b4 01 00 80 7b 0c 00 7d 05 ba 51 b4   …^….{..}..Q. 0010  01 00 83 7b 04 00 74 0a 8b 47 24 a3 dc ce 01 00   …{..t..G$….. 0020  eb 0a c7 05 dc ce 01 00 00 00 e0 fe 83 c4 fc ff   ……………. 0030  35 dc ce 01 00 52 68 80 b4 01 00 e8 26 b0 ff ff   5….Rh…..&…   0040  a1 dc ce 01 00 8b 90 f0 00 00 00 80 ce 01 89 90   ……………. [etc.]     bootfs dump 0a.0:1: 5    cluster 5 absolute byte 0×25a00 on drive 0a.0:1:          00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f   0123456789abcdef   —-++————————————————++—————-   0000  0a 19 12 00 19 0f 00 01 00 64 00 00 00 00 00 00   ………d……   0010  a1 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ……………. 0020  00 00 00 00 5a 44 5a 44 00 10 00 00 00 00 01 b0   ….ZDZD…….. 0030  20 04 00 10 20 05 00 01 20 06 00 02 20 07 00 13    … … … …   0040  fc ef 00 00 fc b1 20 80 fc d0 20 80 4a 63 c0 55   …… … .Jc.U   [etc.] 

The fdisk subcommand creates drives within a disk. A maximum of four drives may be created per disk. The sum of the drives must be less than the size of the disk. Note that most disk manufacturers define a megabyte as 1000*1000 bytes, resulting in a disk being smaller than the size advertised (for example, a 32 MB disk is really 30.5 MB). Performing an fdisk destroys all data on the disk.

bootfs fdisk 0a.0 30

The format subcommand formats a drive to the FAT file system standard. A drive must be formatted before it can store files.

bootfs format 0a.0:1: NETAPP

The info subcommand prints information about a disk. The location of various elements and sizes of sections is displayed.

bootfs info 0a.0

  ——————————————————————–             partition:           1           2           3           4   ——————————————————————–           file system:        0×01        0×01        0×01        0×01     bytes per cluster:        4096        4096        4096        4096    number of clusters:        2809        2809        2042         251           total bytes:    11534336    11534336     8388608     1048576          usable bytes:    11501568    11501568     8359936     1024000            free bytes:    11505664    11505664     8364032     1028096          FAT location:         512         512         512         512         root location:        9728        9728        6656        1536         data location:       26112       26112       23040       17920 

The test subcommand read and writes to/from every byte on the disk. The test subcommand can be used if you suspect your disk is faulty. A faulty disk would, for example, result in a download command failure.

bootfs test -v 0a.0

  [.................................]    disk 0a.0 passed I/O test 

SEE ALSO

download


Table of Contents

Manual Pages , , , ,

boot

July 7th, 2009

Indice

NAME

boot – directory of Data ONTAP executables

SYNOPSIS

/etc/boot

DESCRIPTION

The boot directory contains copies of the executable files required to boot the filer. The download command (see download ) copies these files from /etc/boot into the filer's boot block, from which the system boots.

FILES

/etc/boot
directory of Data ONTAP executables. Files are place in /etc/boot after the tar or setup.exe has decompressed them. These files vary from release to release.

SEE ALSO

download


Table of Contents

Copyright © 1994-2008 NetApp, Inc. Legal Information

VN: F [1.9.3_1094]
Rate this post:
Rating: 0.0 / 10 (0 voti)

Manual Pages , , , ,

BMC

July 7th, 2009

Indice

NAME

bmc – commmands for use with a Baseboard Management Controller (BMC)

SYNOPSIS

bmc help

bmc reboot

bmc setup

bmc status

bmc test autosupport

DESCRIPTION

The bmc command is used to manage and test a Baseboard Management Controller (BMC), if one is present.

OPTIONS

help
Display a list of Baseboard Management Controller (BMC) commands.

reboot
The reboot command forces the BMC to reboot itself and perform a self-test. If your console connection is through the BMC it will be dropped.

setup
Interactively configure the BMC local-area network (LAN) setttings.

status
Display the current status of the BMC.

test autosupport
Test the BMC autosupport by commanding the BMC to send a test autosupport to all autosupport email addresses in the option lists autosupport.to , autosupport.noteto , and autosupport.support.to .

CLUSTER CONSIDERATIONS

This command only acts upon the Baseboard Management Controller (BMC) that is local to the system.

EXAMPLES

bmc status

might produce:

              Baseboard Management Controller:                  Firmware Version:   1.0                  IPMI version:       2.0                  DHCP:               on                  BMC MAC address:    00:a0:98:05:2b:4a                  IP address:         10.98.144.170                  IP mask:            255.255.255.0                  Gateway IP address: 10.98.144.1                  BMC ARP interval:   10 seconds                  BMC has  user:   naroot                  ASUP enabled:       on                  ASUP mailhost:      mailhost@netapp.com                  ASUP from:          postmaster@netapp.com                  ASUP recipients:    dl-qa-autosupport@netapp.com 

SEE ALSO

setup , options

NOTES

Some of these commands might pause before completing while the Baseboard Management Controller (BMC) is queried. This is normal behavior.


Table of Contents

Copyright © 1994-2008 NetApp, Inc. Legal Information

VN: F [1.9.3_1094]
Rate this post:
Rating: 0.0 / 10 (0 voti)

Manual Pages , , , ,

backuplog

July 7th, 2009

Indice

NAME

backuplog – captures significant events during file system backup/recovery activities.

SYNOPSIS

/etc/log/backup

DESCRIPTION

Filer captures significant dump/restore-related events and the respective times at which they occur. All events are recorded in one-line messages in /etc/log/backup.

The following are the events filer monitors:

Start
Dump/restore starts.

Restart
Restart of a dump/restore.

End
Dump/restore completes successfully.

Abort
The operation aborts.

Error
Dump/restore hits an unexpected event.

Opzioni
Logs the options as users specify.

Tape_open
Output device is opened successfully.

Tape_close
Output device is closed successfully.

Phase_change
As dump/restore completes a stage.

Dump specific events:

Snapshot
When the snapshot is created or located.

Base_dump
When a valid base dump entry is located.

Logging events:

Start_logging Logging begins.

Stop_logging
Logging ends.

Each event record is in the following format:

TYPE TIME_STAMP IDENTIFIER EVENT (EVENT_INFO)

TIPO
Either dmp(dump), rst(restore) or log events.

TIME_STAMP
Shows date and time at which event occurs.

IDENTIFIER
Unique ID for the dump/restore.

EVENT
The event name.

EVENT_INFO
Event specific information.

A typical event record message looks like:

dmp Thu Apr 5 18:54:56 PDT 2001 /vol/vol0/ home(5) Start (level 0, NDMP)

In the particular example:

TIPO
= dmp

TIME_STAMP
= Thu Apr 5 18:54:56 PDT 2001

IDENTIFER
= /vol/vol0/ home(5)

EVENT
= Start

EVENT_INFO
= level 0, NDMP

All event messages go to /etc/log/backup. On every Sunday at 00:00, backup is roated to backup.0 and backup.0 is moved to backup.1 and so on. Up to 6 log files(spanning up to 6 weeks) are kept.

The registry option backup.log.enable controls the enabling and disabling of the logging with values on and off respectively. The functionality is enabled by default. (See options for how to set options.)

FILES

/etc/log/backup
backup log file for current week. /etc/log/backup.[0-5] backup log files for previous weeks

SEE ALSO

dump , restore , options


Table of Contents

Manual Pages , , , ,

backup

July 7th, 2009

Indice

NAME

backup – manages backups

SYNOPSIS

backup status [ <ID> ]

backup terminate <ID>

DESCRIPTION

The backup commands provide facilities to list and manipulate backups on a filer.

A backup job runs on a filer as a process that copies a file system or a subset of it to secondary media, usually tapes. Data can be restored from the secondary media in case the original copy is lost. There are several types of backup processes that run on the filers:

dump
runs natively on the filer.

NDMP
driven by a 3rd party client through NDMP protocol.

RESTARTABLE A failed dump that can be restarted.

USAGE

backup status [ <ID> ]
displays all active instances of backup jobs on the filer. For each backup, the backup status command lists the following information:

ID
The unique ID that is assigned to the backup and persists across reboots until the backup completes successfully or is terminated. After that, the ID can be recycled for another backup.

Stato
The state can either be ACTIVE or RESTARTABLE. ACTIVE state indicates that the process is currently running; RESTARTABLE means the process is suspended and can be resumed.

Tipo
Either dump or NDMP.

Device
The current device. It is left blank for RESTARTABLE dumps since they are not running and thus do not have a current device.

Start Date The time and date that the backup first started.

Level
The level of the backup.

Path
Points to the tree that is being backed up.

An example of the backup status command output:

  ID  State        Type  Device   Start Date   Level  Path   —  ———–  —-  ——  ————  —–  —————    0  ACTIVE       NDMP  urst0a  Nov 28 00:22    0    /vol/vol0/    1  RESTARTABLE  dump          Nov 29 00:22    1    /vol/vol1/ 

If a specific ID is provided, the backup status command displays more detailed information for the corresponding backup.

backup terminate <ID>
A RESTARTABLE dump, though not actively running, retains a snapshot and other file system resources. To release the resources, user can explicitly terminate a RESTARTABLE dump. Once terminated, it cannot be restarted again.

SEE ALSO

dump


Table of Contents



Manual Pages , , , ,

autosupport

July 7th, 2009

Indice

NAME

autosupport – notification daemon

SYNOPSIS

Data ONTAP is capable of sending automated notification to Customer Support at Network Appliance and/or to other designated addressees in certain situations. The notification contains useful information to help them solve or recognize problems quickly and proactively. The system can also be configured to send a short alert notification containing only the reason for the alert to a separate list of recipients. This notification is sent only for critical events that might require some corrective action and can be useful for Administrators with alphanumeric pagers that can accept short email messages.

DESCRIPTION

The autosupport mechanism will use SMTP if there are any (user configured) destination email addresses set in the autosupport.to option. If autosupport.support.enable is on then autosupports will also be sent to Network Appliance. Autosupports sent to Network Appliance may be transmitted by SMTP or by HTTP as specified in the autosupport.support.transport option.

If SMTP is used then the autosupport mechanism contacts a mail host that is listening on the SMTP port (25) to send email. A list of up to 5 mailhosts can be specified by using the autosupport.mailhosts option, and they will be accessed in the order specified until one of them answers as a mailhost. It will then send email through the successful mailhost connection to the destination email address specified in the autosupport.to option. Note that the autosupport.to option only allows 5 email address. To send to more than 5 recipients, create a local alias, or distribution list, and add that as the recipient.

If autosupport.support.enable is on then a copy of the autosupport message is also sent to Network Appliance as follows:

If autosupport.support.transport is smtp then the copy of the autosupport is emailed to the destination specified in autosupport.support.to and the same mailhost picking algorithm is used as above.

If autosupport.support.transport is http then a direct connection to the location specified in autosupport.support.url is made and the autosupport is transmitted to Network Appliance via HTTP POST.

The autosupport mechanism is triggered automatically once a week by the kernel to send information before backing up the messages file. It can also be invoked to send the information through the options command. Autosupport mail will also be sent on events that require corrective action from the System Administrator. And finally, the autosupport mechanism will send notification upon system reboot from disk.

To accommodate multiple delivery methods and destinations and to preserve time dependent values, the outgoing autosupport messages are now spooled in /etc/log/autosupport . Autosupport processing will attempt to deliver all (currently undelivered) messages until the autosupport.retry.count has been reached or until subsequent autosupport messages "fill the spool" such that the oldest (undelivered) messages are forced to be dropped. The spool size is currently 40 messages.

The subject line of the mail sent by the autosupport mechanism contains a text string to identify the reason for the notification. The subject also contains a relative prioritization of the message, using syslog severity levels from DEBUG to EMERGENCY (see syslog.conf ). The messages and other information in the notification should be used to check on the problem being reported.

The setup command tries to configure autosupport as follows:

If a mailhost is specified, it adds an entry for mailhost to the /etc/hosts file.

Setup also queries for autosupport.from information.

OPTIONS

Autosupport features are manipulated through the options command (see options ). The available options are as follows:

autosupport.cifs.verbose
If on , includes CIFS session and share information in autosupport messages. If off , those sections are omitted. The default is off .

autosupport.content
The type of content that the autosupport notification should contain. Allowable values are complete and minimal . The default value is complete . The minimal option allows the delivery of a "sanitized" and smaller version of the autosupport, at the cost of reduced support from Network Appliance. Please contact Network Appliance if you feel you need to use the minimal option. The complete option is the traditional (and default) form of autosupport. If this option is changed from complete to minimal then all previous and pending autosupport messages will be deleted under the assumption that complete messages should not be transmitted.

autosupport.doit
Triggers the autosupport daemon to send an autosupport notification immediately. A text word entered as the option is sent in the notification subject line and should be used to explain the reason for the notification.

autosupport.enable
Enables/disables the autosupport notification features (see autosupport ). The default is on to cause autosupport notifications to be sent. This option will override the autosupport.support.enable option.

autosupport.from
Defines the user to be designated as the sender of the notification. The default is postmaster@your.domain . Email replies from Network Appliance will be sent to this address.

autosupport.local.nht_data.enable
Enables/disables the NHT data autosupport to be sent to the recipients listed in the autosupport.to option. NHT data is the binary, internal log data from each disk drive, and in general, is not parsable by other than Network Appliance. There is no customer data in the NHT autosupport. The default for this option is off .

autosupport.local.performance_data.enable
Enables/disables performance data autosupport to be sent to the recipients listed in autosupport.to . The performance autosupport contains hourly samples of system performance counters, and in general is only useful to Network Appliance. The default is off .

autosupport.mailhost
Defines the list of up to 5 mailhost names. Enter the host names as a comma-separated list with no spaces in between. The default is an empty list.

autosupport.minimal.subject.id
Defines the type of string that is used in the identification portion of the subject line when autosupport.content is set to minimal . Allowable values are systemid and hostname . The default is systemid .

autosupport.noteto
Defines the list of recipients for the autosupport short note email. Up to 5 mail addresses are allowed. Enter the addresses as a comma-separated list with no spaces in between. The default is an empty list to disable short note emails.

autosupport.nht_data.enable
Enables/disables the generation of the Health Trigger (NHT) data autosupport. Default is off

autosupport.performance_data.enable
Enables/disables hourly sampling of system performance data, and weekly creation of a performance data autosupport. The default is on .

autosupport.retry.count
Number of times to try resending the mail before giving up and dropping the mail. Minimum is 5; maximum is 4294967295 ; The default is 15 .

autosupport.retry.interval
Time in minutes to delay before trying to send the autosupport again. Minimum is 30 seconds, maximum is 1 day. Values may end with `s', `m' or `h' to indicate seconds, minutes or hours respectively, if no units are specified than input is
assumed to be in seconds. The default value is 4m .

autosupport.support.enable
Enables/disables the autosupport notification to Network Appliance The default is on to cause autosupport notifications to be sent directly to Network Appliance as described by the autosupport.support.transport option. This option is superceded (overridden) by the value of autosupport.enable .

autosupport.support.proxy
Allows the setting of an http based proxy if autosupport.support.transport is https or http . The default
for this option is the empty string, implying no proxy is necessary.

autosupport.support.to
This option is read only; it shows where autosupport notifications to Network Appliance are sent if autosupport.support.transport is smtp .

autosupport.support.transport
Allows setting the type of delivery desired for autosupport notifications that are destined for Network Appliance. Allowed values are https , http (for direct web based posting) or smtp (for traditional email). The default value is https . Note that http and https may (depending on local network configuration) require that the autosupport.support.proxy option be set correctly. Also smtp requires that autosupport.mailhosts be configured correctly before autosupport delivery can be successful.

autosupport.support.url
This option is read only; it shows where autosupport notifications to Network Appliance are sent if autosupport.support.transport is https or http .

autosupport.throttle
Enables autosupport throttling (see autosupport ). When too many autosupports are sent in too short a time, additional messages of the same type will be dropped. Valid values for this option are on or off . The default value for this option is on .

autosupport.to
Defines the list of recipients for the autosupport email notification. Up to 5 mail addresses are allowed. Enter the addresses as a comma-separated list with no spaces in between. The default is an empty list. Note that it is no longer necessary to use the standard Network Appliance autosupport email address in this field to direct autosupport messages to Network Appliance. Please use autosupport.support.enable instead.

CONTENTS

A complete autosupport will contain the following information. Note that some sections are configurable, and/or available depending on what features are licensed. The order given is the general order of appearance in the autosupport message itself.

Generation date and timestamp

Software Version

System ID

Hostname

SNMP contact name (if specified)

SNMP location (if specified)

Partner System ID (if clustered)

Partner Hostname (if clustered)

Cluster Node Status (if clustered)

Console language type

sysconfig -a output

sysconfig -c output

sysconfig -d output

System Serial Number

Software Licenses (scrambled prior to transmission)

Option settings

availtime output

cf monitor all output (if clustered)

ic stats performance output (if clustered with VIA)

ic stats error -v output (if clustered with VIA)

snet stats -v output (if clustered with SNET)

ifconfig -a output

ifstat -a output

vlan stat output

vif status output

nis info output

nfsstat -c output (if licensed)

cifs stat output (if licensed)

cifs sessions summary (if licensed)

cifs sessions output (if licensed and enabled)

cifs shares summary (if licensed)

cifs shares output (if licensed and enabled)

vol status -l (if cifs is licensed)

httpstat output

vfiler status -a output (if licensed)

df output

df -i output

snap sched output

vol status -v output

vol status output

vol status -c output

vol scrub status -v output

sysconfig -r output

fcstat fcal_stats output

fcstat device_map output

fcstat link_stats output

ECC Memory Scrubber Statistics

ems event status output

ems log status output

registry values

perf report -t output

storage show adapter -a output

storage show hub -a output

storage show disk -a output

storage show fabric output

storage show switch output

storage show port output

EMS log file (if enabled)

/etc/messages content

Parity Inconsistancy information

WAFL_check logs

TYPES

The following types of autosupport messages, with their associated severity, can be generated automatically. The autosupport message text is in bold, and the LOG_XXX value is the syslog severity level. Note that text inside of square brackets ([]) is descriptive and is not static for any given autosupport message of that type.

BATTERY_LOW!!!
LOG_ALERT

BMC_EVENT: BUS ERROR
LOG_ERR

BMC_EVENT: POST ERROR
LOG_ERR

CLUSTER DOWNREV BOOT FIRMWARE
LOG_CRIT

CLUSTER ERROR: DISK/SHELF COUNT MISMATCH LOG_EMERG

CLUSTER GIVEBACK COMPLETE
LOG_INFO

CLUSTER TAKEOVER COMPLETE AUTOMATIC
LOG_ALERT

CLUSTER TAKEOVER COMPLETE MANUAL
LOG_INFO

CLUSTER TAKEOVER FAILED
LOG_INFO

CONFIGURATION_ERROR!!!
LOG_ALERT

CPU FAN WARNING - [fan]
LOG_WARNING

DEVICE_QUALIFICATION_FAILED
LOG_CRIT

DISK CONFIGURATION ERROR
LOG_ALERT

DISK RECONSTRUCTION FAILED!!
LOG_ALERT

DISK_FAIL!!! - Bypassed by ESH
LOG_ALERT

DISK_FAIL!!!
LOG_ALERT

DISK_FAILURE_PREDICTED!!!
LOG_ALERT

DISK_FIRMWARE_NEEDED_UPDATE!!!
LOG_EMERG

DISK_IO_DEGRADED
LOG_WARNING

DISK_LOW_THRUPUT
LOG_NOTICE

DISK_RECOVERED_ERRORS
LOG_WARNING

DISK_SCRUB!!!
LOG_EMERG

FC-AL LINK_FAILURE!!!
LOG_ERR

FC-AL RECOVERABLE ERRORS
LOG_WARNING

OVER_TEMPERATURE_SHUTDOWN!!!
LOG_EMERG

OVER_TEMPERATURE_WARNING!!!
LOG_EMERG

PARTNER DOWN, TAKEOVER IMPOSSIBLE
LOG_ALERT

POSSIBLE BAD RAM
LOG_ERR

POSSIBLE UNLINKED INODE
LOG_ERR

REBOOT (CLUSTER TAKEOVER)
LOG_ALERT

REBOOT (after WAFL_check)
LOG_INFO

REBOOT (after entering firmware)
LOG_INFO

REBOOT (after giveback)
LOG_INFO

REBOOT (halt command)
LOG_INFO

REBOOT (internal halt)
LOG_INFO

REBOOT (internal reboot)
LOG_INFO

REBOOT (panic)
LOG_CRIT

REBOOT (power glitch)
LOG_INFO

REBOOT (power on)
LOG_INFO

REBOOT (reboot command)
LOG_INFO

REBOOT (watchdog reset)
LOG_CRIT

REBOOT
LOG_INFO

SHELF COOLING UNIT FAILED
LOG_EMERG

SHELF COOLING UNIT FAILED
LOG_WARNING

SHELF_FAULT!!!
LOG_ALERT

SNMP USER DEFINED TRAP
LOG_INFO

SPARE_FAIL!!!
LOG_ALERT

SYSTEM_CONFIGURATION_CRITICAL_ERROR
LOG_CRIT

SYSTEM_CONFIGURATION_ERROR
LOG_ERR

UNDER_TEMPERATURE_SHUTDOWN!!!
LOG_EMERG

UNDER_TEMPERATURE_WARNING!!!
LOG_EMERG

USER_TRIGGERED ([user input from autosupport.doit]) LOG_INFO

WAFL_check!!!
LOG_ALERT

WEEKLY_LOG
LOG_INFO

[EMS event]
LOG_INFO

[fan] FAN_FAIL!!!
LOG_ALERT

[mini core]
LOG_CRIT

[power supply failure]
LOG_ALERT

[power supply] POWER_SUPPLY_DEGRADED!!!
LOG_ALERT

[shelf over temperature critical]
LOG_EMERG

CLUSTER CONSIDERATIONS

The autosupport email messages from a filer in a cluster are different from the autosupport email messages from a standalone filer in the following ways:

The subject in the autosupport email messages from a filer in a cluster reads, “Cluster notification, ” instead of “System notification.”

The autosupport email messages from a filer in a cluster contains information about its partner, such as the partner system ID and the partner host name.

In takeover mode, if you reboot the live filer, two autosupport email messages notify the email recipients of the reboot: one is from the live filer and one is from the failed filer.

The live filer sends an autosupport email message after it finishes the takeover process.

SEE ALSO

options , partner , setup , hosts , RFC821


Table of Contents






























































Manual Pages , , , ,

auditlog

July 7th, 2009

Indice

NAME

auditlog – contains an audit record of recent administrative activity

SYNOPSIS

<logdir>/auditlog

<logdir> is /etc/log for filers and /logs for NetCache appliances.

DESCRIPTION

If the option auditlog.enable is on, the system logs all input to the system at the console/telnet shell and via rsh to the auditlog file. The data output by commands executed in this fashion is also logged to auditlog. Administrative servlet invocations (via HTTP, typically from FilerView) and API calls made via the ONTAPI interface are also logged to the auditlog. A typical message is:

Wed Feb 9 17:34:09 GMT [rshd_0:auditlog]: root:OUT:date: Wed Feb 9 17:34:09 GMT 2000

This indicates that there was an rsh session around Wed Feb 9 17:34:09 GMT which caused the date command to be executed. The user performing the command was root. The type of log is data output by the system as indicated by the OUT keyword.

Commands typed at the filer's console or executed by rsh are designated by the IN keyword as in:

Wed Feb 9 17:34:03 GMT [rshd_0:auditlog]: :IN:rsh shell: RSH INPUT COMMAND is date

The start and end of an rsh session are specially demarcated as in

Wed Feb 9 17:34:09 GMT [rshd_0:auditlog]: root:START:rsh shell:orbit.eng.mycompany.com

e

Wed Feb 9 17:34:09 GMT [rshd_0:auditlog]: root:END:rsh shell:

The maximum size of the auditlog file is controlled by the auditlog.max_file_size option. If the file gets to this size, it is rotated (see below).

Every Saturday at 24:00, <logdir>/auditlog is moved to <logdir>/auditlog.0, <logdir>/auditlog.0 is moved to <logdir>/auditlog.1 , and so on. This process is called rotation. Auditlog files are saved for a total of six weeks, if they do not overflow.

If you want to forward audit log messages to a remote syslog log host (one that accepts syslog messages via the BSD Syslog protocol specified in RFC 3164), modify the filer's /etc/syslog.conf file to forward messages from the filer's "local7" facility to the remote host. Do this by adding a line like:

local7.*
@1.2.3.4

to /etc/syslog.conf. An IP address has been used here, but a valid DNS name could also be used. Note that using a DNS name can fail if the filer is unable to resolve the name given in the file. If that happens, your messages will not be forwarded.

On the log host, you'll need to modify the syslog daemon's configuration file to redirect syslog message traffic from the "local7" facility to the appropriate configuration file. That is typically done by adding a line similar to the one shown above for the filer:

local7.*
/var/logs/filer_auditlogs

Then restart the daemon on the log host, or send an appropriate signal to it. See the documentation for your log host's syslog daemon for more information on how to make that configuration change.

FILES

<logdir>/auditlog
auditlog file for current week. <logdir>/auditlog.[0-5] auditlog files for previous weeks

SEE ALSO

options , syslog.conf


Table of Contents

Manual Pages , , , ,



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

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

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