aggregate snapshot の特徴は以下のとおりです。
- aggregate の snapshot は、デフォルトで aggregate の全容量の 5% が予約されています。
- aggregate の snapshot 領域は、主に以下の状況で使用されます。
- flexvolume を削除した際、flexvolume 上のデータが、aggregate snapshot に参照されていた場合。
- volume snapshot やデータ削除により、解放されるデータが aggregate snapshot に参照されていた場合。
- aggregate snapshot 領域が 100% になった場合、autodelete により、削除されます。
aggregate snapshot は、SyncMirror を行わない場合は特に必要ありません。
以下、aggregate snapshot を削除し、スケジュール取得を停止する手順になります。
aggregate の空き状態を確認します。
> df -Ag Aggregate total used avail capacity aggr0 4245GB 941GB 3304GB 22% aggr0/.snapshot 223GB 4GB 218GB 2%
aggregate schedule snapshot の設定を確認します。
> snap sched -A Aggregate aggr0: 0 1 4@9,14,19
aggregate snapshot 領域の割合を確認します。
> snap reserve -A Aggregate aggr0: current snapshot reserve is 5% or 234326544 k-bytes.
aggregate snapshot を確認します。
> snap list -A -n Aggregate aggr0 working... date name ------------ -------- Oct 04 14:00 hourly.0 Oct 04 09:00 hourly.1 Oct 04 00:01 nightly.0 Oct 03 19:00 hourly.2 Oct 03 14:00 hourly.3
aggregate schedule snapshot を停止します。
> snap sched -A aggr0 0 0 0
aggregate snapshot を全て削除します。
> snap delete -A -a aggr0 Are you sure you want to delete all snapshots for aggregate aggr0? y Deleted aggr0 snapshot hourly.3. Deleted aggr0 snapshot hourly.2. Deleted aggr0 snapshot nightly.0. Deleted aggr0 snapshot hourly.1. Deleted aggr0 snapshot hourly.0.
aggregate snapshot 領域割合を 0% に変更します。
> snap reserve -A aggr0 0
aggregate schedule snapshot の設定を確認します。
> snap sched -A Aggregate aggr0: 0 0 0
aggregate snapshot を確認します。
> snap list -A -n Aggregate aggr0 working... No snapshots exist.
aggregate snapshot 領域の割合を確認します。
> snap reserve -A Aggregate aggr0: current snapshot reserve is 0% or 0 k-bytes.
aggregate の空き状態を確認します。
> df -Ag Aggregate total used avail capacity aggr0 4469GB 941GB 3527GB 21% aggr0/.snapshot 0GB 0GB 0GB ---%
以上