Hi Daniela,
Ah, right. Removing the files from the catalogue still needs to be done.
I could just rename the directory to lsst and should be available and
possible to delete the files.
However, I would like to see first if it's possible to just remove the
entries of the replicas in the file catalogue. This could be helpful if a
server on a site would fail and files would no longer be available (to be
deleted).
There is the dirac-dms-set-replica-status tool available. Do you know if
that could be used to set the status for the replicas on a specific site
to "deleted"? Unfortunately, the help option of this command doesn't show
what values can be specified for "status".
Or is there another command that could be used to remove the entries of
specific replicas/sites from the file catalogue?
Cheers,
Marcus
On Wed, 7 Dec 2016, Daniela Bauer wrote:
> Hi Marcus,
>
> as far as I can tell the lsst files on gridpp09.ecdf.ed.ac.uk are still
> registered in the dirac file catalogue.
> If they are still on the SE and you are able to put the directoty back, you
> can delete and unregister them at the same time using this script:
> https://raw.githubusercontent.com/ic-hep/DIRAC-tools/master/recursiverm.py
>
> Regards,
> Daniela
>
> On 7 December 2016 at 10:52, Marcus Ebert <[log in to unmask]> wrote:
>
>> Hi,
>>
>> Just an update on this:
>>
>> On Thu, 1 Dec 2016, Daniela Bauer wrote:
>>
>> Hi Marcus,
>>>
>>> I've replicated the content from UKI-SCOTGRID-ECDF1-disk to
>>> UKI-LT2-IC-HEP-disk (at least all the bits that are contained within
>>> the dirac catalogue):
>>>
>>> Number of files copied: 1942
>>> Data copied: 7.041 GB
>>> So they should stay accessible no matter what happens to the ECDF SEs.
>>>
>>> We just solved the problem of how to remove a VO from the SE in the
>> storage meeting. It is actually very simple.
>> It doesn't need to have the VOMS information or group information be
>> removed. All that is needed is to change/remove the name of the home
>> directory.
>> So in our case on gridpp09.ecdf.ed.ac.uk, the LSST home directory seen by
>> DPM was /dpm/ecdf.ed.ac.uk/home/lsst
>> By changing this to /dpm/ecdf.ed.ac.uk/home/test, LSST is no longer
>> reported as supported VO (but we suddenly support the VO TEST...).
>>
>>
>> Cheers,
>> Marcus
>> --
>>
>>
>> The University of Edinburgh is a charitable body, registered in
>> Scotland, with registration number SC005336.
>>
>
>
>
>
--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.
|