unable to delete studies in dcm4chee-arc-light when the filesystem is full

1,052 views
Skip to first unread message

Alessio Ciregia

unread,
Jun 20, 2017, 10:20:26 AM6/20/17
to dcm4che
Following
<https://github.com/dcm4che/dcm4chee-arc-light/wiki/Generic-Storage> I
added a second local filesystem.

In the other filesystem I set up the Storage Threshold.

When the occupied space reaches such threshold, the expected behavior
should be the switch to the second filesystem (like in dcm4chee 2.x).
This doesn't happen: and the archive refuses new studies because the
shortage of disk space, maybe I'm wrong in some configuration option.

But in addition I'm unable to delete already stored studies in order to
make room, because of the same fact: No space left on FileSystemStorage.

Someone else spotted These behaviors?


Thanks.
A.

gunterze

unread,
Jun 21, 2017, 6:04:02 AM6/21/17
to dcm4che
Guess you did not add a reference to the second Storage to the Archive Network AE , so when the reference to the first storage get removed from that AE on reaching the threshold, no reference left.

Alessio Ciregia

unread,
Jun 21, 2017, 9:11:32 AM6/21/17
to dcm...@googlegroups.com
On 06/21/2017 12:04 PM, gunterze wrote:
> Guess you did not add a reference to the second Storage to the Archive
> Network AE
> <http://dcm4chee-arc-cs.readthedocs.io/en/latest/networking/config/archiveNetworkAE.html>
> , so when the reference to the first storage get removed from that AE on
> reaching the threshold, no reference left.

Indeed I miss such reference.
But also adding the second filesystem to the AEtitle, it seems that the
first sotrage is not removed from that AE: it seems that dcm4chee
insists to write to the first one.

2017-06-21 12:59:29,886 INFO [org.dcm4chee.arc.storage.StorageFactory]
(EE-ManagedExecutorService-default-Thread-63) No space left on
FileSystemStorage{file:/opt/dcm4chee-arc-light/wildfly/standalone/data/fs1/}


This is what I have in LDAP:

dicomAETitle=MYAETITLE,dicomDeviceName=dcm4chee-arc,cn=Devices,cn=DICOM
Configuration,dc=dcm4che,dc=org
...
dcmObjectStorageID: fs1
dcmObjectStorageID: fs2
...

dcmStorageID=fs1,dicomDeviceName=dcm4chee-arc,cn=Devices,cn=DICOM
Configuration,dc=dcm4che,dc=org

...
dcmURI: ${jboss.server.data.url}/fs1/
dcmStorageThreshold: 5G
...

dcmStorageID=fs2,dicomDeviceName=dcm4chee-arc,cn=Devices,cn=DICOM
Configuration,dc=dcm4che,dc=org
...
dcmURI: /mnt/fs2
...


Thank you.
A.

Gunter Zeilinger

unread,
Jun 21, 2017, 12:23:12 PM6/21/17
to dcm...@googlegroups.com
dcmURI: /mnt/fs2

is not a valid URI! Should be:

dcmURI: file:///mnt/fs2

A.

--
You received this message because you are subscribed to the Google Groups "dcm4che" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dcm4che+unsubscribe@googlegroups.com.
To post to this group, send email to dcm...@googlegroups.com.
Visit this group at https://groups.google.com/group/dcm4che.
For more options, visit https://groups.google.com/d/optout.

Alessio Ciregia

unread,
Jun 22, 2017, 4:04:48 AM6/22/17
to dcm...@googlegroups.com
On 06/21/2017 06:23 PM, Gunter Zeilinger wrote:
> dcmURI: /mnt/fs2
>
> is not a valid URI! Should be:
>
> dcmURI: file:///mnt/fs2


Nice to know! Thank you very much.

Indeed ${jboss.server.data.url}/fs1/ (the default one) is a valid
URIbecause in the logs I can see that "jboss.server.data.url"
corresponds to "file:/opt/dcm4chee-arc-light/wildfly/standalone/data"

The fact that I'm unable to delete studies when the disk is full is due
to the fact that studies are not deleted, but moved to anoter AEtitle
(MYAETITLE_TRASH) and dcm4chee is unable to perform such operation due
to the same Storage Threshold, right?

In theory can I assign another filesystem to the TRASH AEtitle?
And also: there is a way to delete a study without moving it to the
trash? (If I'm not wrong, in the version 2 of the archive it was
possible to do that).


Thanks again.
Ciao
A.

vrinda...@j4care.com

unread,
Jun 22, 2017, 5:20:07 AM6/22/17
to dcm4che
To free up the filesystem space, you can do one of the following :
- Individually delete studies from TRASH AE : this gives you the choice to delete specific studies only.
- From More Functions dropdown select Permanent Delete : this gives you the option to delete all the rejected instances of a certain type at once. You may optionally choose to keep the rejection notes as mentioned in the popup
- Enable auto deletion of studies. Refer https://github.com/dcm4che/dcm4chee-arc-light/wiki/Deletion-of-anciently-accessed-studies
Reply all
Reply to author
Forward
0 new messages