GFNCOPY(1) | Gfarm | GFNCOPY(1) |
gfncopy - Manipulate number of file replicas automatically created
gfncopy [-vh] path
gfncopy [-vh] [-C | -M] -s NCOPY path
gfncopy [-vh] [-C | -M] -S REPATTR path
gfncopy [-vh] -r path [path...]
gfncopy [-vh] -c path
gfncopy [-v] -w [-t TIMEOUT] path [path...]
gfncopy manipulates the number of file replicas automatically created. When no option is specified, it displays the specified number of file replicas. When replication attributes of both NCOPY and REPATTR are set to a file, these attributes are displayed in two lines. With the -v option, it also displays path names up to the ancient directory that specifies the number of file repilcas.
-s NCOPY
-S REPATTR
a REPATTR is represented by the following BNF:
<repattr> ::= <an_attr> | <an_attr> ',' <repattr>
<an_attr> ::= <host_group> ':' <num_rep>
<host_group> ::= <string>
<num_rep> ::= <integer>
e.g.)
group0:2
group0:1,group1:2,group2:3
-C
-M
-r
The path can be specified multiple times.
-c
-w
The path can be specified multiple times.
If the path is a directory, files in subdirectories are checked.
-t TIMEOUT
-h
-v
-?
25 Jan 2017 | Gfarm |