Analyze File System usage and metering

Summary

Clones and snapshots are charged for differences from the primary file system. Clones have an extra overhead of metadata. df and du can report differing values. df reports the correct value for the metered usage.

Reference

Course Notes

Notes from the course:

File System Usage and Metering

  • Reports metered file system utilization
  • Updates hourly
  • Can use df and du commands to see usage
  • Utilization size reported by du can be much larger than the meteredBytes value
  • df reports the same value as meteredBytes

Sanpshot Metered Utilization

  • Initially consume no additional usage
  • Reference the original data instead of duplicating it
  • Included in the reporting meteredBytes value of the file system

Clone Metered Utilization

  • Clone references the parent file system's data
  • Clone is metered for all its metadata and incremental changes made