Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Error when archiving a session

85 views
Skip to first unread message

D Tan

unread,
Dec 30, 2024, 4:58:30 PM12/30/24
to xnat_discussion
Hello,

I am unable to archive some scans on XNAT and wonder if anyone has experienced this before? 

The error message that I receive when I tried to archive:
Extraction/Review failed: Unable to archive xxxx: Operation Failed: org.nrg.action.ServerException: /data/xnat/prearchive/xxxx/SCANS/1/DICOM/.~lock-scan_1_catalog.xml

I see this warnings when I click on details for the session before archiving:
Current Warnings
WARN-20: Scan 1 has 2 non-DICOM (or non-parsable DICOM) files
WARN-20: Scan 99 has 8 non-DICOM (or non-parsable DICOM) files
WARN-21: Expected a catalog file, however it was missing.
WARN-21: Expected a catalog file, however it was missing.

In the xdat.log:

 [http-nio-8080-exec-10] ERROR org.nrg.xnat.utils.CatalogUtils - Unable to obtain read lock for file: /data/xnat/prearchive/xxxx/SCANS/1/DICOM/scan_1_catalog.xml
java.io.FileNotFoundException: /data/xnat/prearchive/xxxx/SCANS/1/DICOM/.~lock-scan_1_catalog.xml (No such file or directory)

I tried rebuilding the session but it also didn't work. 


BinZ

unread,
Jan 23, 2025, 1:10:52 PMJan 23
to xnat_discussion
Hi Tan,

Are you using the NFS system for storage?

D Tan

unread,
Jan 27, 2025, 5:12:19 AMJan 27
to xnat_discussion
Hi, 

It is CIFS over a RAID setup. 

BinZ

unread,
Jan 27, 2025, 11:36:13 AMJan 27
to xnat_discussion
The lock files generated by CIFS could be the reason.

D Tan

unread,
Jan 29, 2025, 11:19:15 AMJan 29
to xnat_discussion
Hi,

Thanks very much for the suggestion. I have managed to resolve the archiving issue by adding the nobrl and nolease flags when mounting.

From the CIFS manual: 
  • nobrl: Disables byte-range locking
  • nolease: Prevents the CIFS client from requesting lease oplocks

Reply all
Reply to author
Forward
0 new messages