Task #7240 (new)
Opened 13 years ago
Last modified 10 years ago
Bug: deleted images not freeing space — at Initial Version
Reported by: | wmoore | Owned by: | jmoore |
---|---|---|---|
Priority: | major | Milestone: | OMERO-Beta4.4 |
Component: | Services | Version: | n.a. |
Keywords: | Delete | Cc: | fs@… |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | n.a. |
Sprint: | n.a. |
Description
Seems that Scott has deleted a lot of images on gretzky (Big Images)? that have not freed up space on disk.
Free disk space (using $ df) is approximately the same as that reported in webadmin, so this seems to be reporting correctly. Must also be including the deleted imgaes/pixels.
In Scott's 'JRS-read-only' group, under Orphaned images, there are a bunch of images with failing thumbnails. E.g.
id | permissions | methodology | physicalsizex | physicalsizey | physicalsizez | sha1 | sizec | sizet | sizex | sizey | sizez | timeincrement | version | waveincrement | wavestart | creation_id | external_id | group_id | owner_id | update_id | dimensionorder | image | pixelstype | relatedto | image_index | path | name | repo | params -------+-------------+-------------+---------------+---------------+---------------+------+-------+-------+-------+-------+-------+---------------+---------+---------------+-----------+-------------+-------------+----------+----------+-----------+----------------+-------+------------+-----------+-------------+---------------+-------+------+---------------- 28690 | -39 | | | | | Foo | 3 | 1 | 34814 | 13067 | 1 | | | | | 327964 | | 5 | 155 | 327964 | 1 | 28890 | 5 | | 0 | Files/Dir-014 | 14779 | | {{image_no,2}}
This references a file on disk:
omero@gretzky:~$ ls -al /OMERO/Files/Dir-014/14779 -rw-r--r-- 1 omero omero 421455123 2011-10-17 11:58 /OMERO/Files/Dir-014/14779
This file is not removed when the image is deleted, even though the row is removed from pixels table.