Page 1 of 1

clean up disk

PostPosted: Tue Jan 26, 2010 3:55 pm
by MidM
I got a question of deleting data.

User A imports images for one experiment, views and analyses them, after that, wants to delete some unnessensary images. These images can be deleted from client.insight images catagory and then are not found anywhere. But I found that these data are not actually deleted from the server OMERO category (still on the disk).

So i did cleanse.py script, it showes files in Files <keep> and in Pixels <remove>, all the files are not deleted. If these data can not be cleaned up, it would occpuy disk spaces.

how to 'deep clean' the deleted images and free disk space?

many thanks

Re: clean up disk

PostPosted: Wed Jan 27, 2010 8:38 am
by jmoore
Can you show us the output of cleanse.py? Also, which files are hanging around which you expect to be removed? What's the output of
Code: Select all
ls -ltrah <filename>
and
Code: Select all
file <filename>
on those files?

Re: clean up disk

PostPosted: Thu Jan 28, 2010 1:23 pm
by MidM
Reconciling OMERO data directory...
/OMERO\Files
\_ /OMERO\Files\252 <keep>
\_ /OMERO\Files\253 <keep>
\_ /OMERO\Files\301 <keep>
\_ /OMERO\Files\302 <keep>
Reconciling OMERO data directory...
/OMERO\Pixels
\_ /OMERO\Pixels\151 <remove>
\_ /OMERO\Pixels\152 <keep>
\_ /OMERO\Pixels\201 <keep>
\_ /OMERO\Pixels\202 <keep>
CLeansing context: 1 files <1440000 bytes>



PS, i) i use windows, not tried in linux version yet; ii) although it says clean up one file here, the OMERO directory volume does not change at all and all files are kept instead.

Re: clean up disk

PostPosted: Thu Feb 11, 2010 1:40 pm
by cxallan
We've now got this issue in the ticketing system, here:

http://trac.openmicroscopy.org.uk/omero/ticket/1790

I'll update the thread when we've had a chance to come to a suitable solution.

Re: clean up disk

PostPosted: Mon Feb 22, 2010 4:26 pm
by cxallan
Ticket closed as invalid, I'm unable to re-produce this. Did you run with --dry_run?