Ceph objects created by an RBD image remains in the RADOS pool, even if files from the RBD- mount point are deleted, why?
Issue
-
An RBD image is mapped onto a RHEL7.1 (or higher versions) client node.
-
A filesystem is created on top of the RBD image and mounted onto a location in the filesystem tree.
-
Files are being written to the mount point and the space usage is verified by 'ceph df' and 'df -h'.
-
Deleting the files shows the space reclaimed in 'df -h', but not in 'ceph df'.
-
The objects created in the underlying pool, as part of the files created under the mount point, are not deleted and can be verified with:
# rados -p rbd ls
Environment
- Red Hat Ceph Storage 1.3.x
- Red Hat Ceph Storage 2.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
