GFREP(1)
π GFREP(1) π
okay bestie, welcome to the Gfarm girlies' corner, today we're talking about gfrep β the "replicate Gfarm files" icon, no cap. this is section 1 of the manual, so it's a user command, and she is so useful it's giving main character energy fr fr β¨
πΈ NAME πΈ
gfrep β replicate Gfarm files π¦
β¨ SYNOPSIS β¨
gfrep [-mnqvx] [-S source-domainname] [-D destination-domainname]
[-h source-hostfile] [-H destination-hostfile]
[-N num-of-replicas] [-j num-of-threads] path...
π DESCRIPTION π
so gfrep makes a specified number of replicas of Gfarm files (you point at them with path) and drops them onto a specified set of destination hosts. periodt. π
and listen β if you also specify a set of source hosts, then only the files that are stored on that set of source hosts get replicated. picky? maybe. iconic? absolutely. π
a set of hosts can be given by a domain name and/or a host file. and when you give both a domain name and a host file? the set of hosts is determined by both conditions β yes bestie, they team up. π€
oh and one more thing: if the path parameter is a directory, the files under the directory get copied recursively. it goes all the way down, no crumbs left behind. π§
π₯ OPTIONS π₯
-Ssource-domainname β tells gfrep the domain name of the source filesystem nodes, aka the ones the replicas get copied from. π€-Ddestination-domainname β tells gfrep the domain name of the destination filesystem nodes, aka the ones the replicas get copied to. π₯
and if you specify neither this option nor -H? then replicas may get copied to any available host. surprise location, lowkey chaotic, but it's fine. π
-hsource-hostfile β points at a file listing the hostnames of source filesystem nodes that the replica will be made from. the source-hostfile is just one filesystem node name per line, super simple, we love a clean format. π
if-is specified, standard input is used to read the host list. yes, a literal-. stdin said "i'll do it myself." π
-Hdestination-hostfile β points at a file listing the hostnames of destination filesystem nodes where the replica will be made. the destination-hostfile is, again, one filesystem node name per line. π
if - is specified, standard input is used to read the host list. same deal, bestie. π
-Nnum-of-replicas β sets the required number of file replicas, and yes that count includes the ones that already exist. so if the destination hosts already have enough replicas, gfrep does neither any copying nor any removal. she just vibes. π
if you don't specify this option, -N 1 is assumed. one replica minimum, always. β
-jnum-of-threads β sets how many threads create file replicas simultaneously. multitasking queen. π
heads up: this option is only available when compiled by an OpenMP C compiler. no OpenMP, no -j, sorry bestie. π and by default, it'll be the smallest among the number of total files, the number of source hosts, and the number of destination hosts. tiny but mighty. π«Ά
-mβ lets thegfrepcommand do a migrate/move instead of doing replication. she's relocating, not duplicating. π-xβ removes file replicas when a set of destination nodes has more file replicas than specified. too many copies? we're decluttering. π§Ή-nβ displays the files that would be replicated, but does nothing. a dress rehearsal, a vision board, a "not me actually doing it" moment. π-qβ suppresses non-error messages. quiet luxury. π€«-vβ displays verbose output. she's a talker and we respect it. π£οΈ-?β displays a list of command options. the little help menu that could. π
π BUGS π
- A source host is not always selected within a set of source hosts. yeah. that's the bug. it's real, it's documented, and we're just living with it ngl. π
π«Ά that's the whole page, bestie π«Ά
this gem came out of the Gfarm manual, dated 31 May 2008, and it lives at GFREP(1). go forth and replicate responsibly, mwah πβ¨
π¦ where this page comes from
- debian bookworm: gfarm-client 2.7.20+dfsg-1+b2 Β· BSD-like
- debian trixie: gfarm-client 2.7.20+dfsg-1.2+b1 Β· BSD-like
- ubuntu jammy: gfarm-client 2.7.17+dfsg-1build2 Β· BSD-like
- ubuntu noble: gfarm-client 2.7.20+dfsg-1.1ubuntu1 Β· BSD-like
- ubuntu questing: gfarm-client 2.7.20+dfsg-1.2
- ubuntu resolute: gfarm-client 2.7.20+dfsg-1.3 Β· BSD-like
- ubuntu stonking: gfarm-client 2.7.20+dfsg-1.3build1 Β· BSD-like
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms