Categories

NetApp – Maximizing Storage Efficiency post Migration

You are here:
< All Topics

Description

This document describes the procedure for maximizing storage efficiencies after migrating volumes from either:

  • a 7-Mode system to an AFF ONTAP 9.x system
  • a Clustered Data ONTAP 8 to an AFF ONTAP 9.x system
  • Migration from a FAS Hybrid (spinning disk) system

The volumes would

Procedure

  • Ensure thin provisioning (space guarantee = none) has been set on all migrated volumes.
vol show -vserver <svm_name> -volume <vol_name> -fields space-guarantee,space-gurantee-enabled
vol modify - vserver <svm_name> -volume <vol_name> -space-guarantee none

NOTE: If you are comfortable and want to set all volumes, you can use the following syntax:

set -confirmations off
set advanced
vol show -volume !vol0 -fields space-guarantee,space-guarantee-enabled
vol modify -volume !vol0 -vserver * -space-guarantee none
  • Ensure default inline efficiency is enabled on all migrated volumes.
vol efficiency show -fields compression,inline-compression,inline-dedupe,data-compaction,cross-volume-inline-dedupe,cross-volume-background-dedupe,policy
vol efficiency on -vserver <svm_name> -volume <vol_name>
vol efficiency modify -vserver <svm_name> -volume <vol_name> -compression true -inline-compression true -inline-dedupe true -data-compaction true -cross-volume-inline-dedupe true -cross-volume-background-dedupe true

NOTE: Again, if you are comfortable and want to set for all SVMs and volumes, you can use the following syntax:

vol efficiency on -vserver * -volume !vol0,!*root*
vol efficiency modify -vserver * -volume !vol0,!*root* -compression true -inline-compression true -inline-dedupe true -data-compaction true -cross-volume-inline-dedupe true -cross-volume-background-dedupe true -policy auto
  • Existing snapshots may contain blocks that cannot achieve any space savings. Delete any of these snapshots that are not on an expiration schedule.
  • Run background scanner to compress existing data in the volumes (must be in advanced mode).
set advanced
vol efficiency start -vserver <svm_name> -volume <vol_name> -scan-old-data true -compression true -dedupe true

This will compress non-shared data in the active file system. To compress both the active file system and snapshots, use the following.

set advanced
vol efficiency start -vserver <svm_name> -volume <vol_name> -scan-old-data true -compression true -snapshot-blocks true -shared-blocks true -dedupe true
Table of Contents