10_snapshots_v2.1
TRANSCRIPT
-
7/24/2019 10_Snapshots_v2.1
1/19
Snapshot Adminstration
Data ONTAP Fundamentals
-
7/24/2019 10_Snapshots_v2.1
2/19
Objectives
Upon completion of this module you ill beable to Describe ho a Snapshot functions
!eco"ni#e and perform Snapshot commands
Set and modify Snapshot options
$reate a Snapshot schedule
-
7/24/2019 10_Snapshots_v2.1
3/19
Snapshot Technolo"y Overvie
%ey element in &AF'(architecture
!ead)only copy of file system
'ocation data only* does not contain data files
$onsumes little dis+ space initially
Supports bac+up* error recovery* and
commands related to Snapshot technolo"y
-
7/24/2019 10_Snapshots_v2.1
4/19
Snapshot Technolo"y Overvie
,olumes
Snapshot subdirectory accessible to users
Users can access and recover files
A""re"ates -. of a""re"ate reserved for a""re"ate
Snapshots
Primary function is to support functions
related to Snapshot technolo"y
-
7/24/2019 10_Snapshots_v2.1
5/19
Snapshot Overvie
Snapshots are scheduled on the Stora"e Appliance/
&ee+ly Ni"htly hourly
Administrators can do bac+ups ithout ta+in" the system offline0
-
7/24/2019 10_Snapshots_v2.1
6/19
Snapshot Overvie
-
7/24/2019 10_Snapshots_v2.1
7/19
Snapshot Overvie
-
7/24/2019 10_Snapshots_v2.1
8/19
&AF' Overhead
&AF' A""re"ate Space
1-.
Fle2,ol
Space
plus
A""re"ate
Snapshot!eserve
A""re"ate Snapshot !eserve
Fle2,ol3
Fle2,ol4n
.snapshot
.snapshot
56.
76.
56.
76.
36.
16.
A""re"ateSpace
-.8adjustable9
A""re"atesEach aggregate has 5% allocated
for Snapshotreserve and 10%
allocated for WAFL.
Fle2ible ,olumes
Each volue has !0% allocatedfor Snapshot reserve. "he
rea#nder #s used for cl#ent data.
Snapshot !eserve
"he aount of space allocated for
Snapshot reserve #s ad$ustale. "o
use th#s space for data ¬
recoended'( )ou ust
anuall) overr#de the allocat#on
used for Snapshots.
:o Dis+ Space ;s Allocated for Fle2ible
,olumes
-
7/24/2019 10_Snapshots_v2.1
9/19
&AF' Overhead
&AF' Traditional ,olume
Space
36.
16.
A""re"ateSpace
Snapshot !eserve
76.
56.8adjustable9
A""re"ates ith a Traditional,olume
Each aggregate has 10%
allocated for WAFL.
Traditional ,olumes
Each volue has !0% allocated
for Snapshotreserve. "he
rea#nder #s used for cl#ent data.
Snapshot !eserve
"he aount of space allocated for
Snapshot reserve #s ad$ustale. "ouse th#s space for data ¬
recoended'( )ou ust
anuall) overr#de the allocat#on
used for Snapshots.
:o Dis+ Space ;s Allocated for Traditional
,olumes
-
7/24/2019 10_Snapshots_v2.1
10/19
Snapshot $ommands
snap create [ -A | -V ][volume_name] [snapshot_name]
snap list [ -A | -V ] [volume_name]
snap delete [ -A | -V ] [volume_name] [snapshot_name]
snap delete [ -A | -V ]-a [volume_name]
snap rename [ -A | -V ] [volume_name] [old_file_name] [new_file_name]
snap reserve [ -A | -V ] [volume_name] [percent]
snap sched [ -A | -V ] [volume_name [weeks [days [ hours[@list]]]]]
-
7/24/2019 10_Snapshots_v2.1
11/19
snap sched [volume_name [weeks [days [ hours[@list]]]]]
Example snap sched vol! " ! #@$%&!%%!"
Snapshot $ommand Synta2
Snapshot Schedule
The snap schedule in the e2ample above ould +eep the folloin" snapshots for vol2:
No ee+ly Snapshots
5 ni"htly Snapshots
< hourly Snapshots ta+en at 7/66 A=* 35/66 P=* >/66 P= and 7/66 P=
-
7/24/2019 10_Snapshots_v2.1
12/19
snap list$ommand
-
7/24/2019 10_Snapshots_v2.1
13/19
$onfi"ure Snapshots in Filer,ie(
-
7/24/2019 10_Snapshots_v2.1
14/19
Snapshot Options
Disable automatic Snapshots/vol options volname nosnap [on|off]
=a+e .snapshotdirectory invisible to clients*
and turn off access to .snapshotdirectory/vol options volname nosnapdir [on|off]
=a+e ~snapshotdirectory visible to $;FS
clients/
options cifs'show_snapshot [on|off]
-
7/24/2019 10_Snapshots_v2.1
15/19
Snapshot Options
-
7/24/2019 10_Snapshots_v2.1
16/19
# pwd
/filer /.snapshot
# ls -l
total 240
drwxrwxrwx 9 root other 12288 Jan 29 16:19 hourly.0
drwxrwxrwx 9 root other 12288 Jan 29 16:19 hourly.1
drwxrwxrwx 9 root other 12288 Jan 29 16:19 hourly.2
drwxrwxrwx 9 root other 12288 Jan 29 16:19 hourly.drwxrwxrwx 9 root other 12288 Jan 29 16:19 hourly.4
drwxrwxrwx 9 root other 12288 Jan 29 16:19 hourly.!
drwxrwxrwx 9 root other 12288 Jan 29 16:19 ni"htly.0
drwxrwxrwx 9 root other 12288 Jan 29 16:19 ni"htly.1
drwxrwxrwx 9 root other 12288 Jan 29 16:19 weely.1
drwxrwxrwx 9 root other 12288 Jan 29 16:19 weely.2
#
Snapshot ,ie from a UN;?($lient
-
7/24/2019 10_Snapshots_v2.1
17/19
Snapshot ,ie from a &indos($lient
Note/ Snapshots are v#s#le
to W#ndo*s cl#ents that have
F#le +anager conf#gured to
d#spla) ,h#dden f#les-
Note/ Snapshots are v#s#le
to W#ndo*s cl#ents that have
F#le +anager conf#gured to
d#spla) ,h#dden f#les-
-
7/24/2019 10_Snapshots_v2.1
18/19
Topic !evie
:o does Snapshot function@ &hen a Snapshot is created* it identifies all the bloc+s in the active
file system0
&hat are some of the Snapshot commands@$ snap create% snap delete%snap list% snap sched% snap
reserve(
&hat option ould you use to manually create ana""re"ate Snapshot@ The)A* option0
&hat are some of the snapshot options@vol options volname nosnapvol options volname nosnapdiroptions cifs'show_snapshot
Describe the Snapshot schedule synta2snap sched vol" ! # $@$%&!%%!"
-
7/24/2019 10_Snapshots_v2.1
19/19
2ercises