Section: DPM Library Functions (3) Updated: $Date: 2006/04/08 14:51:17 $ Local index
dpm_delreplica - delete a given replica
int dpm_delreplica (char *pfn)
deletes a given replica.
It removes the file from disk, updates the pool free space and removes the
replica entry from the DPNS.
is the Physical File Name for the replica.
This routine returns 0 if the operation was successful or -1 if the operation
failed. In the latter case,
is set appropriately.
The named file or replica does not exist.
Search permission is denied on a component of the parent directory or
the effective user ID does not match the owner of the file or
write permission on the file entry itself is denied.
is a NULL pointer.
The length of
- RETURN VALUE
- SEE ALSO
This document was created by
using the manual pages.
Time: 21:45:13 GMT, April 16, 2011