ederson-torresini / openstack-ifsc

[CLOSED] Openstack case study
Apache License 2.0
2 stars 0 forks source link

Review orphan images in Ceph #11

Closed ghost closed 9 years ago

ghost commented 9 years ago

According to Ceph, there are 36 images and 32 snapshots (rbd -p images ls -l). Ceph, internally, create a snapshot for each new image. However, Glance shows me only 22 images (glance image-list --all-t). As used disk space approaches 60% full capacity, it's time to review which images and snapshots are orphans - and can be deleted.

ghost commented 9 years ago

A cleaning tool? Maybe CERN nova-db-purge is what I looking for to get my hands dirty.

ghost commented 9 years ago

At last! There was no need a tool for that. After reading Glance database, I've found old (and marked as deleted) images, which the cleaning process hasn't removed in Ceph.