Monday, November 29, 2010

Enabling Deduplication on Netapp Volume

Below shows how to setup NetApp deduplication (formerly ASIS) on an existing volume. The following example is running NetApp Release 7.2.5.1. The license are now free, and were already installed.
Check to make sure the licensces are installed
NAS> license
nearstore_option xxxxxZH
a_sis xxxxxCG


Enable sis (deduplication) on the volume


NAS> sis on /vol/testVol
SIS for “/vol/testVol” is enabled.
Already existing data could be processed by running “sis start -s /vol/testVol”.


Initiate deduplication service


NAS> sis start -s /vol/testVol
The file system will be scanned to process existing data in /vol/testVol.
This operation may initialize related existing metafiles.
Are you sure you want to proceed with scan (y/n)? y
Thu Nov 13 10:01:38 EST [wafl.scan.start:info]: Starting SIS volume scan on volume testVol.
The SIS operation for “/vol/testVol” is started.
NAS> Thu Nov 13 10:01:42 EST [wafl.snap.delete:info]: Snapshot copy sis.93057f3c-aed8-11dd-a6d9-00a09804ad86 on volume testVol NetApp was deleted by the Data ONTAP function dense_delete_snapshot. The unique ID for this Snapshot copy is (44, 156).
Sis status will display the state and running status on all volumes
NAS> sis status
PathStateStatusProgress
/vol/SharesEnabledIdleIdle for 10:05:52
/vol/testVolEnabledIdleIdle for 08:48:40
/vol/lunsDisabledIdleIdle for 2330:43:02
/vol/vmEnabledIdleIdle for 00:09:35
View the status on a specific volume


NAS> sis status /vol/testVol
PathStateStatusProgress
/vol/testVolEnabledIdleIdle for 00:11:23
After sis completes, use df to show the amount saved and deduplication percentage
NAS> df -sh /vol/testVol
Filesystemusedsaved%saved
/vol/testVol/519GB754GB59%
Verify that sis is scheduled to run frequent enough at the times you want
NAS> sis config
PathSchedule
/vol/sharessun-sat@0
/vol/testVolsun-sat@0
/vol/lunssun-sat@0
/vol/vmsun-sat@0
Below is the help output of sis config
NAS> sis help config
sis config [ [ -s schedule ] | … ]
- Sets up, modifies, and retrieves the schedule of SIS volumes.
Reschedule for nightly at 11pm

NAS>sis config -s sun-sat@23 /vol/testVol
Verify the new configuration
NAS> sis config /vol/testVol
PathSchedule
/vol/testVolsun-sat@23
Note: ASIS is not real time deduplication. It is ran on a schedule instead of as the data is coming in. Also, when setting the schedule for a volume, you can only specifiy the hour to start running, in this case trying to specify sun-sat@23:45 did not work when testing

No comments:

Post a Comment