DPM-REGISTER(1)

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)
Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout