debian man page for dpm_delreplica

Query: dpm_delreplica

OS: debian

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

DPM_DELREPLICA(3)					       DPM Library Functions						 DPM_DELREPLICA(3)

NAME
dpm_delreplica - delete a given replica
SYNOPSIS
#include <sys/types.h> #include "dpm_api.h" int dpm_delreplica (char *pfn)
DESCRIPTION
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. pfn is the Physical File Name for the replica.
RETURN VALUE
This routine returns 0 if the operation was successful or -1 if the operation failed. In the latter case, serrno is set appropriately.
ERRORS
ENOENT The named file or replica does not exist. EACCES 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. EFAULT pfn is a NULL pointer. ENAMETOOLONG The length of pfn exceeds CA_MAXSFNLEN. SENOSHOST Host unknown. SENOSSERV Service unknown. SECOMERR Communication error.
SEE ALSO
Castor_limits(4), dpns_addreplica(3), dpns_listreplica(3)
LCG
$Date: 2006/04/08 14:51:17 $ DPM_DELREPLICA(3)
Related Man Pages
dpns_delreplica(3) - debian
dpns_modreplica(3) - debian
dpns_modreplicax(3) - debian
dpns_setratime(3) - debian
lfc_setptime(3) - debian
Similar Topics in the Unix Linux Community
SAM-Execution permission denied
permission denied for &quot;. &quot; (dot space)
issue with mailing
Getting Error 0403-006 Execute permission denied.
Permission denied