Error
You get this with
srmcp:
$ srmcp -debug=true file://localhost//tmp/hello srm://dpm01.pic.es:8443/dpm/pic.es/home/dteam/testdir2/test-srmcp
Exception in thread "main" java.io.IOException: rs.state = Failed rs.error = No space left on device
at gov.fnal.srm.util.SRMPutClient.start(SRMPutClient.java:331)
at gov.fnal.srm.util.SRMCopy.work(SRMCopy.java:409)
at gov.fnal.srm.util.SRMCopy.main(SRMCopy.java:242)
Tue Oct 18 15:59:17 CEST 2005: setting all remaining file statuses to "Done"
Tue Oct 18 15:59:17 CEST 2005: setting file request 0 status to Done
SRMClientV1 : getRequestStatus: try #0 failed with error
SRMClientV1 : Invalid state
java.lang.RuntimeException: Invalid state
at org.dcache.srm.client.SRMClientV1.setFileStatus(SRMClientV1.java:1097)
at gov.fnal.srm.util.SRMPutClient.run(SRMPutClient.java:362)
at java.lang.Thread.run(Thread.java:534)
Or a similar error with
globus-url-copy, or another utility.
Solution
The problem is that some utilities use Permanent as their default and some others Volatile.
For instance :
- srmcp doesn't work if your pool is of volatile type.
- globus-url-copy doesn't work if your pool is of permanent type.
You have two possibilities :
- Modify the type of the pool to "-" (this type allows both Volatile and Permanent files):
dpm-modifypool --poolname <my_pool> --s_type "-"
- Create two pools, one Volatile and one Permanent
Help !
If it still doesn't help, send the relevant DPM log files to
helpdesk@ggusNOSPAMPLEASE.org (remove the NONSPAM !).
--
SophieLemaitre - 20 Oct 2005