FC06-053 Thin Provisioning for iSCSI and FC
description
Transcript of FC06-053 Thin Provisioning for iSCSI and FC
![Page 1: FC06-053 Thin Provisioning for iSCSI and FC](https://reader031.fdocuments.in/reader031/viewer/2022013101/56815870550346895dc5cfda/html5/thumbnails/1.jpg)
FC06-053Thin Provisioning for iSCSI and FC
Rick Jooss
SANiSAN Business Unit
![Page 2: FC06-053 Thin Provisioning for iSCSI and FC](https://reader031.fdocuments.in/reader031/viewer/2022013101/56815870550346895dc5cfda/html5/thumbnails/2.jpg)
2
Agenda
What is Flexible or Thin Provisioning
Types of Thin Provisioning
ONTAP Variables
Configurations– Default Configuration– Snapshot - Snapshot Auto delete– Snapshot - Volume Auto grow– Snapshot - Volume guarantee none– LUN - Volume guarantee none– LUN - LUN reservation disabled
![Page 3: FC06-053 Thin Provisioning for iSCSI and FC](https://reader031.fdocuments.in/reader031/viewer/2022013101/56815870550346895dc5cfda/html5/thumbnails/3.jpg)
3
What is Thin Provisioning?
Presenting more space to the servers than the storage systems actually contains
Classic examples from other industries– Banks – Water Companies– Electric Companies– Insurance Companies
Large systems are needed
![Page 4: FC06-053 Thin Provisioning for iSCSI and FC](https://reader031.fdocuments.in/reader031/viewer/2022013101/56815870550346895dc5cfda/html5/thumbnails/4.jpg)
4
Types of Thin Provisioning
Snapshot Space– Creating, mapping and snapshotting 100 x 100GB
LUNs with less than 20+ TB (< 2X + Δ)– In the NAS world snapshot space is always thin
provisioned
LUN Space– Creating and mapping 10TB (100 x 100GB) LUNs
when the storage system only has 8TB– Only makes sense when one is not creating
snapshots because having less than 10TB with snapshots is not reasonable
![Page 5: FC06-053 Thin Provisioning for iSCSI and FC](https://reader031.fdocuments.in/reader031/viewer/2022013101/56815870550346895dc5cfda/html5/thumbnails/5.jpg)
5
Agenda
What is Flexible or Thin Provisioning
Types of Thin Provisioning
ONTAP Variables
Configurations– Default Configuration– Snapshot - Snapshot Auto delete– Snapshot - Volume Auto grow– Snapshot - Volume guarantee none– LUN - Volume guarantee none– LUN - LUN reservation disabled
![Page 6: FC06-053 Thin Provisioning for iSCSI and FC](https://reader031.fdocuments.in/reader031/viewer/2022013101/56815870550346895dc5cfda/html5/thumbnails/6.jpg)
6
ONTAP variables affecting space usage
ONTAP Variables – Guarantee– LUN reservation – Fractional (space) Reservation– Snap Reserve– Auto Delete– Auto grow– Try first
![Page 7: FC06-053 Thin Provisioning for iSCSI and FC](https://reader031.fdocuments.in/reader031/viewer/2022013101/56815870550346895dc5cfda/html5/thumbnails/7.jpg)
7
Guarantees
Set on a per volume basis Determines when space is allocated from the aggregate Possible settings
– Volume (default) • Space is reserved from the aggregate at volume creation time• This space is not available to other volumes regardless of how
much is really used– None
• No space is reserved from the aggregate at volume creation time• Space is taken from the aggregate as data is written• Allows thin provisioning of volumes• Any individual volume still is not allowed to take more space
than its size– File
• The same as none but allows individual LUNs (or files) to set space reservations to ensure they have adequate space
![Page 8: FC06-053 Thin Provisioning for iSCSI and FC](https://reader031.fdocuments.in/reader031/viewer/2022013101/56815870550346895dc5cfda/html5/thumbnails/8.jpg)
8
LUN Reservation
Set on per LUN basis
Determines when space is allocated from the volume
Possible settings– enabled (default)
• Space is reserved from the volume at LUN creation time• This space is not available to other LUNs or files
regardless of how much is really used– Disabled
• No space is reserved from the volume at volume LUN time• Space is taken from the volume as data is written
![Page 9: FC06-053 Thin Provisioning for iSCSI and FC](https://reader031.fdocuments.in/reader031/viewer/2022013101/56815870550346895dc5cfda/html5/thumbnails/9.jpg)
9
Guarantees
Set on a per volume basis Determines when space is allocated from the aggregate Possible settings
– Volume (default) • Space is reserved from the aggregate at volume creation time• This space is not available to other volumes regardless of how
much is really used– None
• No space is reserved from the aggregate at volume creation time• Space is taken from the aggregate as data is written• Allows thin provisioning of volumes• Any individual volume still is not allowed to take more space
than its size– File
• The same as none but allows individual LUNs (or files) to set space reservations to ensure they have adequate space
![Page 10: FC06-053 Thin Provisioning for iSCSI and FC](https://reader031.fdocuments.in/reader031/viewer/2022013101/56815870550346895dc5cfda/html5/thumbnails/10.jpg)
10
LUN Reservation
Set on per LUN basis
Determines when space is allocated from the volume
Possible settings– enabled (default)
• Space is reserved from the volume at LUN creation time• This space is not available to other LUNs or files
regardless of how much is really used– Disabled
• No space is reserved from the volume at volume LUN time• Space is taken from the volume as data is written
![Page 11: FC06-053 Thin Provisioning for iSCSI and FC](https://reader031.fdocuments.in/reader031/viewer/2022013101/56815870550346895dc5cfda/html5/thumbnails/11.jpg)
11
Fractional (space) Reservation
Set on a per volume basis
Determines if space is reserved from the volume at first snapshot creation
Possible settings– 100% (default)
• An amount of space equal to the amount of space used with in the LUNs is reserved from the volume
• This space is not available to other LUNs or files regardless of how much is really used
– 0 to 99% • An amount of space equal to the amount of space used
with in the LUNs times fractional_reserve is reserved from the volume reserved = LUN_SPACE * fractional_reserve
![Page 12: FC06-053 Thin Provisioning for iSCSI and FC](https://reader031.fdocuments.in/reader031/viewer/2022013101/56815870550346895dc5cfda/html5/thumbnails/12.jpg)
12
Snap Reserve
Set on a per volume basis
Determines if space is allocated from the volume for Snapshot data at volume creation time
Possible settings– 20% (default for NAS) – 0% (current default for SAN) – 0% to 100%
![Page 13: FC06-053 Thin Provisioning for iSCSI and FC](https://reader031.fdocuments.in/reader031/viewer/2022013101/56815870550346895dc5cfda/html5/thumbnails/13.jpg)
13
Snapshot Auto Delete
Set on a per volume basis Determines when (if) snapshots will be automatically
deleted Makes NetApp like competition but better Possible settings
– Triggers • Volume• Snap Reserve• Space Reserve
– Order• delete_order – oldest, newest• defer_delete – scheduled, user created, prefix, none• snapmirror/dump – try, disrupt
Snapshots locked by clones, cifs or restores will not be deleted – change planned for 7.3
![Page 14: FC06-053 Thin Provisioning for iSCSI and FC](https://reader031.fdocuments.in/reader031/viewer/2022013101/56815870550346895dc5cfda/html5/thumbnails/14.jpg)
14
Volume Auto Grow
Set on a per volume basis
Determines if a volume should grow when it nearly full
Possible settings– ON
- Maximum growth- Increment size
– OFF
Try_first option determines whether auto_grow or auto_delete is attempted first
![Page 15: FC06-053 Thin Provisioning for iSCSI and FC](https://reader031.fdocuments.in/reader031/viewer/2022013101/56815870550346895dc5cfda/html5/thumbnails/15.jpg)
15
Agenda
What is Flexible or Thin Provisioning
Types of Thin Provisioning
ONTAP Variables
Configurations– Default Configuration– Snapshot - Snapshot Auto delete– Snapshot - Volume Auto grow– Snapshot - Volume guarantee none– LUN - Volume guarantee none– LUN - LUN reservation disabled
![Page 16: FC06-053 Thin Provisioning for iSCSI and FC](https://reader031.fdocuments.in/reader031/viewer/2022013101/56815870550346895dc5cfda/html5/thumbnails/16.jpg)
16
Space Management – Default Configuration
Default Configuration:– Guarantee = volume– LUN reservation = on – Fractional_reserve= 100%– Snap_reserve = 0% – Auto_delete = off– Auto_grow = off– Try_first = NA
Reserve
TestLUN
Available space
30GB
30GB
40GB
![Page 17: FC06-053 Thin Provisioning for iSCSI and FC](https://reader031.fdocuments.in/reader031/viewer/2022013101/56815870550346895dc5cfda/html5/thumbnails/17.jpg)
17
Space Management – Default Configuration
Positives– Easy to manage/monitor space
• Running “out” of space only results in no additional snapshots being created
• SnapShots and active LUNs will always be available
– Volumes are independent of each other
Negatives– Requires 2X + Δ space requirement
![Page 18: FC06-053 Thin Provisioning for iSCSI and FC](https://reader031.fdocuments.in/reader031/viewer/2022013101/56815870550346895dc5cfda/html5/thumbnails/18.jpg)
18
Space Management – Default Configuration
Default Configuration:– Guarantee = volume– LUN reservation = on – Fractional_reserve= 100%– Snap_reserve = 0% – Auto_delete = off– Auto_grow = off– Try_first = NA
Reserve
TestLUN
Available space
30GB
30GB
40GB
![Page 19: FC06-053 Thin Provisioning for iSCSI and FC](https://reader031.fdocuments.in/reader031/viewer/2022013101/56815870550346895dc5cfda/html5/thumbnails/19.jpg)
19
Space Management – Default Configuration
Positives– Easy to manage/monitor space
• Running “out” of space only results in no additional snapshots being created
• SnapShots and active LUNs will always be available
– Volumes are independent of each other
Negatives– Requires 2X + Δ space requirement
![Page 20: FC06-053 Thin Provisioning for iSCSI and FC](https://reader031.fdocuments.in/reader031/viewer/2022013101/56815870550346895dc5cfda/html5/thumbnails/20.jpg)
20
Agenda
What is Flexible or Thin Provisioning
Types of Thin Provisioning
ONTAP Variables
Configurations– Default Configuration– Snapshot - Snapshot Auto delete– Snapshot - Volume Auto grow– Snapshot - Volume guarantee none– LUN - Volume guarantee none– LUN - LUN reservation disabled
![Page 21: FC06-053 Thin Provisioning for iSCSI and FC](https://reader031.fdocuments.in/reader031/viewer/2022013101/56815870550346895dc5cfda/html5/thumbnails/21.jpg)
21
Thin Provisioning – Snapshot Space – Autodelete
Auto Delete Configuration:– Guarantee = volume– LUN reservation = on – Fractional_reserve= 0%– Snap_reserve = 20% – Auto_delete =snap_reserve– Auto_grow = off– Try_first = snap_delete
TestLUN
Available space
20GB
50GB
30GB
SnapshotAvailable
![Page 22: FC06-053 Thin Provisioning for iSCSI and FC](https://reader031.fdocuments.in/reader031/viewer/2022013101/56815870550346895dc5cfda/html5/thumbnails/22.jpg)
22
Thin Provisioning – Snapshot Space – Autodelete
Positives– Easy to monitor/understand space
just volume and .snapshot– Sacrifices snapshots before active LUNs– Volumes are independent of each other– Looks like the competition
Negatives– Doesn’t use shared space from the aggregate– Until ONTAP 7.3 have to be cautious with using
FlexClones
![Page 23: FC06-053 Thin Provisioning for iSCSI and FC](https://reader031.fdocuments.in/reader031/viewer/2022013101/56815870550346895dc5cfda/html5/thumbnails/23.jpg)
23
Agenda
What is Flexible or Thin Provisioning
Types of Thin Provisioning
ONTAP Variables
Configurations– Default Configuration– Snapshot - Snapshot Auto delete– Snapshot - Volume Auto grow– Snapshot - Volume guarantee none– LUN - Volume guarantee none– LUN - LUN reservation disabled
![Page 24: FC06-053 Thin Provisioning for iSCSI and FC](https://reader031.fdocuments.in/reader031/viewer/2022013101/56815870550346895dc5cfda/html5/thumbnails/24.jpg)
24
Thin Provisioning – Snapshot Space – Autogrow
Auto Grow Configuration:– Guarantee = volume– LUN reservation = on – Fractional_reserve= 0%– Snap_reserve = 0% – Auto_delete = volume– Auto_grow = on– Try_first = auto_grow
![Page 25: FC06-053 Thin Provisioning for iSCSI and FC](https://reader031.fdocuments.in/reader031/viewer/2022013101/56815870550346895dc5cfda/html5/thumbnails/25.jpg)
25
Thin Provisioning – Snapshot Space – Autogrow
Positives– Uses shared free space from the aggregate for
possible growth– Sacrifices snapshots before active LUNs– Can tune amount of thin provisioning per volume– Works even with a smaller number of volumes
Negatives– Volumes are not completely independent of one
another• Always the case when using shared free space• Growth in one volume can limit growth of
another
![Page 26: FC06-053 Thin Provisioning for iSCSI and FC](https://reader031.fdocuments.in/reader031/viewer/2022013101/56815870550346895dc5cfda/html5/thumbnails/26.jpg)
26
Thin Provisioning – Autogrow Example Volume Grow – Starting Point
Free, 30
vol1, 100
vol3, 100
vol2, 100
volume used / size / consumedvol1 = 0 / 100 / 100vol2 = 0 / 100 / 100vol3 = 0 / 100 / 100------------------------------------total = 0 / 300 / 300
free = 30
![Page 27: FC06-053 Thin Provisioning for iSCSI and FC](https://reader031.fdocuments.in/reader031/viewer/2022013101/56815870550346895dc5cfda/html5/thumbnails/27.jpg)
27
Thin Provisioning – Autogrow Example Volume Grow – After volume growth
Free, 10
vol1, 100vol3, 100
vol2, 120
Single volume grows to 120GB
volume used / size / consumedvol1 = 90 / 100 / 100vol2 = 120 / 120 / 120vol3 = 50 / 100 / 100------------------------------------total = 260 / 320 / 320
free = 10
![Page 28: FC06-053 Thin Provisioning for iSCSI and FC](https://reader031.fdocuments.in/reader031/viewer/2022013101/56815870550346895dc5cfda/html5/thumbnails/28.jpg)
28
Thin Provisioning – Autogrow Example Volume Grow – After another volume grows
Free, 0
vol1, 110vol3, 100
vol2, 120
Single volume grows to 120GB
Another volume grow to 110GB
Aggregate is now full
volume used / size / consumedvol1 = 110 / 100 / 110vol2 = 120 / 100 / 120vol3 = 60 / 100 / 100------------------------------------total = 290 / 330 / 330
free = 0
![Page 29: FC06-053 Thin Provisioning for iSCSI and FC](https://reader031.fdocuments.in/reader031/viewer/2022013101/56815870550346895dc5cfda/html5/thumbnails/29.jpg)
29
Thin Provisioning – Autogrow Example Volume Grow – After freeing space
Space is freed within the volume- manual snapshot deletion
Volume is manually resized
Free, 10
vol1, 110vol3, 100
vol2, 110
volume used / size / consumedvol1 = 110 / 110 / 110vol2 = 110 / 110 / 110vol3 = 60 / 100 / 100------------------------------------total = 0 / 320 / 320
free = 10
![Page 30: FC06-053 Thin Provisioning for iSCSI and FC](https://reader031.fdocuments.in/reader031/viewer/2022013101/56815870550346895dc5cfda/html5/thumbnails/30.jpg)
30
Agenda
What is Flexible or Thin Provisioning
Types of Thin Provisioning
ONTAP Variables
Configurations– Default Configuration– Snapshot - Snapshot Auto delete– Snapshot - Volume Auto grow– Snapshot - Volume guarantee none– LUN - Volume guarantee none– LUN - LUN reservation disabled
![Page 31: FC06-053 Thin Provisioning for iSCSI and FC](https://reader031.fdocuments.in/reader031/viewer/2022013101/56815870550346895dc5cfda/html5/thumbnails/31.jpg)
31
Thin Provisioning – Snapshot SpaceGuarantee = none
None Guarantee Configuration:– Guarantee = none– LUN reservation = on – Fractional_reserve= 0%– Snap_reserve = 0% – Auto_delete = volume– Auto_grow = off– Try_first = auto_delete
![Page 32: FC06-053 Thin Provisioning for iSCSI and FC](https://reader031.fdocuments.in/reader031/viewer/2022013101/56815870550346895dc5cfda/html5/thumbnails/32.jpg)
32
Thin Provisioning – Snapshot SpaceGuarantee = none
Positives– Uses shared space from the aggregate
Negatives– Volumes are not independent of one another– Activity in some volumes can cause all volumes
with a none guarantee to go offline– Generally only makes sense with a large number
of volumes
![Page 33: FC06-053 Thin Provisioning for iSCSI and FC](https://reader031.fdocuments.in/reader031/viewer/2022013101/56815870550346895dc5cfda/html5/thumbnails/33.jpg)
33
Thin Provisioning – Snapshot SpaceGuarantee = none - Example
volume used / size / consumedvol1 = 0 / 150 / 0vol2 = 0 / 150 / 0vol3 = 0 / 150 / 0------------------------------------total = 0 / 450 / 0
free = 330
At volume creation no space is allocated from the aggregate
vol2, 0vol3, 0
vol1, 0
Free, 330
![Page 34: FC06-053 Thin Provisioning for iSCSI and FC](https://reader031.fdocuments.in/reader031/viewer/2022013101/56815870550346895dc5cfda/html5/thumbnails/34.jpg)
34
Thin Provisioning – Snapshot SpaceGuarantee = none - Example
volume used / size / consumedvol1 = 40 / 150 / 40vol2 = 100 / 150 / 100vol3 = 100 / 150 / 100------------------------------------total = 240 / 450 / 240
free = 90
Free, 90
vol1, 40
vol3, 100
vol2, 100
![Page 35: FC06-053 Thin Provisioning for iSCSI and FC](https://reader031.fdocuments.in/reader031/viewer/2022013101/56815870550346895dc5cfda/html5/thumbnails/35.jpg)
35
Thin Provisioning – Snapshot SpaceGuarantee = none - Example
volume used / size / consumedvol1 = 90 / 150 / 90vol2 = 120 / 150 / 120vol3 = 120 / 150 / 120------------------------------------total = 330 / 450 / 330
free = 0
Highlights both the advantage and disadvantage of a none guarantee– Allows vol2 and vol3 to use space which vol1 is not using– If any volume consumes more space all volume with a guarantee of
none are going to go offline on the next write
vol2, 120
vol3, 120
vol1, 90
Free, 0
![Page 36: FC06-053 Thin Provisioning for iSCSI and FC](https://reader031.fdocuments.in/reader031/viewer/2022013101/56815870550346895dc5cfda/html5/thumbnails/36.jpg)
36
Thin Provisioning – LUNs – Guarantee = NONE
Guarantee = none configuration:– Guarantee = none– LUN reservation = on – Fractional_reserve = NA
(no snapshots)– Snap_reserve = 0%
(no snapshots)– Auto_delete = snap_reserve
(safety measure)
– Auto_grow = off– Try_first = snap_delete
![Page 37: FC06-053 Thin Provisioning for iSCSI and FC](https://reader031.fdocuments.in/reader031/viewer/2022013101/56815870550346895dc5cfda/html5/thumbnails/37.jpg)
37
Thin Provisioning – LUNs – Guarantee = NONE
Positives– Uses shared free space from the aggregate– Works with SDW without issues
Negative– Limited by BURT 210149
Not possible to configure more a LUN larger than actual free space in the aggregate
• For example, aggregate has 200GB free and you create a 400GB volume
– It is possible to create 2 x 200GB or 4 x 100GB or 1000 x 100GB LUNs
– It is not possible to create 1 x 201GB LUN
![Page 38: FC06-053 Thin Provisioning for iSCSI and FC](https://reader031.fdocuments.in/reader031/viewer/2022013101/56815870550346895dc5cfda/html5/thumbnails/38.jpg)
38
Agenda
What is Flexible or Thin Provisioning
Types of Thin Provisioning
ONTAP Variables
Configurations– Default Configuration– Snapshot - Snapshot Auto delete– Snapshot - Volume Auto grow– Snapshot - Volume guarantee none– LUN - Volume guarantee none– LUN - LUN reservation disabled
![Page 39: FC06-053 Thin Provisioning for iSCSI and FC](https://reader031.fdocuments.in/reader031/viewer/2022013101/56815870550346895dc5cfda/html5/thumbnails/39.jpg)
39
Thin Provisioning – LUNs – reservation disabled
LUN reservation disabled configuration:– Guarantee = volume– LUN reservation = off– Fractional_reserve= NA
(no snapshots)– Snap_reserve = 0%
(no snapshots)– Auto_delete = snap_reserve
(safety measure) – Auto_grow = off– Try_first = NA
![Page 40: FC06-053 Thin Provisioning for iSCSI and FC](https://reader031.fdocuments.in/reader031/viewer/2022013101/56815870550346895dc5cfda/html5/thumbnails/40.jpg)
40
Thin Provisioning – LUNs – reservation disabled
Positives– Volumes are independent of one another– Amount of thin provisioning can be tuned per
volume
Negative– Doesn’t currently work with SDW
• With Data ONTAP DSM 3.0, SDW is not needed for multipathing
![Page 41: FC06-053 Thin Provisioning for iSCSI and FC](https://reader031.fdocuments.in/reader031/viewer/2022013101/56815870550346895dc5cfda/html5/thumbnails/41.jpg)
41
Agenda - Summary
Configurations– Default Configuration– Snapshot - Snapshot Auto delete– Snapshot - Volume Auto grow– Snapshot - Volume guarantee none– LUN - Volume guarantee none– LUN - LUN reservation disabled