gfsd is a filesystem daemon for the Gfarm filesystem, which runs on every filesystem node, usually, with root privileges.
gfsd provides remote file operations with access control in the Gfarm filesystem as well as user authentication, file replication, fast invocation, and node resource status monitoring.
It is possible for gfsd to be executed as a non-privileged user process, although only the user that executes the gfsd can be authenticated. Other users cannot use it.
In order to execute gfsd as a non-privileged user process, a configuration file for a user needs to be specified with the -f option. At the very least, the port number used by gfsd should be altered to a non-privileged port number using the spool_serverport statement in the configuration file, or the -p option.
In this case, the altered port number of gfsd should be specified with the spool_serverport statement in ~/.gfarmrc or %%SYSCONFDIR%%/gfarm.conf on a client node.
-L
log-levelSpecifies a log priority level. The log output, which priority is higher or equal to this level, will be sent to syslog or standard error. Please refer gfarm.conf(5) for the priority levels which can be specified by this option.
-P
pid-fileSpecifies a file name which records the process ID of gfsd.
-U
Makes gfsd not create a UNIX domain socket. This option is useful to invoke multiple instances of gfsd to provide multiple spool directories on the host. When new files are created by processes on the local host, the gfsd which doesn't have this -U option specified will be used to provide spool directory for the new files.
-d
Specifies the debug mode. With the -d option, gfsd runs as a foreground process, not a daemon.
If this option is specified and -L
is not specified,
the log level is set to "debug".
-f
config-fileSpecifies a configuration file that is read instead of the default configuration file.
-l
IP-addressSpecifies the IP address from which the gfsd accepts TCP and UDP requests. The default address is all IP addresses of the host. This option is useful to invoke multiple instances of gfsd to provide multiple spool directories on the host.
-p
port-numberSpecifies a port number for TCP and UDP used by gfsd. By default, 600 is used.
-r
directorySpecifies a spool directory for a Gfarm filesystem on this filesystem node.
-s
syslog-facilitySpecifies a syslog facility to report errors by gfsd. By default, local0 is used.
-v
Makes gfsd output verbose log message on authentication. This is useful, when one has to resolve an issue about GSI authenticaion.
-?
Displays a list of command options.