vishesh92 commented on issue #9730:
URL: https://github.com/apache/cloudstack/issues/9730#issuecomment-2607129158

   @top-secrett I was able to reproduce the scenario by removing the SSVM and 
then deleting the snapshot. This resulted in snapshot not getting deleted from 
the storage. In this case, the state of the snapshot in `snapshot_store_ref` is 
in `Destroying` state.
   
   We have a storage garbage collector running which checks the 
`snapshot_store_ref` table where state is `Destroying` and removes the snapshot 
from the secondary storage. By default, this runs once a day. You can configure 
it using the following global settings - `storage.cleanup.enabled`, 
`storage.cleanup.interval`
   
   
https://github.com/apache/cloudstack/blob/81e052cfebf5bcdb09e1922393a1753eb6707dae/server/src/main/java/com/cloud/storage/StorageManagerImpl.java#L1766
   
   @top-secrett Can you check if the storage garbage collector is enabled in 
your environment and the stale snapshots on disk gets deleted once it runs?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to