dpm_delreplica man page

DPM_DELREPLICA(3) DPM Library Functions DPM_DELREPLICA(3)

[1mNAME[0m
dpm_delreplica - delete a given replica

[1mSYNOPSIS[0m
[1m#include <sys/types.h>[0m
[1m#include "dpm_api.h"[0m

[1mint dpm_delreplica (char *[4m[22mpfn[24m[1m)[0m

[1mDESCRIPTION[0m
[1mdpm_delreplica [22mdeletes a given replica. It removes the file from disk,
updates the pool free space and removes the replica entry from the
DPNS.

[4mpfn[24m is the Physical File Name for the replica.

[1mRETURN VALUE[0m
This routine returns 0 if the operation was successful or -1 if the
operation failed. In the latter case, [1mserrno [22mis set appropriately.

[1mERRORS[0m
[1mENOENT [22mThe named file or replica does not exist.

[1mEACCES [22mSearch 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.

[1mEFAULT [4m[22mpfn[24m is a NULL pointer.

[1mENAMETOOLONG [22mThe length of [4mpfn[24m exceeds [1mCA_MAXSFNLEN[22m.

[1mSENOSHOST [22mHost unknown.

[1mSENOSSERV [22mService unknown.

[1mSECOMERR [22mCommunication error.

[1mSEE ALSO[0m
[1mCastor_limits(4)[22m, [1mdpns_addreplica(3)[22m, [1mdpns_listreplica(3)[0m

LCG $Date: 2006/04/08 14:51:17 $ DPM_DELREPLICA(3)

Info