
Utility: osg_dc_retire_a_pool
This utility is an external way to safely remove a pool from dCache. It takes an
inventory of all the files in all pools, and determines all files which are
unique on the pool to be retired. It then starts P2P transfers of just the unique
files. If any in-process P2P transfers do not appear to be valid (too-slow or
do not appear to have a valid source/destination), they will be cancelled. Valid
in-process P2P transfers will be accounted for and multiple P2P transfers for
the same file will not be started.
dCache admin interface access and a PNFS mount are required.
One of the design goals of this tool is that the last line of output will inform
the site administrator whether or not it is safe to turn the pool off. If the pool
is not safe to turn off, the approximate number of in-progress plus started
transfers will be printed out.
Usage:
osg_dc_retire_a_pool [-dryrun] <poolname>
Required Arguments:
<poolname> Name of the pool to retire.
Optional Arguments:
-dryrun Perform a dry run, i.e., no files will be actually copied.
Back to the Manual | Back to the Toolkit