1DPM-REGISTER(1)           DPM Administrator Commands           DPM-REGISTER(1)
2
3
4

NAME

6       dpm-register - register external files in DPNS
7

SYNOPSIS

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

DESCRIPTION

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

EXAMPLE

28            dpm-register --filesize 525424 --server `hostname --fqdn` \
29                 --group biomed --pfn dicom:///1/2/3 \
30                 /dpm/cern.ch/home/biomed/mdm/1/2/3
31

EXIT STATUS

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

SEE ALSO

37       dpns_creat(3),    dpns_chown(3),    dpns_chmod(3),    dpns_setfsize(3),
38       dpns_addreplicax(3)
39
40
41
42LCG                      $Date: 2008/01/07 10:38:38 $          DPM-REGISTER(1)
Impressum