Content-type: text/html
Man page of DPM-REGISTER
DPM-REGISTER
Section: DPM Administrator Commands (1)
Updated: $Date: 2008/01/07 10:38:38 $
Index
Return to Main Contents
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)
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- EXAMPLE
-
- EXIT STATUS
-
- SEE ALSO
-
This document was created by
man2html,
using the manual pages.
Time: 17:38:09 GMT, December 16, 2011