Tags:
create new tag
view all tags

Arrow left Go to previous page / next page of Tier3 site log MOVED TO...

04. 03. 2013 SRM Error: Already have 1 record(s) with pnfsPath

Got this e-mail from a T3 user
Dear admins,

I am trying to copy a file to the tier3
srmcp -2 -globus_tcp_port_range 20000,25000  --streams_num=1 srm://stormfe1.pi.infn.it:8444/srm/managerv2?SFN=/cms/store/user/arizzi/Ntuple_Step1V42_Step2Tag_EDMV42_Step2_V5_MC/DiJetPt_DY1JetsToLL_M-50_TuneZ2Star_8TeV-madgraph_procV2_mergeV1V2.root srm://t3se01.psi.ch:8443/srm/managerv2?SFN=/pnfs/psi.ch/cms/trivcat/store/HBB_EDMNtuple/V42/March1/DiJetPt_DY1JetsToLL_M-50_TuneZ2Star_8TeV-madgraph_procV2_mergeV1V2.root

but getting an error, that the file already exists (see below**).
However, srmls does not list the file

srmls srm://t3se01.psi.ch:8443/srm/managerv2?SFN=/pnfs/psi.ch/cms/trivcat/store/HBB_EDMNtuple/V42/March1/DiJetPt_DY1JetsToLL_M-50_TuneZ2Star_8TeV-madgraph_procV2_mergeV1V2.root
 - Status code:  SRM_FAILURE
 - Explanation:  All ls requests failed in some way or another
SRM_INVALID_PATH   File/directory 0 /pnfs/psi.ch/cms/trivcat/store/HBB_EDMNtuple/V42/March1/DiJetPt_DY1JetsToLL_M-50_TuneZ2Star_8TeV-madgraph_procV2_mergeV1V2.root does not exist. 

Cheers,
Niklas


**
Mon Mar 04 10:33:47 CET 2013: copyFileRequest[srm://stormfe1.pi.infn.it:8444/srm/managerv2?SFN=/cms/store/user/arizzi/Ntuple_Step1V42_Step2Tag_EDMV42_Step2_V5_MC/DiJetPt_DY1JetsToLL_M-50_TuneZ2Star_8TeV-madgraph_procV2_mergeV1V2.root , srm://t3se01.psi.ch:8443/srm/managerv2?SFN=/pnfs/psi.ch/cms/trivcat/store/HBB_EDMNtuple/V42/March1/DiJetPt_DY1JetsToLL_M-50_TuneZ2Star_8TeV-madgraph_procV2_mergeV1V2.root] status=SRM_FAILURE explanation=FAILED:  at Mon Mar 04 10:33:46 CET 2013 state Failed : Marking Space as Being Used failed =>Already have 1 record(s) with pnfsPath=/pnfs/psi.ch/cms/trivcat/store/HBB_EDMNtuple/V42/March1/DiJetPt_DY1JetsToLL_M-50_TuneZ2Star_8TeV-madgraph_procV2_mergeV1V2.root
java.io.IOException: srmCopy update failed, status : SRM_FAILURE explanation= at Mon Mar 04 10:33:47 CET 2013 state Failed :  at Mon Mar 04 10:33:46 CET 2013 state AsyncWait : waiting for files to complete
RequestFileStatus#-2126950575 failed with error:[  at Mon Mar 04 10:33:46 CET 2013 state Failed : Marking Space as Being Used failed =>Already have 1 record(s) with pnfsPath=/pnfs/psi.ch/cms/trivcat/store/HBB_EDMNtuple/V42/March1/DiJetPt_DY1JetsToLL_M-50_TuneZ2Star_8TeV-madgraph_procV2_mergeV1V2.root]
the /pnfs file was really missing but the SRM table dcache.srmspacefile was still referring to it:
dcache=>  select * from srmspacefile where pnfspath like '%/pnfs/psi.ch/cms/trivcat/store/HBB_EDMNtuple/V42/March1/DiJetPt_DY1JetsToLL_M-50_TuneZ2Star_8TeV-madgraph_procV2_mergeV1V2.root%';
   id    | vogroup | vorole | spacereservationid | sizeinbytes | creationtime  | lifetime |                                                            pnfspath                                                             | pnfsid | state | deleted 
---------+---------+--------+--------------------+-------------+---------------+----------+---------------------------------------------------------------------------------------------------------------------------------+--------+-------+---------
 6682365 | /cms    |        |            6682364 |  7727979669 | 1362388275588 |  5999861 | /pnfs/psi.ch/cms/trivcat/store/HBB_EDMNtuple/V42/March1/DiJetPt_DY1JetsToLL_M-50_TuneZ2Star_8TeV-madgraph_procV2_mergeV1V2.root |        |     0 |       0
that row was referring the token id 6682364; please note that both sizeinbytes fields match => just 1 file for that space token.
dcache=> select * from srmspace where id = 6682364 ; 
   id    | vogroup | vorole | retentionpolicy | accesslatency | linkgroupid | sizeinbytes | creationtime  | lifetime | description | state | usedspaceinbytes | allocatedspaceinbytes 
---------+---------+--------+-----------------+---------------+-------------+-------------+---------------+----------+-------------+-------+------------------+-----------------------
 6682364 | /cms    |        |               1 |             1 |       20000 |  7727979669 | 1362388275506 |  5999896 |             |     0 |                0 |            7727979669
Thus I deleted both ( considered safe to do this ):
dcache=> DELETE FROM srmspacefile WHERE pnfspath ='/pnfs/psi.ch/cms/trivcat/store/HBB_EDMNtuple/V42/March1/DiJetPt_DY1JetsToLL_M-50_TuneZ2Star_8TeV-madgraph_procV2_mergeV1V2.root';
dcache=> DELETE FROM srmspace WHERE id = 6682364;

I asked the user to try again and this time he succeded with his copy.

Other instances of the same issue

Problem occured again on 05.03.2013 with a different file in the same folder (transfer of this file failed before due to connection timeout)

-- FabioMartinelli - 2013-03-04


Arrow left Go to previous page / next page of Tier3 site log MOVED TO...

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2013-03-06 - DanielMeister
 
This site is powered by the TWiki collaboration platform Powered by Perl This site is powered by the TWiki collaboration platformCopyright © 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback