Print

Print


Hi Ewan,

I think what you are asking sounds very reasonable but the functionality 
does not currently exist in the DPM CLI. This may be another good time 
for the DPM toolkit to come to the rescue. I'll need to look at the API 
to see if it's possible.

Cheers,
Greig

On 03/03/09 14:01, Ewan MacMahon wrote:
> Hi all,
> 
> I'm still tinkering with various things on Oxford's DPM, and
> have found something that I'm sure I should be able to do, but
> I just can't see how.
> 
> I'd like to move a particular file from one pool to another,
> essentially by manually doing for one file what dpm-drain does for 
> multiple files. I can make a new replica on a new pool using 
> dpm-replicate, at which point lcg-gt etc. will return a (randomly 
> chosen?) one of the two possible turls.
> 
> What I'd like to do next is delete the first replica leaving just
> the new one, but nothing's leaping out as an obvious interface
> for doing that; rfrm seems to allow me to nuke the file from the
> disk, but not from the database, so lcg-gt still returns both turls,
> even though one of them's not there any more, and dpns-rm (obviously)
> gets rid of the file completely.
> 
> So, anyone know how to do this?
> 
> Ewan
>