NetApp / trident

Storage orchestrator for containers
Apache License 2.0
753 stars 219 forks source link

PVCs running out of space because of space used by snapshots. #356

Open nthawani opened 4 years ago

nthawani commented 4 years ago

For the ontap-nas-economy driver, qtree’s running out of space because of space used by snapshots. Does Trident consider snapshotReserve attribute while setting the size of Volume? e.g. If Volume1 has ten PVCs of 100GB each and snapshotReserve is 50%. What would be the Volume size? 1TB+ or 1.5TB+ ?

gnarl commented 4 years ago

Hi @nthawani,

"When Snapshot copies use more space than the Snapshot reserve, they spill over and use space in the active file system."

Either the snapshot reserve should be increased or you can monitor the number of snapshots created and delete the older ones.