Shift: How to clean up Ceph storage after large deletion in OpenShift
Issue
- A large deletion in an OpenShift environment results in no capacity change in the Ceph OCS environment.
- Ceph OCS cluster is too full after deletion in OpenShift when Nodes with SSD NVMe disks are in use.
- Observe that storage in your Ceph cluster is reaching capacity despite efforts to clean up or reduce PVs
- Ceph Tools may show high
%RAW USED
that does not match your expected total based on allocated storage. - How to implement fstrim via root crontab
Environment
Red Hat OpenShift Cluster Platform (OCP) 4.x
Red Hat OpenShift Container Storage (OCS) 4.x
Red Hat Ceph Storage (RHCS) 5.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.