Prevent a "pool" from filling up...

Ivanmarrese

Member
Sep 9, 2022
7
0
6
Hi all,
by mistake we cloned a VM with 3TB disk onto pool CephSSD.
Thus, we have saturated the "pool" and you can imagine...
Using rbd rm etc. we slowly recovered Ceph
Is it a good choice to set the maximum size of a pool?
Image my CephSSD is 20TB and I'd like not to exceed 19TB I could set as follow
Code:
ceph osd pool set-quota CephSSD [max_bytes BYTES]
(need to calculate bytes -> TB)

It's quite rigid and dangerous, I know. And I also know that I should use a monitoring tool to send alert.

Thanks