GFHOST(1)
π GFHOST(1) β Gfarm filesystem node management command π
okay bestie, pull up a chair πͺ because this is the page for managing filesystem nodes in Gfarm, straight out of the Gfarm manual. yes the manual is literally named Gfarm, that's the brand, we love that for it π
β¨ NAME β¨
gfhost β Gfarm filesystem node management command
πΈ SYNOPSIS πΈ
gfhost [-H | -l | -M] [-iLprUv] [-P path] [-a architecture]
[-D domain-name] [-j concurrency] [hostname...]
gfhost -c [-P path] -a architecture -p port-number [-n number-of-CPUs]
[-f flags] hostname
gfhost -m [-P path] [-a architecture] [-p port-number]
[-n number-of-CPUs] [-f flags] hostname
gfhost -d [-P path] hostname...
gfhost -R [-P path]
π¦ DESCRIPTION π¦
gfhost is the girl who displays the information of filesystem nodes. she also registers a new filesystem node, and modifies and deletes the registered information. multi-talented, no cap β¨
the way that gfhost behaves is decided by the option you pick: -c, -m, -d, -H, -l, -M, and -R. these functions are mutually exclusive β only ONE of them can be specified, pick a lane babe π«. if you don't specify any of them, filesystem nodes will be listed, which is the default function of gfhost. so if you're lazy, you still get output. iconic.
π FUNCTIONS π
the Gfarm filesystem manages filesystem nodes at the gfmd metadata server. here's the tea:
- the
-coption registers a new filesystem node π - the
-moption modifies the registered information βοΈ - the
-doption removes an entry of the filesystem node and related file metadata ποΈ - the
-Roption restores the dumped information of filesystem nodes, which is obtained by the-Moption β»οΈ
these operations require gfarmadm privilege. you need the badge, bestie, no sneaking in π
when -H, -l, -M, or no functional option is specified, gfhost displays filesystem node information. the -M lists the registered information of filesystem nodes at the gfmd metadata server. other options access gfsd filesystem daemon to obtain more information and also to check the accessibility to a filesystem node. the -i, -j, -U and -v options are available.
when hostnames of filesystem nodes are not specified, all registered hosts will be displayed, but you can limit the type of hosts displayed by the -a and/or -D option. by default, hosts are displayed in alphabetical order, but you can change this by the -L, -p, or -r option, although the -L option is effective with -H or -l option.
the following is a list of the functions of the gfhost command. you shouldn't specify more than one function at a time. one function. one. that's the rule π«Ά
π the functions, one by one π
<none>β when no function is specified,gfhostaccesses togfsd, and displays the host names which are currently available. they are displayed in alphabetical order, by default. the chill default mode π-cβ creates a host entry of a filesystem node that is specified by the argument. the-aoption is mandatory, which specifies the architecture of the filesystem node. the-poption is mandatory, which specifies the port number ofgfsdon the filesystem node. the-noption is optional, which specifies the number of CPUs of the filesystem node. when it is omitted,1CPU is assumed. the-foption is optional, which specifies the flag of the file system node. when it is omitted,0is assumed.-dβ deletes a host entry. all file metadata is also asynchronously updated to delete invalid replica entries for the removed filesystem node, and to create file replicas if required, automatically. she cleans up after herself, we stan a tidy queen π§Ή-lβ displays in a long format, which consists of the CPU load average, authentication method, architecture, the number of CPUs, hostname, port number, flags, and the IP address. the full glow-up report π
if the host cannot be accessed due to a machine down or a network problem, etc., x.xx/x.xx/x.xx will be displayed in the CPU load average field. if the host is up, but gfsd on the host cannot be accessed, -.--/-.--/-.-- will be displayed.
in the field of the authentication method, G means the GSI authentication and the encryption, g means only authentication is performed by GSI and actual communication is unprotected plain data (gsi_auth), s means the gfarm sharedsecret authentication, x means that the authentication fails, and - means that the authentication wasn't actually tried. with the -U option, there is no authentication method field.
in the field of the flags, refer to the -f option.
hostnames are displayed in alphabetical order, by default.
-Hβ displays filesystem nodes with the CPU load average and the authentication method. this function also displays the IP address used to access togfsdin parentheses just after the hostname. like a little name tag π·οΈ
for the field of the CPU load average and the authentication method, refer to the -l option.
hostnames are displayed in alphabetical order, by default.
-Mβ dumps the metadata information of the registered filesystem nodes. hostnames are displayed in alphabetical order, by default.-mβ modifies the registered metadata information of the filesystem node. the-a,-p,-n, and/or-foption modify the current value of each option. glow-up edit pass β¨-Rβ restores the metadata information read from standard input. the format of the metadata is same as the format that the-Mfunction displays. so-Mthen-R, a little round trip, we love a system that talks to itself π-?β prints usage. the "help me" button, we've all been there π
π OPTIONS π
-a architectureβ this option specifies the CPU architecture using a format likesparc-sun-solaris8ori386-redhat8.0-linux, etc. if this option is used with the-cor-mfunction, this means the architecture used to add/modify the metadata information. if this option is used with-H,-l,-Mfunction or default function, this limits hosts to the specified architecture.-D domain-nameβ this option is used with the-H,-l,-Mfunction or the default function to limit hosts to the specified domain. filtering, but make it fashion π-iβ there is an"address_use"directive in%%SYSCONFDIR%%/gfarm2.confand$HOME/.gfarm2rcto give priorities of network addresses for gfarm access. this directive works with thegfhostcommand, but will be ignored, if you specified the-ioption withgfhost. she said not today π«-j concurrencyβ this option specifies the concurrency used for access togfsd. the default value is10.-Lβ sorts by load average order. this option is effective only with the-Hand-lfunctions .-n number-of-CPUsβ this option is used with the-cor-mfunction, and specifies the number of CPUs of the host.-p port-numberβ this option is used with-cor-mfunction, and specifies the port number ofgfsdon the host.-f flagsβ this option is used with-cor-mfunction, and specifies the flags ofgfsdon the host. values of flags are constructed by a bitwise-or of the following list.1β readonly
-P pathβ this option specifies a pathname or a Gfarm URL to identify a metadata server which will be accessed by this command. if not specified,"/"is used as the default value.-rβ reverses the order of sort. flip it, reverse it π±-uβ plain order. this option stops sorting on the-H,-l,-Mfunction or the default function. with the-Mfunction, command argument order (if any), or the order that the metadata server answers is used for display. with the-H,-lfunction or the default function, the result is displayed in the order that eachgfsdanswers. no sorting, just vibes πΈ-Uβ suppresses authentication attempts by TCP, and only queries load average by UDP. this option only makes sense if you specified the-Hor-lfunction, or if you didn't specify any function. this option makes thegfhostcommand run faster β‘. if the-Hor-lfunction is specified, this option makes the authentication method field disappear.-vβ the-H,-lfunction and the default function don't produce error reports ongfsdaccesses; these error reports will be produced by this option. she's quiet until you ask her to spill π£οΈ
π«Ά SEE ALSO π«Ά
and that's the whole page, bestie, you ate that π
this little love letter to filesystem nodes came from the Gfarm manual, dated 14 Mar 2019, and it lives at section GFHOST(1). go forth and manage those nodes, main character πβ¨
π¦ 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