Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

dpm-replicate(1) [debian man page]

DPM-REPLICATE(1)					    DPM Administrator Commands						  DPM-REPLICATE(1)

NAME
dpm-replicate - replicate a file given the SURL or the PFN SYNOPSIS
dpm-replicate [ --f_type file_type ] [ --space_token s_token ] [ --lifetime file_lifetime ] [ --help ] file DESCRIPTION
dpm-replicate replicates a file given the SURL or the PFN. file_type indicates the type of file desired for the new replica. It can be V (for Volatile), D (for Durable) or P (for Permanent). file_lifetime specifies the requested file lifetime of the new replica relative to the current time. It can be "Inf" (for infinite) or expressed in years (suffix 'y'), months (suffix 'm'), days (suffix 'd'), hours (suffix 'h') or seconds (no suffix). If specified the file_type and file_lifetime must be compatible. s_token specifies that the new replica should be allocated within a space identified by the given token. EXAMPLE
dpm-replicate --f_type P /dpm/cern.ch/home/dteam/afile dpm-replicate --f_type V lxb1921.cern.ch:/storage/dteam/2005-12-14/afile.38215.0 EXIT STATUS
This program returns 0 if the operation was successful or >0 if the operation failed. SEE ALSO
dpm(1), dpm_get(3), dpm_put(3) LCG
$Date: 2008/08/27 12:43:28 $ DPM-REPLICATE(1)

Check Out this Related Man Page

DPM-UPDATESPACE(1)						   DPM Commands 						DPM-UPDATESPACE(1)

NAME
dpm-updatespace - update space SYNOPSIS
dpm-updatespace --space_token s_token [ --gid group_ids ] [ --group group_names ] [ --gspace size_guaranteed_space ] [ --help ] [ --life- time space_lifetime ] [ --si ] dpm-updatespace --token_desc u_token [ --gid group_ids ] [ --group group_names ] [ --gspace size_guaranteed_space ] [ --help ] [ --lifetime space_lifetime ] [ --si ] DESCRIPTION
dpm-updatespace updates space. OPTIONS
s_token specifies the token returned by a previous reservespace request. u_token specifies the user provided description associated with the reservespace request. group_ids The existing list can be reset using a comma separated list of group gids, extended by prefixing the gid by + or reduced by prefix- ing the gid by -. See examples. group_names The existing list can be reset using a comma separated list of group names, extended by prefixing the name by + or reduced by pre- fixing the name by -. size_guaranteed_space new size of guaranteed space desired in bytes. The number may also have a suffix k, M, G, T or P to indicate kB, MB, GB, TB or PB respectively. space_lifetime specifies the new space lifetime relative to the current time. It can be "Inf" (for infinite) or expressed in years (suffix 'y'), months (suffix 'm'), days (suffix 'd'), hours (suffix 'h') or seconds (no suffix). --si use powers of 1000 not 1024 for sizes. EXAMPLE
dpm-updatespace --space_token fe869590-b771-4002-b11a-8e7430d72911 --lifetime 1m dpm-updatespace --token_desc myspace --gspace 5G dpm-updatespace --token_desc atlgrpspace --group -atlas/higgs EXIT STATUS
This program returns 0 if the operation was successful or >0 if the operation failed. SEE ALSO
dpm_updatespace(3) LCG
$Date: 2011-04-04 08:49:00 +0200 (Mon, 04 Apr 2011) $ DPM-UPDATESPACE(1)
Man Page

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

looking for solution to improve process replicate files to remote loc.

looking for solution to replicate 1.5GB files to a remote location... Currently, this process looks like the following: move 1.5GB files into a staging area. compress files. rsync files to remote server. remove compressed files. I have performed some timings, and compress seems more... (5 Replies)
Discussion started by: mr_manny
5 Replies

2. UNIX for Dummies Questions & Answers

"read previous" in afile possible ?

Hi I'm relatively new to Unix - I done basics of getting around 13 years ago in college and didn't use it since - Until now ! Basically, I have two files a and b - I want to read through file a and see where it occurs in file b. Hmmmm - I'm not explaining it very well - essentially I want... (3 Replies)
Discussion started by: rwilsonie
3 Replies

3. Shell Programming and Scripting

COMPARING STRING VALUES TO A VARIABLE and return code dignostics

Hey Folks and Gurus there I am trying to replicate this logic in bash : (1) if ; then function1 parameters & function2 parameters & fi Is there an easy method esp one with regex that can do this comparision. e.g. $var is compared to this list ( case regardless ) (... (1 Reply)
Discussion started by: sieger007
1 Replies

4. UNIX for Advanced & Expert Users

need to increase the memory utlisation of server

hi all, i need to replicate the environment of one server in another. Two servers are there A and B. i need to replicate A's environment on B. The server A's memory utlisation is 60%, whereas server B's is 15 to 20%. Can some one tell how i can increase the memory utilisation of B to reach... (5 Replies)
Discussion started by: sais
5 Replies

5. AIX

Command for replicating a directory

Morning all, Is there a command on AIX that can replicate/synchronise two directories? I'm after functionality similar to robocopy on Windows. Scenario: I have a directory of Oracle forms for my production system and one for my dev system, these directories start off identical. The forms... (1 Reply)
Discussion started by: huggie
1 Replies

6. UNIX for Dummies Questions & Answers

Making replicates of a file with part of a line randomized for each file

Ok, so let's say that I have a file like the following: I want to create 100 replicates of this file, except that for each file, I want different randomized combinations of either A or B at the end of each line so that I would end up with files like the following: and etc. I... (1 Reply)
Discussion started by: Scatterbrain26
1 Replies

7. Shell Programming and Scripting

replicate lines - awk

Is it possible to replicate the lines based on 4th column of the input like the below ? input ar1 10 100 -1 ar1 20 200 -2 arX 34 140 +1 arY 7 1 +4 output ar1 10 100 - ar1 20 200 - ar1 20 200 - arX 34 140 + arY ... (1 Reply)
Discussion started by: quincyjones
1 Replies

8. Shell Programming and Scripting

deleting few lines from a file dynamically

here is the part of the code var1="replicate-ignore-db" var2="replicate-same-server-id" var3="skip-slave-start" var4="report-host" var5="master-host" var6="master-user" var7="master-password" var8="master-port" #code below deleted paramters as above if exists in my.cnf for i in 1 2 3 4... (4 Replies)
Discussion started by: vivek d r
4 Replies

9. Shell Programming and Scripting

Column string matching in awk

Hello, I want pick up rows from input with conditions: 1) col2 is 2 replicate of col1 joint with "/" 2) col3 is a joint string as replicate of each side of the "/" symbol 3) col2 not equal to col3 input: TG TG/TG TG/TGG C C/C C/CG C C/G CA/CA C C/C CA/CA AG AG/AG... (3 Replies)
Discussion started by: yifangt
3 Replies

Featured Tech Videos