Error
You get this :
$ 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)
Solution
srmcp doesn't work if your pool is of
volatile type.
Modify the type of the pool :
dpm-modifypool --poolname <my_pool> --s_type "-"
Help !
If it still doesn't help, send the relevant DPM log files to
hep-service-dpm@cernNOSPAMPLEASE.ch (remove the NONSPAM !).
--
SophieLemaitre - 20 Oct 2005