Hello,
Actually I have an ONLINE_STORAGE which is nearly to become full. I would like to migrate all the old studies to a NEARLINE_STORAGE not accessed for X days(1h in my example).
I found this article very helpfull:
http://www.dcm4che.org/confluence/display/ee2/Using+Amazon+S3+for+NEARLINE+storageI just replace type=S3 by type=FileBased for HSM service
I have altered the following settings from the default in the file system management service for ONLINE_STORAGE:
*DeleteStudyIfNotAccessedFor = 1h
*DeleteStudyOnlyIfStorageNotCommited=false
*DeleteStudyOnlyIfCopyOnMedia=false
*DeleteStudyOnlyIfCopyOnReadOnlyFileSystem=false
*ScheduleStudiesForDeletionInterval=10m
*DeleteStudyOnlyIfNotAccessedFor = 1h
*DeleteStudyOnlyIfCopyOnFileSystemOfFileSystemGroup = NEARLINE_STORAGE
*DeleteStudyOnlyIfCopyArchived = true
*ScheduleStudiesForDeletionOnSeriesStored = false
For newly series strored FileCopy service does its job. I have a copy on NEARLINE_STORAGE.
I have in fact two problems:
- Old studies are not moved to NEARLINE_STORAGE and and not deleted from ONLINE_STORAGE
- All my studies are in status ONLINE on web interface
server.log:
2013-07-16 13:49:35,234 INFO -> (Thread-1342) [org.dcm4chex.archive.mbean.FileSystemMgt2Service] Check file system group LOSSY_STORAGE for deletion of orphaned private files
2013-07-16 13:49:39,546 INFO -> (Thread-1343) [org.dcm4chex.archive.hsm.SyncFileStatusService] Start SyncFileStatus!
2013-07-16 13:49:39,812 INFO -> (Thread-1343) [org.dcm4chex.archive.hsm.SyncFileStatusService] SyncFileStatus finished! changed files:0
2013-07-16 13:49:46,625 INFO -> (Thread-1344) [org.dcm4chex.archive.mbean.FileSystemMgt2Service] Check file system group ONLINE_STORAGE for deletion of orphaned private files
2013-07-16 13:49:46,640 INFO -> (Thread-1345) [org.dcm4chex.archive.mbean.FileSystemMgt2Service] Check file system group ONLINE_STORAGE for deletion of studies
2013-07-16 13:49:46,640 WARN -> (Thread-1345) [org.dcm4chex.archive.mbean.FileSystemMgt2Service] No study found for clean up filesystem group ONLINE_STORAGE! Please check your configuration!
2013-07-16 13:49:46,640 WARN -> (Thread-1345) [org.dcm4chex.archive.mbean.FileSystemMgt2Service] Trigger intervall: 1m
Trigger on SeriesStored:false
All studies not accessed for 1h.
And studies not accessed for 1h when running out of disk space!
Deleter Criteria:
1) External Retrievable
2) Copy on Filesystem Group NEARLINE_STORAGE
3) Copy must be archived
I really would appreciate any help (and sorry for my english !)
Thanks.