I have a dcm4chee running on AWS shipping files to nearline. What I've been struggling with is that It never successfully finds files to delete from ONLINE storage. With Changes below I can delete a significant amount of data, however I'm essentially telling it to stop checking to see if data properly synced with nearline before deletion. Can someone confirm this? Or make any recommendations to the deletion criteria? I want to delete files older than 5-10 weeks unless the disks free space is sub 20Gb. I also want to make sure that the files have indeed been copied from archive to nearline (in this case an S3 bucket) prior to the delete.
DeleteStudyIfNotAccessedFor: 8w
DeleteStudyOnlyIfNotAccessedFor: 1d
DeleteStudyOnlyIfStorageNotCommited: False
DeleteStudyOnlyIfExternalRetrievable: True
InstanceAvailabilityOfExternalRetrievable: AUTO
DeleteStudyOnlyIfCopyOnMedia: False
DeleteStudyOnlyIfCopyOnFileSystemOfFileSystemGroup: NEARLINE_STORAGE
DeleteStudyOnlyIfCopyArchived: True
DeleteStudyOnlyIfCopyOnReadOnlyFileSystem: False
ScheduleStudiesForDeletionOnSeriesStored: True
ScheduleStudiesForDeletionInterval: 10m
DeleteStudyIfNotAccessedFor: 2w
DeleteStudyOnlyIfNotAccessedFor: 1d
DeleteStudyOnlyIfStorageNotCommited: False
DeleteStudyOnlyIfExternalRetrievable: False
InstanceAvailabilityOfExternalRetrievable: AUTO
DeleteStudyOnlyIfCopyOnMedia: False
DeleteStudyOnlyIfCopyOnFileSystemOfFileSystemGroup: NEARLINE_STORAGE
DeleteStudyOnlyIfCopyArchived: False
DeleteStudyOnlyIfCopyOnReadOnlyFileSystem: False
ScheduleStudiesForDeletionOnSeriesStored: True
ScheduleStudiesForDeletionInterval: 10m
My Second Issue. I've got FileCopy setup to output to a directory called tar-outgoing. However I can't find any deletion criteria for this outgoing directory. So my 500GB of Online Disk space filled up with roughly 250GB of archive and 250GB of this file copy outgoing folder (named tar-outgoing). Is there mechanism or service to clean the file copy incoming/outgoing directories up? If not should I just schedule a cronjob to do a delete on files over n time?