アーカイブ

Archive for the 'Manual Pages' Category

NetApp Man Pages

July 7th, 2009 Chris Kranz No comments

NetApp have kindly given me permission to republish their man pages here. They still need a little tidying up, but the sheer quantity means it'll take me awhile to get them all sorted and cross-referenced properly, please excuse any visual issues for the moment. I wrote a quick parsing tool to get all the info on here, so there may be a few issues resulting from that still.

I've always liked the way that PHP have their function pages giving users the ability to comment directly onto them. This allows people to leave feedback on functions and tools, and also follow up with some extra uses or syntax for commands that aren't necessarily clearly published. Hopefully this can feed back into NetApp to improve their documentation.

I'd definitely like to encourage people to comment on the man pages with anything that may be useful, and hopefully build this into a useful little reference section. Many thanks again for the NetApp folk for helping me with this.

VN:F [1.9.11_1134]
この記事:
Rating: 8.8/ 10 (19 votes cast)

Categories: General , Manual Pages Tags: , , , ,

AGGR

July 7th, 2009 Chris Kranz No comments

目次

NAME

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

SYNOPSIS

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.

AGGRコマンド群は、Data ONTAP 7.0で新しく追加されました。 volコマンドファミリは、不可分のユニットに単一のユーザーから見えるファイルシステムと単一のRAIDレベルのストレージコン ​​テナを(集約)融合した伝統的なvol_ U MESの制御を提供し、まだありません。 ストレージのより柔軟な使用を可能にするために、凝集体は、今もフレキシブル·ボリュームの名前、複数の独立したユーザレベルのファイルシステムを格納するための機能をサポートしています。

Data ONTAPは7.0は完全に伝統的なフレキシブル·ボリュームの両方をサポートします。 AGGRコマンドファミリは、従来のボリュームに埋め込 ​​まれているものも含め、ファイラーの集計を管理するための好ましい方法である。

AGGRコマンドほとんどは、フレキシブル·ボリュームしっかりと伝統的なボリュームを形成するためにバインドされているタイプが含まれている集計の種類の両方に等しく適用されることに注意してください。 従って、用語の集約は、しばしば両方のストレージ·クラスを参照するためにここで使用されます。 これらのケースで、それはより長く、より扱いにくいフレーズ "を集約し、従来のボリューム"の省略形を提供します。

凝集体は、いずれかのミラー​​化やミラー化かもしれません。 プレックスは、アグリゲート内のWAFLストレージの物理的なコピーです。 ミラー化された集計は、2つのプレックスで構成されています。ミラー化されていない凝集体は1つのプレックスが含まれています。 ミラー化されたアグリゲートを作成するためには、RAIDレベルのミラーリングをサポートしファイラの構成を持っている必要があります。 ミラーリングはファイラが有効になっている場合、スペアディスクが2つのディスクプールに分かれています。 集計が作成されたときに、1つのプレックス内のすべてのディスクが同じディスクのプールから取得する必要があり、これはフォールト·アイソレーションを最大化するようにミラー化された集合体の二つのプレックスは、別のプールからのディスクで構成する必要があります。 このポリシーは、AGGR作成、AGGR追加AGGRミラーに-fオプションで上書きすることができますが、それは推奨されていません。

アグリゲートの名前は文字、数字、およびアンダースコア文字(_)を含めることができますが、最初の文字は、アルファベットまたはアンダースコアがあります。 最大200凝集体(従来のボリュームに組み込まれたものを含む)までの合計は、各ファイラ上に作成することができます。

プレックスがオンラインまたはオフラインのかもしれません。 それがオフラインである場合には、アクセス権を読み取りまたは書き込みには使用できません。 プレックスの状態は、次の組み合わせになることができます。

プレックス内の通常のすべてのRAIDグループが機能しています。

プレックス内のRAIDグループの少なくとも一つの失敗に失敗しました。

空のプレックスが作成されている集合体の一部であり、集計を対象としたディスクのいずれかまたは複数のプレックスに追加される前にゼロにする必要があります。

アクティブなプレックスが使用可能です。

非アクティブな
プレックスは、使用することはできません。

再同期
プレックスの内容が古くなって現在、集計の他のプレックス(ミラー化された凝集体にのみ適用されます)の内容と再同期処理中にあります。

ディスクを追加する
ディスクは、プレックスのRAIDグループ(s)に追加されています。

時代遅れの
この状態は、プレックスの1つが失敗したミラー化された凝集体で発生します。 それは他のプレックスが失敗した時に再同期するために必要な場合は、非障害が発生したプレックスがこの状態になります。

プレックスは、集計、スラッシュ区切り文字、およびプレックスの名前の名前を使用して名前が付けられます。 システムは自動的に作成時のプレックス名を選択します。 たとえば、集計aggr0で作成される最初のプレックスがaggr0/plex0になります。

集計は、オンラインでの制限、またはオフラインである可能性があります。 集計がオフラインのときに、読んでないまたはアクセスが許可されている書き込みます。 集計が制限されているとき、特定の操作が許可されている(例えば、集約コピー、パリティの再計算またはRAID再構築など)が、データへのアクセスが許可されていません。 彼らはすべてのフレキシブル·ボリュームが含まれていない場合は、従来のボリュームの一部ではありません凝集体は、唯一の制限またはオフラインにすることができます。

凝集体の状態は、次の組み合わせになることができます。

AGGR集計では、現代の集合体であり、ゼロ個以上のフレキシブル·ボリュームを含むことができます。

複写
集計は、現在アクティブなAGGRのコピー操作のターゲットの集合体である。

劣化した
集約は再構築されていない少なくとも一つの劣化したRAIDグループが含まれています。

外国の
集計に含まれているディスクは、別のファイラーから現在のファイラーに移動しました。

成長
ディスクは、アグリゲートに追加される過程にある。

初期化
集計は、初期化処理中です。

無効
集計にはボリュームが含まれておらず、いずれも追加することはできません。 通常、これは唯一中止され、集約コピー操作後発生します。

アイロンがけ
WAFL整合性チェックは、この集計に実行されています。

劣化したミラー
集計は、ミラー化された集合体であり、そのプレックスの1つがオフラインまたは再同期です。

ミラー化された
集計は、ミラーであり、そのRAIDグループのすべてが機能しています。

ニーズはチェック
WAFL整合性チェックでは、集計上で実行する必要があります。

部分的な
少なくとも一つのディスクは、集約のために発見された、しかし、2つ以上のディスクが不足しています。

RAID0の集計では、RAID-0(パリティなし)RAIDグループ(V-シリーズとNetCacheの場合のみ)で構成されています。

RAID4アグリゲートは、RAID-4 RAIDグループで構成されています。

raid_dp
アグリゲートは、RAID-DP(ダブルパリティ)のRAIDグループで構成されています。

再構成する
集計で少なくとも1つのRAIDグループが再構築されています。

リダイレクト
-pオプションを指定すると、集約再配置またはファイルの再配置は、集計上で開始されています。 集計内のボリュームに読み取りパフォーマンスが低下する可能性があります。

再同期
ミラー化された集合体のプレックスの1つは、再同期化されています。

snapmirrored
集計は、別の集計のsnapmirroredのレプリカです。 集計は、伝統的なボリュームの一部である場合、この状態は発生する可能性があります。

トラッド集計は、1つのボリュームと融合されています。 これは、従来のボリュームと呼ばれ、Data ONTAPは7.0の前に存在し、ボリュームとまったく同じです。 フレキシブル·ボリュームは、この集合体の内部に作成することはできません。

検証
RAIDミラーの検証操作は、現在集計上で実行されています。

矛盾WAFL
集計が破損してマークされています。 この状態での集計が表示されている場合カスタマーサポートに連絡してください。

USAGE

次のコマンドはAGGRスイートで使用可能です。

 名前の変更状態をmedia_scrub分割オプションを破棄するオンラインshow_spaceを作成するかどうかを確認オフラインでスクラブをコピーundestroy制限ミラーを追加 

AGGR追加 aggrname
[-F]
[-N]
[-G {raidgroup | 新しい | すべての }]
{ndisks [@ サイズ ]
|
-dを DISK1 [DISK2 ... ] [-D disknは[disknは1 ... ]]}

という名前の集約aggrnameにディスクを追加します。 AGGR createコマンドと同じ方法でディスクを指定します。 集計がミラー化されている場合は、-d引数は(まったく)回使用する必要があります。

-gオプションが使用されていない場合、ディスクが一杯になるし、1つまたは複数の新しいRAIDグループが作成され、残りのディスクを新しいグループに追加され、最近作成されたRAIDグループUTILに追加されます。 完全ではありません、他の既存のRAIDグループが部分的に満たされたままになります。

-gオプションは、指定されたディスクが追加されるべきであるRAIDグループ(たとえば、RG0)、またはディスクが新規または既存のRAIDグループに追加される方法を指定できます。

-gオプションは、RAIDグループを指定するために使用されている場合、そのRAIDグループがすでに存在している必要があります。 ディスクがいっぱいになっているRAIDグループUTILに追加されます。 残りのディスクは無視されます。

-gオプションは、 新しいが続いている場合、Data ONTAPはディスクに既存のRAIDグループに収まる場合でも、1つまたは複数の新しいRAIDグループを作成し、それらにディスクを追加します。 完全ではない任意の既存のRAIDグループが部分的に満たされたままになります。 新しいRAIDグループの名前が自動的に選択されます。 これは、新しいRAIDグループの名前を指定することはできません。

-gオプションは、 すべてが続いている場合は、Data ONTAPは、最初に既存のRAIDグループに指定したディスクを追加します。 すべての既存のRAIDグループがフルになったら、それは1つまたは複数の新しいRAIDグループを作成し、新しいグループに指定したディスクを追加します。

-nオプションは、実際に変更を加えずに、システムが実行するコマンドを表示するために使用することができます。 これは、例えば、自動的に選択したディスクを表示する場合に便利です。

デフォルトでは、ファイラは、別のRAIDグループを開始する前に、ディスクでのRAIDグループを格納します。 集計は、現在12個のディスクのいずれかのRAIDグループを持ち、そのRAIDグループのサイズが14であると仮定します。 この集計に5ディスクを追加した場合、それは1つ14のディスクを持つRAIDグループと3つのディスクを持つ別のRAIDグループを持ちます。 ファイラは均等に、RAIDグループ間でディスクを配布しません。

プレックスの1つがオフラインであるかどうかは、ミラー化された集計にディスクを追加することはできません。

プレックスのディスクは、ディスクプールをまたがることが許可されていません。 追加するディスクを一覧表示するには、-d引数と一緒に使用する場合は、この動作は、-fフラグを使用してオーバーライドすることができます。 -fフラグは、-dとの組み合わせでも、集計の既存のディスクの大部分のあることと一致しない回転速度を持っているディスクを追加し、強制的に使用することができます。

AGGRコピーを中止する[-H] operation_number | すべて

集約コピー操作を終了します。 opera_トンion_numberパラメータ 、どの操作が終了するように指定します。 all 指定する場合は、すべての集計アクティブなコピー操作が終了します。

AGGRコピーの開始
[-S |-の スナップショット ] [-C]
ソース送り先

1集計から別のスナップショットとフレキシブル·ボリュームを含むすべてのデータを、コピーします。 -Sフラグ使用されている場合、コマンドは、宛先を集約する集約ソース内のすべてのスナップショットをコピーします。 コピーする特定のスナップショットを指定するには、スナップショットの名前に続いて、-sフラグを使用しています。 あなたがコマンドに-s-sフラグを使用する場合は、ファイラーはAGGRコピーstartコマンドが実行され、先の集計にのみ、そのスナップショットにコピーされます。時にスナップショットを作成します

-Cフラグは、ソース集合体がそれを実行する空き領域のデフラグを持っている場合に必要とされる、または宛先の集計は、フリースペースデフラグになる場合。 空き領域のデフラグは、REALLOCATEコマンド使用して集計を実行することができます。

集約コピーが唯一のフレキシブル·ボリュームをホストの集合を実行することができます。 従来のボリュームに埋め込まれた凝集体は、参加することはできません。

送信元と宛先の凝集体は、同じまたは別のファイラファイラ上に置くことができます。 aggre_ gのate_name形式 :送信元または宛先の集合は、AGGRコピーstartコマンド入力しているもの以外のファイラー上にある場合は、filer_nameの集計名を指定します。

aggregateコピーに関与してファイラーは正常に完了することができませAGGRコピーstartコマンドは、次の要件を満たす必要があります。

ソースの集合がオンラインである必要がありますと送信先の集約を制限する必要があります。

コピーは2ファイラの間にある場合は、各ファイラは、他のファイラの信頼できるホストとして定義する必要があります。 つまり、ファイラーの名前は他のファイラーの/ etc / hosts.equivファイル内になければなりません。

コピーが同じファイラ上にある場合は、localhostがファイラーの/ etc / hosts.equivファイルに含まれている必要があります。 また、ループバックアドレスは、ファイラーの/ etc / hostsファイル内になければなりません。 データをコピーしようとするとそれ以外の場合は、ファイラーは、ループバックアドレスを介して自分自身にパケットを送信することはできません。

先の集計の使用可能なディスク·スペースがより大きいか、またはソース集合体の使用可能なディスクの空き容量に等しくなければなりません。 特定のアグリゲートの使用可能なディスク領域の量を確認するには、df- パスコマンド使用します。

先の集約にデータを書き込むためのソースを集約し、いずれかからデータを読み取るために1:各AGGRコピーstartコマンド 2つの集計のコピー操作を生成します。 各ファイラは4つの同時集計のコピー操作をサポートしています。

AGGRコピーのステータスが、[operation_number]

つまたはすべてのAGGRコピー操作の進行状況が表示されます。 操作は、0から3までの番号が付けられています。

すべての転送のための再起動チェックポイント情報も表示されます。

AGGRコピースロットル [operation_number]

AGGRコピー操作パフォーマンスを制御します。 値は 10(フルスピード)〜1(フルスピードの10分の1)の範囲である。 デフォルト値は、ファイラーのaggr.copy.throttleオプションで維持され、工場出荷時に10(フルスピード)を設定されています。 あなたはoperation_numberパラメータ指定された操作にパフォーマンス値を適用することができます。 あなたがAGGRコピースロットルコマンド操作番号を指定しない場合、コマンドはすべてのAGGRのコピー操作にのみ適用されます。

あなたがAGGRコピー操作は、ファイラ上のパフォーマンスの問題を引き起こしている疑いがある場合AGGRのコピー操作の速度を制限するには、このコマンドを使用します。 特に、スロットルAGGRのコピー操作のCPU使用率を制限するために設計されています。 それは微調整するネットワーク帯域幅の消費パターンには使用できません。

AGGRコピースロットルコマンドは進行中であるAGGRコピー操作速度を設定することができます。 futureのコピー操作で使用するデフォルトのAGGRコピー速度を設定するには、aggr.copy.throttleオプションを設定するオプションコマンド使用します。

AGGR作成 aggrname
[-F]
[-M]
[-N]
[-T raidtype]
[-R raidsize]
[-T ディスクタイプ ]
[-R RPM]
[-L [ コンプライアンス | 企業 ]
[-V]
[-L 言語コード ]
{ndisks [@ サイズ ]

|
-dを DISK1 [DISK2 ... ] [-D disknは[disknは1 ... ]]}

aggrnameという名前の新 ​​しい集計を作成します。 アグリゲートの名前は文字、数字、およびアンダースコア文字(_)を含めることができますが、最初の文字は、アルファベットまたはアンダースコアがあります。 最大200集計は、各ファイラ上に作成できます。 この番号は、従来のボリューム内に埋め込まれ、それらの集約が含まれています。

埋め込 ​​まれた集計は、-vオプションを使用して、従来のボリュームの一部として作成することができます。 これは、任意のフレキシブル·ボリュームを含めることはできません。

-vオプションを指定せずに作成した定期的な集計では、唯一のフレキシブル·ボリュームを含めることができます。 それは従来のボリュームに組み込むことはできません、それは作成直後にボリュームが含まれていません。 新しい柔軟なボリュームは巻createコマンド使用して作成することができます。

-T raidtype引数 、集計を作成するために使用するRAIDグループのタイプ(複数可)を指定します。 可能なRAIDグループの種類は、RAID-4のRAID4は、RAID-DPのraid_dp(ダブルパリティ)、およびパリティ保護なしの単純なストライピングのRAID0です。 ファイラ上に集約し、伝統的なボリュームのデフォルトraidtypeは raid_dpです。 raidtypeを設定すると、V-シリーズのシステム上で許可されていません。RAID0のデフォルト値が常に使用されます。

-rを raidsize引数は、集計の各RAIDグループ内のディスクの最大数を指定します。 raidsizeの最大値およびデフォルト値は、パフォーマンスと信頼性の考慮事項に基づいて、プラットフォームに依存します。 詳細については、raidsize AGGRオプションを参照してください。

-T、ディスク型の引数には、新しい集計を作成するときに使用するディスクのタイプを指定します。 それは、異なる種類のディスクに接続されているシステム上で必要とされる。 可能なディスクの種類は次のとおりです。ATA、FCAL、LUN、SAS、SATA、およびSCSI。 1集計で異なる種類の混合ディスクは、-Tは-dと一緒に使用することはできません許可されていません。

ディスクタイプは、ディスク·テクノロジーとの接続の種類を識別します。ATAは、IDEまたはFCAL(ファイバチャネルアービトレーテッド·ループ)に接続シェルフのシリアルATAインタフェースのいずれかでATAディスクを識別します。FCALは、FC-ALに接続されたシェルフのFCディスクを識別します。LUNからエクスポートされた仮想ディスクを識別する外部ストレージ·アレイ。 基礎となるディスク技術とRAIDタイプは、外部ストレージ·アレイの実装に依存します。SASは、マッチング棚にシリアル·アタッチドSCSIディスクを識別します。SATAは SASシェルフのシリアルATAディスクを識別します。SCSIは SmallコンピュータSystem Interfaceの略で、それは下位互換性のために含まれています以前のディスク技術である。

-R rpmの引数 、毎分回転数(rpm)での回転速度に基づいて、使用するディスクのタイプを指定します。 それは、異なる回転速度でディスクを持つシステム上で必要とされる。 回転速度の典型的な値は5400、7200、10000、および15000です。-Rは、-dと一緒に使用することはできません。

ndisksは、パリティディスクを含む、集約内のディスクの数です。 この新しく作成された集約内のディスクは、スペアディスクのプールから来ています。 あなたは、@ size引数指定しない限り、このプール内の最小のディスクは、最初の集計を、参加してください。 サイズは GB単位のディスクサイズで、指定したサイズの10%内にあるディスクは、アグリゲートで使用するために選択されます。

-mオプションは、新しい集計を作成時にミラー化された(2つのプレックスを持っている)であることを指定するために使用できます。 このオプションが指定された場合、指定されたディスクは、2プレックスに分割されます。 デフォルトでは、新しい集約が反映されません。

-nオプションは、実際に変更を加えずに、システムが実行するコマンドを表示するために使用することができます。 これは、例えば、自動的に選択したディスクを表示する場合に便利です。

あなたが使用している場合は-dを disk1に[DISK2 ...を ]引数には、ファイラーは、指定されたスペアディスクと集約DISK1、DISK2、などを作成します。 あなたは、ディスク名のスペース区切りのリストを指定することができます。 新しい集約がミラーリングされている場合は、2つの別々のリストを指定する必要があります。 新しい集約がミラーである場合には、指定されたディスクは、それぞれの新しいプレックス上のディスクの数と同じ数になる必要があります。

プレックスのディスクはホットスペア集合にまたがることが許可されていません。 この動作は、-fオプション上書きすることができます。 同じオプションは、回転速度をマッチングしていないディスクを使用して強制的に使用することができます。 使用するディスクを指定する-dオプションと組み合わせて使用する場合にのみ、-fオプションは効果があります。

SnapLockの集計を作成するには、AGGRコマンドを作成する-Lフラグ指定します。 SnapLockのコンプライアンスまたはSnapLockのエンタープライズのいずれかがライセンスされている場合は、このフラグはサポートされています。 作成したSnapLockの集合体の型、どちらのコンプライアンスまたはEnterpriseがインストールさSnapLockのライセンスによって決定されます。 SnapLockのコンプライアンスおよびSnapLockのEnterpriseの両方にライセンスが付与されている場合は、-Lのコンプライアンスまたは-L企業の希望する集計の種類を指定します。

-vオプション使用して、従来のボリュームを作成するときに-l LANGUAGE_CODE引数のみ ​​使用することができます。 ファイラーは、言語コードで指定された言語で、従来のボリュームを作成します。 デフォルトでは、ファイラのルートボリュームで使用される言語です。 巻を参照してください。 言語コードのリストについては、マニュアルページを参照してください。

AGGRを破壊{aggrname | plexname} [-F]

aggrname名前付き集約、またはplexnameという名前のプレックスを破棄します。 指定された集計は、従来のボリュームに接続されている場合は、従来のボリューム自体も同様に破棄されることに注意してください。

集計が指定されている場合は、集約内のすべてのプレックスは破棄されます。 名前付き集約にもかかわらず、マウント状態(オンライン、制限、またはオフライン)、任意のフレキシブル·ボリュームを含めることはできません。 プレックスが指定された場合、プレックスは、残りのプレックスがミラー化を含む集合体または従来のボリュームを残して、破棄されます。 集計、従来のボリュームまたはプレックスを破棄する前に、ユーザーが操作を確認するプロンプトが表示されます。 -fフラグは、ユーザーにプロンプトを表示せずに集計、従来のボリュームまたはプレックスを破壊するために使用することができます。

当初は破壊されたオブジェクト内のディスクは、スペアディスクになります。 オフラインのみの集計、伝統的なボリュームとプレックスが破壊することができます。

AGGRのmedia_scrub状態 [aggrname | plexname | グループ名 ]
[-V]

名前付き集約、プレックス、またはグループのメディアスクラブのステータスを表示します。 名前が指定されていない場合、ステータスはすべてのRAIDグループは、現在のメディアスクラブを実行するために印刷されています。 ステータスは、パーセント完了し、それが中断されているかどうかが含まれています。

-vフラグは、最後のフルメディアはスクラブした日付と時刻が、日付と時刻メディアの現在のインスタンスが起動スクラブれると、名前付き集約、プレックス、またはグループの現在のステータスを完了に表示されます。 名前が指定されていない場合は、このより詳細なステータスは、アクティブなメディアスクラブと、すべてのRAIDグループに対して印刷されています。

AGGRミラー aggrname
[-F]
[-N]
[-V victim_aggrname]
[-D DISK1 [DISK2 ... 。]]

それにプレックスを追加することによって、ミラー化された集計にミラー化されていない集約をオフにします。 プレックスのいずれかのスペアプールから選択されたディスクから新しく形成され、または、-vオプションが指定されている場合は、別の既存のミラー化されていない集合体から取得されます。 集計aggrnameは、現在ミラー化する必要があります。 新しい、ゼロから集計ミラーリングするために作成AGGRを使用しています

ディスクはAGGR createおよびAGGR addコマンドと同じ方法で、-dを使用して明示的に指定することができます。 示されたディスクの数は、既存の集合体上に存在する番号と一致する必要があります。 指定したディスクは、ディスクプールをまたがることが許可されていません。 この動作は、-fオプション上書きすることができます。 -fオプションは、-Dとの組み合わせでも、集計の既存のディスクの大部分のものと一致しない回転速度を持っているディスクを使用して強制的に使用することができます。

ディスクが明示的に指定されていない場合、ディスクは自動的に集計の既存のプレックス内と一致するように選択されています。

-vオプションは、ミラーの集合体を形成するためにaggrnameに戻っvictim_aggrnameを結合するために使用することができます。 その結果、操作の前にaggrnameがない場合の同一であるaggrnameという名前のミラー化集合です。Victim_aggrnameが効果的破棄されます。Victim_aggrnameは、以前aggrnameでミラー化されている必要があり、その後AGGR分割コマンドを使って区切ります。Victim_aggrnameがオフラインである必要があります。 -vオプションと組み合わせて、-fオプションは、ユーザーにプロンプトを表示せずにaggrnamevic_ tのim_aggrnameを結合するために使用することができます。

-nオプションは、システムが実際に変更を加えずに実行するコマンドを表示するために使用することができます。 これは、例えば、自動的に選択したディスクを表示する場合に便利です。

AGGRをオフライン {aggrname | plexname}
[-T cifsdelaytime]

という名前の集約aggrname(またはplexnameという名前のプレックス)はオフラインになります。 コマンドが返す前に有効になります。 集計が制限された状態ですでに存在する場合、それはデータアクセスのためにすでに使用不可になり、多くの以下の説明は適用されません。

集計は、任意のフレキシブル·ボリュームが含まれている場合、ファイラーがメンテナンスモードにある場合を除き、操作は中止されます。

メンテナンスモードの場合を除き、現在のルートボリュームを含むアグリゲートをオフラインにすることはできません。 また、(VOLオプション vol_ nは雨· ルート使用して )ルートになるようにマークされたボリュームを含むアグリゲートをオフラインにすることはできません。

集計がCIFSシェアを持っている伝統的なボリュームに埋め込まれている場合、ユーザは集計(それゆえ、全体の従来のボリューム)をオフラインにする前に警告する必要があります。 このために-tスイッチを使用しています。 cifsdelaytime引数 、時間が従来のボリュームのユーザーはCIFSサービスの保留中の損失の警告が表示され、その間、埋め込 ​​まれた集計をオフラインにする前に遅延する時間を分単位で指定します。 0の時間が与えられた警告なしですぐに集計をオフラインにします。 彼らは優雅にアプリケーションを終了させるチャンスを与えていない場合、CIFSユーザがデータを失う可能性があります。

plexnameが指定されている場合 、プレックスがミラー化された集合体の一部である必要があり、両方のプレックスがオンラインである必要があります。 プレックスをオフラインに先立って、システムでは、プレックスに関連付けられたすべての内部バッファリングされたデータをフラッシュし、両方のプレックスに書き込まれるスナップショットを作成します。 スナップショットプレックスは、その後オンラインに戻された効率的な再同期が可能になります。

集約の伝統的なボリューム上で実行される操作の数は時間の様々な長さのために、後続からオフラインAGGRを防ぐことできます。 このような操作が検出された場合、終了するような操作のために1秒の待ち時間があるでしょう。 そうでない場合、コマンドはアボートします。

チェックは、内部ONTAPのプロセスによって開かれた集合体の関連する従来のボリューム内のファイルに対して行われます。 が見つかった場合、コマンドは中止されます。

AGGRオンライン {aggrname | plexname}
[-F]

Brings the aggregate named aggrname (or the plex named plexname ) online. This command takes effect immediately. If the specified aggregate is embedded in a traditional volume, the volume is also also brought online.

If an aggrname is specified, it must be currently offline, restricted, or foreign. If the aggregate is foreign, it will be made native before being brought online. A “foreign” aggregate is an aggregate that consists of disks moved from another filer and that has never been brought online on the current filer. Aggregates that are not foreign are considered “native.”

If the aggregate is inconsistent, but has not lost data, the user will be cautioned and prompted before bringing the aggregate online. The -f flag can be used to override this behavior. It is advisable to run WAFL_check (or do a snapmirror initialize in case of an aggregate embedded in a traditional volume) prior to bringing an inconsistent aggregate online. Bringing an inconsistent aggregate online increases the risk of further file system corruption. If the aggregate is inconsistent and has experienced possible loss of data, it cannot be brought online unless WAFL_check (or snapmirror initialize in the embedded case) has been run on the aggregate.

If a plexname is specified, the plex must be part of an online mirrored aggregate. The system will initiate resynchronization of the plex as part of online processing.

aggr options aggrname [ optname optval ]

Displays the options that have been set for aggregate aggrname , or sets the option named optname of the aggregate named aggrname to the value optval . The command remains effective after the filer is rebooted, so there is no need to add aggr options commands to the /etc/rc file. Some options have values that are numbers. Some options have values that may be on (which can also be expressed as yes , true , or 1 ) or off (which can also be expressed as no , false , or 0 ). A mixture of uppercase and lowercase characters can be used when typing the value of an option. The aggr status command displays the options that are set per aggregate.

The following describes the options and their possible values:

fs_size_fixed on | off

This option only applies to aggregates that are embedded in traditional volumes. It causes the file system to remain the same size and not grow or shrink when a SnapMirrored volume relationship is broken, or an aggr add is performed on it. This option is automatically set to be on when a traditional volume becomes a SnapMirrored volume. It will remain on after the snapmirror break command is issued for the traditional volume. This allows a traditional volume to be SnapMirrored back to the source without needing to add disks to the source traditional volume. If the traditional volume size is larger than the file system size, turning off this option will force the file system to grow to the size of the traditional volume. The default setting is off .

ignore_inconsistent on | off

This command can only be used in maintenance mode. 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

このオプションの値は、集計に作成することができ、RAIDグループの最大サイズです。 このオプションの値を変更すると、既存のRAIDグループの拡張または縮小することはありません、それは唯一の複数のディスクが最後に既存のRAIDグループに追加され、どのように大規模な新しいRAIDグループになるかどうかに影響します。

このオプションの有効な値は、raidtypeに依存しています。 たとえば、raid_dpはRAID4より大きいRAIDグループを可能にします。 制限とデフォルト値は、ファイラー·アプライアンスやディスクのさまざまな種類の異なったタイプにも異なっています。 次の表は、raidsizeの制限とデフォルト値を定義します。

   -------------- RAID4 raidsize分デフォルトの最大-------------- R100 2 8 8 R150 2 6 6 FAS250 2 7 14その他(FCALディスク)他の(ATAディスク)2 7 7 2 8 14 ---------------------------- raid_dp raidsize分のデフォルトの最大------ --------他のR100 3 12 12 R150 3 12 16(FCALディスク)、他3 16月28日(ATAディスク)3 14 16 ---------- ---- 

これらの値は、Data ONTAPの将来のリリースで変更される可能性があります。

raidtype RAID4 | raid_dp | RAID0

ディスク障害から保護するために使用されるRAIDのタイプを設定します。 raid_dp二つを提供しながら、RAID4を使用するには、RAIDグループごとに1つのパリティディスクを提供します。 このオプションを変更すると、直ちに集合内のすべてのRAIDグループのRAIDタイプを変更します。 RAID4からraid_dpにRAIDグループをアップグレードする場合、各RAIDグループは、第二`dparity 'パリティディスクに割り当てられたスペアディスクに再構築を開始します。

このオプションを変更すると、新しいraidtypeためのより適切な値にraidsize変更します。 RAID4からraid_dpにアップグレードする場合は、raidsizeはraid_dpのデフォルト値に増加されます。 それはデフォルト値とRAID4の限界の間にある場合raid_dpからRAID4にダウングレードする場合は、raidsizeは最大の既存のRAIDグループのサイズに縮小されます。 最大RAIDグループはRAID4の限界を超えている場合は、新しいraidsizeはその制限になります。 最大RAIDグループはRAID4のデフォルト値を下回っている場合は、新しいraidsizeは、そのデフォルト値になります。 raidsizeが既にRAID4のデフォルト値を下回っている場合、それは1つずつ減少されます。

resyncsnaptime

このオプションは、ミラーの再同期化スナップショットの頻度(分単位)を設定するために使用されます。 デフォルト値は60分です。

ルート

このオプションは、従来のボリューム上に設定されている場合、その体積で定義されている場合、効果は同じです マニュアルページを参照してください。 このオプションは、柔軟なボリュームを含むことのできる集合体に設定されている場合、それ以外の場合、その集約はまた次の再起動時にルート柔軟なボリュームが含まれています1つとしてマークされています。 このオプションは、任意の時点で唯一の集約または従来のボリュームで使用することができます。 既存のルート集約または伝統的なボリュームは、再起動後、root以外のエンティティになります。

システムがリブートされるまで、元の集合体および/ ​​または従来のボリュームは、そのオプションの一つとしてルートを表示するために継続し、新しいルートの集約、または伝統的なボリュームは、オプションとしてdiskrootが表示されます。 一般的には、diskrootオプションを持って集合体は、次の再起動後にルート柔軟なボリュームが含まれていますです。

集計や伝統的なボリュームのルート·ステータスを削除する唯一の方法は、別の集計または従来のボリューム上のルート·オプション設定することです。

snaplock_compliance

これが唯一のオプションは、集計がSnapLockのコンプライアンス集合体であることを示してお読みください。 集計は作成時にのみSnapLockのコンプライアンスの集計を指定することができます。

snaplock_enterprise

これが唯一のオプションは、集計がSnapLockの企業集合体であることを示してお読みください。 集計は作成時にのみのSnapLock Enterpriseの集計を指定することができます。

オフsnapmirrored

SnapMirrorは、伝統的なボリューム(SnapMirrorのは、フレキシブル·ボリュームが含まれている集約はサポートされていません)が有効になっている場合、ファイラーは自動的このオプションを設定します。 SnapMirrorは、従来のボリュームのミラーを更新するために使用されることはもはや存在しない場合このオプションを[ オフ]に設定してください。 このオプションを[ オフ]に設定した後、ミラーは通常の書き込み可能な伝統的なボリュームになります。 このオプションはオフに設定することができます。唯一のファイラでは、 オフからオンにこのオプションの値を変更することができます。

オフ | オンsnapshot_autodelete

このオプションは、スナップショットが自動的にAGGRで削除されているかどうかを設定するために使用されます。 onに設定した場合、スナップショットは必要に応じてストレージを回復するためにAGGRに削除される場合があります。 その後オフに設定されている場合AGGRのスナップショットが自動的にストレージを回復するために削除されません。 スナップショットはまだそのようなAGGRのスナップショットのスケジュールを維持するか、もはやスナップショットを必要としないこと、特定の操作に関連付けられているスナップショットを削除するなどの他の理由で削除される可能性があることに注意してください。 snapshot_autodeleteが有効になっている場合、スナップショットが適時に削除できるようにAGGRスナップショットの数は限られています。 AGGRであまりにも多くのスナップショットが存在する場合snapshot_autodeleteオプションを有効にすることができます前に、このような理由で、その後いくつかのスナップショットを削除する必要があります。

AGGRリネーム aggrname NEWNAME

リネームNEWNAMEaggrname名前付き集約。 この集合体は、従来のボリュームに埋め込まれている場合、そのボリュームの名前も変更されます。

aggrnameを 制限AGGR
[-T cifsdelaytime]

オンラインまたはオフラインの状態から、制限された状態で集計というaggrnameを入れてください コマンドが返す前に有効になります。

集計は、任意のフレキシブル·ボリュームが含まれている場合、ファイラーがメンテナンスモードにある場合を除き、操作は中止されます。

集計がCIFSシェアを持っている伝統的なボリュームに埋め込まれている場合、ユーザは集計(それゆえ、全体の従来のボリューム)を制限する前に警告する必要があります。 このために-tスイッチを使用しています。 cifsdelaytime引数 、時間が従来のボリュームのユーザーはCIFSサービスの保留中の損失の警告が表示され、その間、埋め込 ​​まれた集計をオフラインにする前に遅延する時間を分単位で指定します。 0の時間が与えられた警告なしですぐに集計をオフラインにします。 彼らは優雅にアプリケーションを終了させるチャンスを与えていない場合、CIFSユーザがデータを失う可能性があります。

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 ]

Starts parity scrubbing on the named online aggregate. Parity scrubbing compares the data disks to the parity disk(s) in their RAID group, correcting the parity disk's contents as necessary. If no name is given, parity scrubbing is started on all online aggregates. If an aggregate name is given, scrubbing is started on all RAID groups contained in the aggregate. If a plex name is given, scrubbing is started on all RAID groups contained in the plex.

aggr scrub status [ aggrname | plexname | groupname ] [ -v ]

Prints the status of parity scrubbing on the named aggregate, plex, or group; all RAID groups currently undergoing parity scrubbing if no name is given. The status includes a percent-complete, and the scrub's suspended status.

The -v flag displays the date and time at which the last full scrub completed along with the current status on the named aggregate, plex, or group; all RAID groups if no name is given.

aggr scrub stop [ aggrname | plexname | groupname ]

Stops parity scrubbing on the named aggregate, plex, or group; if no name is given, on all RAID groups currently undergoing a parity scrubbing.

aggr scrub suspend [ aggrname | plexname | groupname ]

Suspends parity scrubbing on the named aggregate, plex, or group; if no name is given, on all RAID groups currently undergoing parity scrubbing.

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分割 plexname aggrname
[-R oldvol newvol] [-R ...]
[-s 接尾辞 ]

ミラー化された集合体からplexnameを削除して、プレックスが含まれていaggrnameという名前の新 ​​しいミラー化されていない集計を作成します。 元のミラーの集計はミラーになります。 オリジナルの集約から分割されるプレックスは(ない部分)機能でなければなりませんが、それは、非アクティブ再同期、またはoutof最新である可能性があります。 AGGR分割したがって、そのパートナープレックスが現在失敗した場合、そのパートナープレックスに関して最新ではありませんプレックスにアクセスするために使用できます。

plexnameが置かれている集合体は、従来のボリューム内に埋め込 ​​まれている場合は、AGGR分割は、分割をvolに同じように動作します。 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 ]

名前で指定されたオンラインミラーリングされた集合体に、RAIDミラーの検証を開始します。 名前が指定されていない場合は、RAIDミラーの検証は、すべてオンラインでミラーリングされた凝集体で開始されます。 検証は、ミラー化された集合体の両方のプレックス内のデータを比較します。 デフォルトの場合には、異なるすべてのブロックが記録されていますが、変更は行われません。 -fフラグが指定された場合、指定されたプレックスは、不一致が検出されたときに他のプレックスを一致するように固定されています。 名前は、-f plexnumberオプション指定する必要があります。

[aggrname]停止AGGRを確認

名前付き集約でRAIDミラーの検証を停止します。ない集合体の名前が指定されていない場合、すべての集計では、現在、RAIDミラーの検証を受けている。

AGGRはステータス [aggrname]確認してください

名前付き集約のRAIDミラーの検証のステータスを出力します。現在、RAIDミラーの検証を受けたすべての集計でなく、集約の名前が指定されていない場合。 ステータスは、パーセント完全で、検証の中断状態が含まれています。

[aggrname]を 停止するかどうかを確認AGGR

名前付き集約で中断、RAIDミラーの検証;ない集計名が指定されていない場合は、現在、RAIDミラーの検証を受けたすべての集計に。

CLUSTER CONSIDERATIONS

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.

EXAMPLES

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.

 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 

関連項目

vol , partner , snapmirror , sysconfig


Table of Contents






















































Categories: Manual Pages Tags: , , , ,

cf

July 7th, 2009 Chris Kranz No comments

目次

NAME

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

SYNOPSIS

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

説明

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 .”

ステータス
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.

関連項目

partner


Table of Contents



Categories: Manual Pages Tags: , , , ,

bootfs

July 7th, 2009 Chris Kranz No comments

目次

NAME

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

説明

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.

クラスタ
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 0x25a00 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 

関連項目

ダウンロード


Table of Contents

Categories: Manual Pages Tags: , , , ,

boot

July 7th, 2009 Chris Kranz No comments

目次

NAME

boot – directory of Data ONTAP executables

SYNOPSIS

/etc/boot

説明

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.

関連項目

ダウンロード


Table of Contents

著作権©1994-2008ネットアップ株式会社リーガル情報

VN:F [1.9.11_1134]
この記事:
評価:0.0 / 10(0投票)

Categories: Manual Pages Tags: , , , ,

bmc

July 7th, 2009 Chris Kranz No comments

目次

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.

ステータス
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 

関連項目

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

著作権©1994-2008ネットアップ株式会社リーガル情報

VN:F [1.9.11_1134]
この記事:
評価:0.0 / 10(0投票)

Categories: Manual Pages Tags: , , , ,

backuplog

July 7th, 2009 Chris Kranz No comments

目次

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:

スタート
Dump/restore starts.

Restart
Restart of a dump/restore.

End
Dump/restore completes successfully.

Abort
The operation aborts.

エラー
Dump/restore hits an unexpected event.

オプション
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)

TYPE
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:

TYPE
= 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

関連項目

dump , restore , options


Table of Contents

Categories: Manual Pages Tags: , , , ,

backup

July 7th, 2009 Chris Kranz No comments

目次

NAME

backup – manages backups

SYNOPSIS

backup status [ <ID> ]

backup terminate <ID>

説明

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:

ダンプ
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.

State
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.

タイプ
Either dump or NDMP.

デバイス
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.

レベル
The level of the backup.

パス
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.

関連項目

ダンプ


Table of Contents



Categories: Manual Pages Tags: , , , ,

autosupport

July 7th, 2009 Chris Kranz 2 comments

目次

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.

関連項目

options , partner , setup , hosts , RFC821


Table of Contents






























































Categories: Manual Pages Tags: , , , ,

auditlog

July 7th, 2009 Chris Kranz No comments

目次

NAME

auditlog – contains an audit record of recent administrative activity

SYNOPSIS

<logdir>/auditlog

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

説明

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

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

Categories: Manual Pages Tags: , , , ,

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

©2009-2012 クリスクランツ著作権所有
このサイトは、NetAppまたは内に記載されているその他のすべての会社がどのような方法でも提携して、または後援されていません。