Version: 1.6
OS: CentOS 7
I have created a space for the local filesystem (default) which works fine.
However, to accommodate very large transfers and storage, a second space, using NFS, has been created which is proving to be problematic.
I have used two symlinking strategies for the NFS mount (/datasets):
1) In /var
archivematica -> /datasets/lib-archive/var/archivematica/
2) In /var/archivematica (currently using)
ingest -> /datasets/lib-archive/var/archivematica/ingest/
sharedDirectory -> /datasets/lib-archive/var/archivematica/sharedDirectory/
storage_service -> /datasets/lib-archive/var/archivematica/storage_service/
storage-service
Test transfer:
ingest/
└── aac
└── foo.txt
The transfer fails almost immediately within the Micro-service: Verify transfer compliance, on Job: Set file permissions.
The detail for the failed job:
Command: setDirectoryPermissionsForAppraisal_v0.0
"/var/archivematica/sharedDirectory/watchedDirectories/activeTransfers/standardTransfer/aac/"
STDERR
chown: changing ownership of ‘/var/archivematica/sharedDirectory/watchedDirectories/activeTransfers/standardTransfer/aac/foo.txt’: Operation not permitted
chown: changing ownership of ‘/var/archivematica/sharedDirectory/watchedDirectories/activeTransfers/standardTransfer/aac/’: Operation not permitted
This is the same error obtained in a shell when trying to chown anything on the NFS volume.
I edited setDirectoryPermissionsForAppraisal.sh to make it exit early before it does anything, just to see how essential it is. Everything in the preservation process is reported as being successful but Storing the AIP fails (nothing in logs):
Command: storeAIP_v0.0 "/api/v2/location/80c5e725-f785-442b-a03d-40bbd7f3fb09/" "/var/archivematica/sharedDirectory/currentlyProcessing/aac-a1dcbc4d-bc73-42ad-9174-fc4a37062967/aac-a1dcbc4d-bc73-42ad-9174-fc4a37062967.7z" "a1dcbc4d-bc73-42ad-9174-fc4a37062967" "aac" "SIP"
STDERR
SIP creation failed. See Storage Service logs for more details
Tinkering like this though feels very much like trial-and-error and in this case, it doesn't actually fix the problem.
Am I missing something?
Best wishes
Adrian
--
Dr Adrian Albin-Clark
Digital Developer
Lancaster University Library
@aalbinclark