Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

gfreg(1) [debian man page]

GFREG(1)																  GFREG(1)

NAME
gfreg - register a Gfarm file, Gfarm file fragments, or a Gfarm directory SYNOPSIS
gfreg [ -p ] [ -h filesystem-node | -H hostfile | -D domainname ] [ -a architecture ] program ... gfarm-URL gfreg [ -i ] [ -h filesystem-node | -H hostfile | -D domainname ] localfile ... gfarm-URL gfreg -N total-num-of-fragments -I fragment-index [ -h filesystem-node | -H hostfile | -D domainname ] localfile ... gfarm-URL gfreg -r [ -h filesystem-node | -H hostfile | -D domainname ] [ -a architecture ] [ directory | program | localfile ] ... gfarm-URL DESCRIPTION
The first form copies and registers the program as a Gfarm file gfarm-URL in the Gfarm filesystem. When gfarm-URL is a directory, multiple programs can be specified. After the registration, the gfarm-URL can be specified as a program name of gfrun(1) and gfmpirun_p4(1). With- out the -p option, only executable file can be specified. With the -p option, non-executable file can be specified as well. Without the -a option or the -h option, architecture of the program is assumed to be the same architecture as the client host on that gfreg(1) is exe- cuted, which is obtained by the Gfarm metaserver. The second form registers one or more localfiles as a single Gfarm file. Without the -i option, only non-executable file can be specified as localfile. With the -i option, both excutable and non-executable file can be specified as localfile. The destination filesystem node will be automatically selected by CPU load average. With any one of -h, -H, -D options, filesystem node can be limited. The third form registers localfile as a file fragment of a Gfarm file. The total number of fragments and the fragment index are specified by the -N option and the -I option, respectively. When gfarm-URL is a directory, multiple localfiles can be specified. The destination filesystemnode will be automatically decided by CPU load average unless any one of -h, -H, -D options is explicitly specified. When the gfreg command of this form is executed on a filesystem node, the local filesystem node is always selected rather than a remote filesys- temnode. In this case, -h, -H, -D options help to store files dispersively. The fourth form registers the directory as a Gfarm directory gfarm-URL, the program or the localfile as a Gfarm file gfarm-URL. If direc- tory have some sub directories and/or files, they will be registered recursively. The non-executable file localfile will be registered as a file has one fragment. A non-executable file in the directory will be registered in the same way. When gfarm-URL already exists as a directory, multiple directories, programs, and localfiles can be specified and they will be registered in gfarm-URL. They can be mixed in parameteres, while other forms inhibit this manner. If gfarm-URL does not exist, one directory or one program, or one localfile can be specified and it will be registered as gfarm-URL. Refer to the first form's part above to specify filesystem node thatprogfarms and files will reside with the -a option or the -h option. OPTIONS
-f overwrites gfarm-URL even if it exits as a Gfarm file. -? displays a list of command options. Gfarm 05 April 2006 GFREG(1)

Check Out this Related Man Page

GFSCHED(1)																GFSCHED(1)

NAME
gfsched - schedule and display available file system nodes SYNOPSIS
gfsched -f gfarm-URL [ -D domain-name ] [ -n number ] [ -LMclw ] gfsched [ -P gfarm-URL ] [ -D domain-name ] [ -n number ] [ -LMlw ] DESCRIPTION
The gfsched command with the -f gfarm-URL option displays available file system nodes which have a file replica of the specified gfarm-URL. When the -f gfarm-URL option is not specified, the gfsched command just displays available file system nodes. In this case, you can spec- ify a metadata server by the -P gfarm-URL option, if necessary. OPTIONS
-D domain-name Limits file system node by specifying a domain name or a hostname. -c Displays scheduling information for a file creation, if the file specified by -f doesn't exist. Currently, this option creates the specified file. But please note that this behavior may be changed in future. -L Suppresses authentication check. Without this option, the scheduler checks whether the user will be successfully authenticated with the hosts or not. This option omits the check to make scheduling faster, but that creates a risk that hosts which fail authentica- tion with the user may be scheduled. -M Suppresses client-side scheduling and only performs metadata-server-side scheduling. This option makes scheduling faster, but also creates a risk that hosts which is network-unreachable or fails authentication with the user may be scheduled. -P gfarm-URL Specifies a gfarm-URL or a pathname to identify a metadata server which is used for the scheduling. This option conflicts with the -f option. -f gfarm-URL The gfsched command schedules file system nodes which have a replica of a file specified by this option. This option conflicts with the -P option. -l Long format. This option displays port numbers as well as hostnames. Note that the display format of this option may be changed in future. -n number Displays specified number of file system nodes at most. If this option is not specified, it displays all available nodes. -w Schedules with write-mode. When this option is specified, file system nodes which don't have enough free space won't be displayed. When both this option and the -f are specified, and if the file is already opened by an existing process with write-mode, the gfsched command only displays one file system node which is assigned for writing to the file. -? Displays a list of command options. EXAMPLES
The following is an example to inquire file system nodes that the metadata server thinks they are currently working. $ gfsched -M Gfarm 28 December 2010 GFSCHED(1)
Man Page