Hi Mona,
I haven't tested this myself but I think you'd want to do something like this to move all files off a pool:
1. In the PoolManager admin module, disable the pool with psu set disabled <poolname>
2. In the destination pool admin module, do pp get file <pnfsid> <srcpoolname> and rep set precious <pnfsid> -force for all the files in the src pool
3. In the source pool admin module, do pnfs unregister
4. Stop the dcache-pool service on the appropriate system, remove the source pool line from the /opt/d-cache/<host>.poollist and the restart the dcache-pool service.
I think you need access to the admin interface to find out if a file is marked for deletion:
1. Go into the PnfsManger and do pnfsidof <file>
2. Then do flags ls <pnfsid returned above>
If the file is marked deletable then the line d -> true will appear in the output
Derek
-----Original Message-----
From: GRIDPP2: Deployment and support of SRM and local storage management [mailto:[log in to unmask]]On Behalf Of Mona Aggarwal
Sent: 01 July 2005 11:54
To: [log in to unmask]
Subject: dCache -- Remove a pool?
Dear all,
At IC we have local CMS group getting ready to test the
dCache. Based on the discussions with the group, it
looks the pool structure on the disk need to be changed.
Can some one answer the following questions?
a) How to remove a pool completely without reinstalling the
Pool node. In other words copying all the files from
one pool to another pool.
b) How can we confirm that the file is marked for deletion
after using srm-advisory-delete command?
Regards,
Mona
====================================
Tel. (+44)20 759 47809
Imperial College London
High Energy Physics Department
The Blackett Laboratory
Prince Consort Road, London, SW7 2BW
====================================
|