Professional Documents
Culture Documents
Module Objectives
By the end of this module, you should be able to: List the factors that impact space consumption in Data ONTAP Describe how and when a volume consumes space from its containing aggregate Explain how to guarantee writes for a file Discuss how Data ONTAP can provide more space to a full volume State deduplication techniques available in Data ONTAP
2009 NetApp. All rights reserved.
Factors
See the SAN Administration on Data ONTAP course for more information on LUN reservations
2009 NetApp. All rights reserved.
Space Guarantees
Space guarantee is an attribute of a volume that reserved or set aside out of the containing aggregate Space guarantee parameters: volume (default): Reserves the FlexVol total size within its containing aggregate and allows for space reserved or nonspace reserved files file: Allow the creation of a space guaranteed file total size within its containing FlexVol volume none: Does not reserves any space for the FlexVol volume within its containing aggregate and allows only for non-space guaranteed files Space guarantee may be set: At the volumes creation: vol create -s volume vol1 aggr1 5GB On existing volumes: vol options vol1 guarantee none
2009 NetApp. All rights reserved.
To configure volumes
df -Ag aggr1
Total AFS (95%) SSR (5%)
85 4
Used
0 0
Avail
85 4
Icon
Description
aggr1
72-GB disk
df -Ag aggr1
Total AFS (95%) SSR (5%)
85 4
Used
30 0
Avail
54 4
df -g vol1
Total Used
0 0
Avail
24 6
AFS (80%)
SSR (20%) Icon
24 6
vol1
Description
aggr1
72-GB disk
df -Ag aggr1
Total AFS (95%) SSR (5%)
85 4
Used
30 0
Avail
54 4
vol2
df -g vol2
Total Used
0 0
Avail
24 6
AFS (80%)
SSR (20%) Icon
24 6
vol1
Description
aggr1
72-GB disk
aggr1
df -Ag aggr1
Total AFS (95%) SSR (5%)
85 4
Used
54 0
Avail
30 4
vol2
df -g vol2
Total Used
24 0
Avail
0 6
AFS (80%)
SSR (20%) Icon
24 6
vol1
Description
aggr1
72-GB disk
File Types
Files, within volumes, may be either:
Normal: The size of the file represents the amount of data within the file
foo Physical data
Sparse: The size of the file is greater than the amount of data within the file
foo2
aggr1
df -Ag aggr1
Total AFS (95%) SSR (5%)
85 4
vol3
Used
54 0
Avail
30 4
vol2
df -g vol3
Total Used
0 0
Avail
24 6
AFS (80%)
SSR (20%) Icon
24 6
vol1
Description
aggr1
72-GB disk
aggr1
df -Ag aggr1
foo
vol3
Used
64 0
Avail
20 4
vol2
df -g vol3
Total Used
10 0
Avail
14 6
AFS (80%)
SSR (20%) Icon
24 6
vol1
Description
aggr1
72-GB disk
aggr1
df -Ag aggr1
foo
vol3
foo2
Used
74 0
Avail
10 4
vol2
df -g vol3
Total Used
10 0
Avail
14 6
AFS (80%)
SSR (20%) Icon
24 6
vol1
Description
aggr1
72-GB disk
Value try, disrupt volume, snap_reserve, space_reserve 1-100 oldest_first, newest_first scheduled, user_created, prefix, none <string>
Volume Autosize
Might want to grow the volume vol autosize determines if a volume should grow when nearly full
Set at volume level Possible values:
ON
Increment size (default 5% of original size) Maximum size (default 120% of original size)
OFF
vol autosize vol_name [-m size[k|m|g|t]] [-i size[k|m|g|t]] [on|off|reset]
Administrators Choice
Administrators may choose which procedure to employ first:
snapshot auto delete vol autosize Use the volume option:
try_first Possible values:
snap_delete volume_grow (default)
Example:
vol options vol_name try_first snap_delete
Deduplication
Deduplication
NetApp Deduplication
NetApp deduplication
20:1 or greater for backup
Application agnostic
Before After Primary storage Backup data Archival data
Service
Runs as a background process and is transparent to any client
Deduplication in Action
presentation.ppt = Identical blocks Original file 20 blocks presentation.ppt With NetApp deduplication 30 total blocks
Gatherer File
Gathering
qsort
qsort
...
qsort
Fingerprint File
Sort by Inode
Update Inode
Merge Sort
Fingerprint File
Fingerprint File
qsort
qsort
...
qsort
Merge Sort
Fingerprint File
Sort by Inode
Update Inode
Merge Sort
Fingerprint File
Fingerprint File
SIS Check
Gatherer File
Sort by Inode
Update Inode
Gathering
Fingerprint File
Configuration Overview
License it:
system> license add <license>
Turn it on:
system> sis on <vol>
For maintenance:
system> sis status [-l] <vol> system> sis check
Configuring Deduplication
system> sis on /vol/vol1
SIS for "/vol/vol1" is enabled. Already existing data could be processed by running "sis start -s /vol/vol1".
system> df -s /vol/vol1
Filesystem /vol/vol1 used 20568268 saved 3768732 %saved 15%
Gathering
/vol/vol1
Sorting
Path /vol/vol1
State Enabled
Deduplicating
Path /vol/vol1
State Enabled
Path
State Enabled
Checking
/vol/vol1 OR /vol/vol1
Enabled
Active
10% Merged
Scheduling Deduplication
Default schedule:
system> sis on /vol/vol1 system> sis status /vol/vol1 sun-sat@0
To configure a schedule:
system> system> system> system> sis sis sis sis config config config config -s -s s s - /vol/vol1 23@sun-fri /vol/vol1 auto /vol/vol1 sat@6 /vol/vol1
Other Commands
vol status command
SIS keyword will be listed in the output for deduplication volumes system> vol status Volume State Vol0 online Vol1 online
Module Summary
In this module, you should have learned to: List the factors that impact space consumption in Data ONTAP Describe how and when a volume consumes space from its containing aggregate Explain how to guarantee writes for a file Discuss how Data ONTAP can provide more space to a full volume State deduplication techniques available in Data ONTAP
2009 NetApp. All rights reserved.
Exercise
Module 12: Space Management Estimated Time: 45 minutes