1 / 17

Blocks Update / Training

Blocks Update / Training. Space Reservations Overview. Per LUN Space Reservations without Snapshots Space reservations with first snapshot Space reservations with subsequent snapshots Space reservations with cloned LUNs SnapDrive Windows / Burts DF Output Fractional Space Reservations

chun
Télécharger la présentation

Blocks Update / Training

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Blocks Update / Training

  2. Space Reservations Overview • Per LUN • Space Reservations without Snapshots • Space reservations with first snapshot • Space reservations with subsequent snapshots • Space reservations with cloned LUNs • SnapDrive Windows / Burts • DF Output • Fractional Space Reservations Why is space reservations different than snap reserve? Why can’t I just set 50% snap reserve? Network Appliance Confidential

  3. Space Reservations Overview • Per LUN • Space Reservations without Snapshots • Space reservations with first snapshot • Space reservations with subsequent snapshots • Space reservations with cloned LUNs • SnapDrive Windows / Burts • DF Output • Fractional Space Reservations Network Appliance Confidential

  4. Space ReservationsAn Analogy Space Available in My DVR Daily Show West Wing Charlie Rose ER Alias Other stuff for S.U. Weekly change is predictable, but sometimes the change rate is unpredictable (say, when there is a West Wing marathon on Bravo), or during the WORLD SERIES, when S.U. happens to be out of the country. Unfortunately, S.U. underestimated the change rate (14 innings overtime), and was unable to record the world series while still hanging on to the specified copies of depicted shows. So the DVR ran out of space for the world series. Network Appliance Confidential

  5. Space Reservations100% 200 MB LUN 600 MB Volume • LUN created (200 MB reserved, unused by host) • 100% space reservations • No snapshots • (Snapshot reserve = 0) df -r spres Filesystem kbytes used avail reserved /vol/spres/ 614400 210724 403676 0 /vol/spres/.snapshot 0 0 0 0 Network Appliance Confidential

  6. Space Reservations100% Data written from host: 109 MB 200 MB LUN 600 MB Volume • LUN 50% full No changes from prior df df -r spres Filesystem kbytes used avail reserved /vol/spres/ 614400 210756 403644 0 /vol/spres/.snapshot 0 0 0 0 Network Appliance Confidential

  7. Space Reservations100% Data written from host: 109 MB 200 MB LUN 600 MB Volume 109 MB Overwrite Reserve • Snapshot created Reserved space now equals space utilized in LUN: 109MB Used Space now reflects LUN size + reserve df -r spres Filesystem kbytes used avail reserved /vol/spres/ 614400 323456 290944 112636 /vol/spres/.snapshot 0 52 0 0 Network Appliance Confidential

  8. Space Reservations100% Data written from host: ~200 MB 200 MB LUN 600 MB Volume ~200 MB Overwrite Reserve • LUN 99% full as seen from host • Snapshot taken Reserved space now equals space utilized in LUN: 198 MB Used Space now reflects LUN size + reserve df -r spres Filesystem kbytes used avail reserved /vol/spres/ 614400 414636 199764 203248 /vol/spres/.snapshot 0 592 0 0 Network Appliance Confidential

  9. Space Reservations100% Snapshot: ~109 MB Data written from host: ~91 MB 200 MB LUN 600 MB Volume ~200 MB Overwrite Reserve • 50% of data deleted • Snapshot taken Reserved space still equals space utilized in LUN: 198 MB Used Space reflects LUN size + reserve df -r spres Filesystem kbytes used avail reserved /vol/spres/ 614400 415132 199268 203252 /vol/spres/.snapshot 0 1080 0 0 Network Appliance Confidential

  10. Space Reservations100% Snapshot: ~109 MB Data written from host 200 MB LUN 600 MB Volume ~200 MB Overwrite Reserve • 50% of data deleted • Snapshot taken Reserved space still equals space utilized in LUN: 198 MB Used Space reflects LUN size + reserve + snapshot util df -r spres Filesystem kbytes used avail reserved /vol/spres/ 614400 53152082880 208500 /vol/spres/.snapshot 0 112188 0 0 Network Appliance Confidential

  11. Space Reservations100% Snapshot 600 MB Volume ~200 MB Overwrite Reserve • 100% of data deleted and rewritten • Reserved space used to write data blocks • Cannot take additional snapshot Reserved space still equals space utilized in LUN: 198 MB Used Space reflects LUN size + reserve + snapshot util df -r spres Filesystem kbytes used avail reserved /vol/spres/ 614400 614400 0 208992 /vol/spres/.snapshot 0 316896 0 0 monitor.globalStatus.nonCritical:warning]: /vol/spres is full (using or reserving 100% of space and 0% of inodes, using 71% of reserve). Network Appliance Confidential

  12. Fractional Space Reservations25% Snapshot 600 MB Volume ~50 MB Overwrite Reserve • vol options spcres fractional_reserve 25 • Able to take snapshot Reserved space equals 25% of LUN: 50GB Used Space reflects LUN size + frac. reserve + snapshot util df -r spres Filesystem kbytes used avail reserved /vol/spres/ 614400 580060 34340 52248 /vol/spres/.snapshot 0 316920 0 0 Network Appliance Confidential

  13. Fractional Space Reservations25% Snapshot 600 MB Volume ~50 MB Overwrite Reserve • Delete all data Reserved space equals 25% of LUN: 50GB Used Space reflects LUN size + frac. reserve + snapshot util df -r spres Filesystem kbytes used avail reserved /vol/spres/ 614400 580060 34340 52248 /vol/spres/.snapshot 0 316920 0 0 Network Appliance Confidential

  14. Fractional Space Reservations25% Snapshot 600 MB Volume ~50 MB Overwrite Reserve • Rewrite 50 GB of data into LUN SUCCESSFUL • Attempt to rewrite 150 GB of data into LUN: FAILED fas960b> Mon Oct 24 11:32:01 CDT [fas960b: monitor.globalStatus.nonCritical:warning]: /vol/spres is full (using or reserving 100% of space and 0% of inodes, using 95% of reserve). Mon Oct 24 11:32:31 CDT [fas960b: wafl.vol.full:notice]: file system on volume spres is full Mon Oct 24 11:32:31 CDT [fas960b: wafl.write.fail.spcres:warning]: Write failed to file with space reservations due to lack of disk space in volume spres (inode 98, offset 129492480, len 65536). Mon Oct 24 11:32:31 CDT [fas960b: scsitarget.write.failureNoSpace:error]: Writeto LUN /vol/spres/spreslun.lun failed due to lack of space. Mon Oct 24 11:32:31 CDT [fas960b: lun.offline:warning]: LUN /vol/spres/spreslun.lun has been taken offline Network Appliance Confidential

  15. Fractional Space Reservations25% • lun online /vol/spres/spreslun.lun • lun show -v /vol/spres/spreslun.lun • /vol/spres/spreslun.lun 204.0m (213857280) (r/w, online, mapped) • Serial#: C4/wlJ0xUsLv • Share: none • Space Reservation: enabled • Multiprotocol Type: windows • Maps: viaRPC.iqn.1991-05.com.microsoft:grunt2.netapp-houston.netapp.com=4 • df -r spres • Filesystem kbytes used avail reserved • /vol/spres/ 614400 614400 0 52248 • /vol/spres/.snapshot 0 403448 0 0 • Mon Oct 24 11:38:01 CDT [fas960b: wafl.vol.full:notice]: file system on volume spres is full • Mon Oct 24 11:38:01 CDT [fas960b: scsitarget.write.failureNoSpace:error]: Writeto LUN /vol/spres/spreslun.lun failed due to lack of space. • Mon Oct 24 11:38:01 CDT [fas960b: lun.offline:warning]: LUN /vol/spres/spreslun.lun has been taken offline • lun show -v /vol/spres/spreslun.lun • /vol/spres/spreslun.lun 204.0m (213857280) (r/w, offline, mapped) • Serial#: C4/wlJ0xUsLv • Share: none • Space Reservation: enabled • Multiprotocol Type: windows • Maps: viaRPC.iqn.1991-05.com.microsoft:grunt2.netapp-houston.netapp.com=4 Network Appliance Confidential

  16. Fractional Space Reservations 25%LUN Clone command • df -r spres • Filesystem kbytes used avail reserved Mounted on • /vol/spres/ 614400 211276 403124 0 /vol/spres/ • /vol/spres/.snapshot 0 0 0 0 /vol/spres/.snapshot • fas960b> snap create spres snap1 • fas960b> df -r spres • Filesystem kbytes used avail reserved Mounted on • /vol/spres/ 614400 263596 350804 52248 /vol/spres/ • /vol/spres/.snapshot 0 72 0 0 /vol/spres/.snapshot • lun clone create /vol/spres/spreslunclone.lun -b /vol/spres/spreslun.lun snap1 • df -r spres • Filesystem kbytes used avail reserved Mounted on • /vol/spres/ 614400 472880 141520 52248 /vol/spres/ • /vol/spres/.snapshot 0 72 0 0 /vol/spres/.snapshot • lun clone create /vol/spres/spreslunclone.lun -o noreserve -b /vol/spres/spreslunclone2.lun • df -r spres • Filesystem kbytes used avail reserved Mounted on • /vol/spres/ 614400 472880 141520 52248 /vol/spres/ • /vol/spres/.snapshot 0 72 0 0 /vol/spres/.snapshot Network Appliance Confidential

  17. On Data ONTAP versions before 7.0 the .rws file was initially created as space-reserved due to Bug ID 130299. The space reservation was being removed immediately after creation, but the creation itself failed if the space available on the volume was less than the size of the backing LUN in snapshot. This problem does not occur in Data ONTAP 7.0 and later because BUG ID 130299 is fix for these versions. Fractional Space Reservations 25%LUN Clone with SnapDrive fas960b> df -r spres Filesystem kbytes used avail reserved /vol/spres/ 614400 211276 403124 0 /vol/spres/.snapshot 0 0 0 0 fas960b> snap create spres snap1 fas960b> df -r spres Filesystem kbytes used avail reserved /vol/spres/ 614400 263596 350804 52248 /vol/spres/.snapshot 0 72 0 0 Connect LUN with SnapDrive fas960b> df -r spres Filesystem kbytes used avail reserved /vol/spres/ 614400 263692 350708 52248 /vol/spres/.snapshot 0 88 0 0 Network Appliance Confidential

More Related