You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Fariborz Navidan <md...@gmail.com> on 2019/11/13 14:45:12 UTC

Delete files with no reference in DB?

Hello

Is it safe to delete volume files in primary or secondary storage without
any reference in DB or those marked as removed?
Is it safe to delete files with no reference in DB?

Re: Delete files with no reference in DB?

Posted by Daan Hoogland <da...@gmail.com>.
H Fariborz,
If you checked all relevant tables, by all means. Think of volumes,
templates, snapshots, I don't thinks there is any others. Best is to do a
grep on a db dump for the basename of the file, if that doesn't give a hit,
you are free to go.

On Wed, Nov 13, 2019 at 3:45 PM Fariborz Navidan <md...@gmail.com>
wrote:

> Hello
>
> Is it safe to delete volume files in primary or secondary storage without
> any reference in DB or those marked as removed?
> Is it safe to delete files with no reference in DB?
>


-- 
Daan