dpm-register(1) - Linux man page

Name

dpm-register - register external files in DPNS

Synopsis

dpm-register --filesize filesize [ --user owner_user ] [ --group owner_group ] [ --mode filemode ] --pfn pfn --server hostname [ --st status ] [ --help ] filename

Description

dpm-register registers a given filename with the specified permissions into DPNS: - create the file metadata entry in DPNS (dpns_creat)
- set the ownership (dpns_chown) to
owner_user : owner_group (by default the requester's DN and group) - set the filemode (dpns_chmod) to
filemode - set the size of the file (dpns_setfsize) to
filesize - add the replica entry (dpns_addreplicax) setting
* sfn =
pfn * status to
status ('O' for Online, 'N' for Nearline) * f_type = 'P' (Permanent)
* r_type = 'P' (Primary)

Example

    dpm-register --filesize 525424 --server 'hostname --fqdn' \
        --group biomed --pfn dicom:///1/2/3 \
        /dpm/cern.ch/home/biomed/mdm/1/2/3

Exit Status

This program returns 0 if the operation was successful or >0 if the operation failed.

See Also

dpns_creat(3), dpns_chown(3), dpns_chmod(3), dpns_setfsize(3), dpns_addreplicax(3)