Greig Alan Cowan wrote:
>
>
> On 07/03/08 15:27, John Bland wrote:
>> Greig Alan Cowan wrote:
>>> I was just running:
>>>
>>> srmcp -1 -debug file:////etc/group
>>> srm://hepgrid5.ph.liv.ac.uk:8443/pnfs/ph.liv.ac.uk/data/dteam/greig_test_dir/test-gc01
>>>
>>>
>>> srmcp -2 -debug file:////etc/group
>>> srm://hepgrid5.ph.liv.ac.uk:8443/pnfs/ph.liv.ac.uk/data/dteam/greig_test_dir/test-gc02
>>>
>>>
>>> srmcp -2 -debug file:////etc/group
>>> srm://hepgrid5.ph.liv.ac.uk:8443/pnfs/ph.liv.ac.uk/data/dteam/greig_test_dir/test-gc03
>>> -space_token=20000
>>
>> With spacemanager off the first two work, haven't tried the third.
>> With spacemanager on the first two fail the third works.
>
> OK, with the space manager back on, the second command above gives:
>
> Fri Mar 07 15:35:04 GMT 2008: srmPrepareToPut update failed, status :
> SRM_NO_FREE_SPACE explanation= at Fri Mar 07 15:35:04 GMT 2008 state
> Failed : at Fri Mar 07 15:35:02 GMT 2008 state Pending : created
> RequestFileStatus#-2145347669 failed with error:[ at Fri Mar 07
> 15:35:03 GMT 2008 state Failed : no space available]
>
> Fri Mar 07 15:35:04 GMT 2008:
> PutFileRequest[srm://hepgrid5.ph.liv.ac.uk:8443/pnfs/ph.liv.ac.uk/data/dteam/greig_test_dir/test-gc-04]
> status=SRM_NO_FREE_SPACE explanation= at Fri Mar 07 15:35:03 GMT 2008
> state Failed : no space available
> Fri Mar 07 15:35:04 GMT 2008: java.io.IOException: srmPrepareToPut
> update failed, status : SRM_NO_FREE_SPACE explanation= at Fri Mar 07
> 15:35:04 GMT 2008 state Failed : at Fri Mar 07 15:35:02 GMT 2008 state
> Pending : created
> RequestFileStatus#-2145347669 failed with error:[ at Fri Mar 07
> 15:35:03 GMT 2008 state Failed : no space available]
>
> So it seems like the implicit space reservation isn't working. But it's
> defintely turned on in dCacheSetup...
>
> You definitely have the PNFS tags set correctly?
[root@hepgrid5 greig_test_dir]# cat ".(tags)(all)"
.(tag)(OSMTemplate)
.(tag)(sGroup)
.(tag)(AccessLatency)
.(tag)(RetentionPolicy)
[root@hepgrid5 greig_test_dir]# cat ".(tag)(OSMTemplate)"
StoreName dteam
[root@hepgrid5 greig_test_dir]# cat ".(tag)(sGroup)"
STATIC
[root@hepgrid5 greig_test_dir]# cat ".(tag)(AccessLatency)"
ONLINE
[root@hepgrid5 greig_test_dir]# cat ".(tag)(RetentionPolicy)"
REPLICA
And the same for other dteam directories (generated has sGroup GENERATED).
from dCacheSetup:
srmSpaceManagerEnabled=yes
srmImplicitSpaceManagerEnabled=yes
SpaceManagerDefaultRetentionPolicy=REPLICA
SpaceManagerDefaultAccessLatency=ONLINE
SpaceManagerReserveSpaceForNonSRMTransfers=true
SpaceManagerLinkGroupAuthorizationFileName=/opt/d-cache/etc/LinkGroupAuthorization.conf
John
--
Dr John Bland, Systems Administrator
Room 210, Oliver Lodge
Particle Physics Group, University of Liverpool
Mail: [log in to unmask]
Tel : 0151 794 3396
|