DPM_DELREPLICA(3) | DPM Library Functions | DPM_DELREPLICA(3) |
dpm_delreplica - delete a given replica
#include <sys/types.h>
#include "dpm_api.h"
int dpm_delreplica (char *pfn)
dpm_delreplica deletes a given replica. It removes the file from disk, updates the pool free space and removes the replica entry from the DPNS.
This routine returns 0 if the operation was successful or -1 if the operation failed. In the latter case, serrno is set appropriately.
$Date: 2006/04/08 14:51:17 $ | LCG |