Hi Hans, thanks for your help. I didn't realize the sh scripts came with their own options. I just misunderstood that in the documentation. It seems to have worked though, the log file says: # 2013-02-28 11:56:20 - Handling stuff older than 1 days ... Purged 10097 datasets Freed disk space: 9515493164336 Elapsed time: 5669.43398285 So the freed disk space should be around 9 TB, right? Best regards, Sarah ----- Original Message ----- From: "Hans-Rudolf Hotz" <hrh@fmi.ch> To: "Sarah Diehl" <diehl@ie-freiburg.mpg.de> Cc: "galaxy-dev@lists.bx.psu.edu List" <galaxy-dev@lists.bx.psu.edu> Sent: Thursday, February 28, 2013 4:18:49 PM Subject: Re: [galaxy-dev] purging datasets doesn't free up disk space Hi Sarah May be the histories and/or datasets are shared with users who did not delete them? Also, have you looked at the log files? What is written in the log files for the purge_datasets.sh step? Do you have lines like: "Removing disk, file ***/database/files/008/dataset_8271.dat" and at the very end, something like: Purged 82 datasets Freed disk space: 647719608 Elapsed time: 1.51890397072 And I am confused with the way you call the scripts. This might be explained by different galaxy versions, however: "delete_userless_histories.sh" is in my case a wrapper executing 'cleanup_datasets.py' with the options: "-d 90 -1". I do not provide the options when I call it. and the same is true for all the other scripts Regards, Hans-Rudolf On 02/28/2013 01:51 PM, Sarah Diehl wrote:
Hello,
our Galaxy server is running low on disk space, so I asked all users to (permanently) delete old histories and datasets. One specific user alone managed to reduce his space usage by 2 TB. That's at least what the Galaxy server says. Afterwards I additionally ran the following scripts:
delete_userless_histories.sh -d 1 -r -f purge_histories.sh -d 1 -r -f purge_libraries.sh -d 1 -r -f purge_folders.sh -d 1 -r -f python cleanup_datasets.py universe_wsgi.ini -d 200 -6 -r -f purge_datasets.sh -d 1 -r -f
Purging the histories took very long (about a day) and the log of deleted histories is huge. Purging the datasets also took some time. However, my disk usage is still the same as before. It wasn't reduced at all.
Did I miss some important step or some waiting time? Any help would be appreciated.
Thanks, Sarah ___________________________________________________________ Please keep all replies on the list by using "reply all" in your mail client. To manage your subscriptions to this and other Galaxy lists, please use the interface at: