We're Hiring!

clean up disk

General user discussion about using the OMERO platform to its fullest. Please ask new questions at https://forum.image.sc/tags/omero
Please note:
Historical discussions about OMERO. Please look for and ask new questions at https://forum.image.sc/tags/omero

There are workflow guides for various OMERO functions on our help site - http://help.openmicroscopy.org

You should find answers to any basic questions about using the clients there.

clean up disk

Postby MidM » Tue Jan 26, 2010 3:55 pm

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
MidM
 
Posts: 9
Joined: Thu Jan 21, 2010 10:49 am

Re: clean up disk

Postby jmoore » Wed Jan 27, 2010 8:38 am

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?
User avatar
jmoore
Site Admin
 
Posts: 1591
Joined: Fri May 22, 2009 1:29 pm
Location: Germany

Re: clean up disk

Postby MidM » Thu Jan 28, 2010 1:23 pm

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.
MidM
 
Posts: 9
Joined: Thu Jan 21, 2010 10:49 am

Re: clean up disk

Postby cxallan » Thu Feb 11, 2010 1:40 pm

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.
cxallan
Site Admin
 
Posts: 509
Joined: Fri May 01, 2009 8:07 am

Re: clean up disk

Postby cxallan » Mon Feb 22, 2010 4:26 pm

Ticket closed as invalid, I'm unable to re-produce this. Did you run with --dry_run?
cxallan
Site Admin
 
Posts: 509
Joined: Fri May 01, 2009 8:07 am


Return to User Discussion

Who is online

Users browsing this forum: Google [Bot] and 1 guest

cron