EnglishFrenchSpanish

OnWorks favicon

dpm-register - Online in the Cloud

Run dpm-register in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command dpm-register that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

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.

Use dpm-register online using onworks.net services


Ad


Ad