Man page - gfncopy(1)
Packages contas this manual
- gfgetfacl(1)
- gfsched(1)
- gfwhere(1)
- gfstatus(1)
- gfprep(1)
- gfls(1)
- gffindxmlattr(1)
- gfrm(1)
- gfcksum(1)
- gfquota(1)
- gfstat(1)
- gfuser(1)
- gfncopy(1)
- gfhostgroup(1)
- gfdf(1)
- gfarmbb(1)
- gflsof(1)
- gfdirquota(1)
- gfsudo(1)
- gfrep(1)
- gfchgrp(1)
- gfexport(1)
- gfln(1)
- gftest(1)
- gfmv(1)
- gfedquota(1)
- gfkey(1)
- gfrmdir(1)
- gfxattr(1)
- gfreg(1)
- gfwhoami(1)
- gfquotacheck(1)
- gfservice(1)
- gfchmod(1)
- gfgroup(1)
- gfpcopy(1)
- gfchown(1)
- gfmdhost(1)
- gfusage(1)
- gfmkdir(1)
- gfsetfacl(1)
- gfhost(1)
apt-get install gfarm-client
Available languages:
en jaManual
| GFNCOPY(1) | Gfarm | GFNCOPY(1) |
NAME
gfncopy - Manipulate number of file replicas automatically created
SYNOPSIS
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...]
DESCRIPTION
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.
OPTIONS
-s NCOPY
-S REPATTR
When both NCOPY and REPATTR are set to a same file, the following number of replicas will be created. If N is the total number of replicas specified by REPATTR, and N is greater than NCOPY, at least N replicas will be created. Otherwise, replicas will be created according to REPATTR, and more replicas will be added until total number of replicas reaches NCOPY. REPATTR is stored in the extended attribute of gfarm.replicainfo.
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
-?
SEE ALSO
gfhostgroup(1), gfarm_attr(5)
| 15 Jul 2020 | Gfarm |