
Using the SFS service 4–11
CAUTION: When you move an entry from a client node’s /etc/sfstab file to the
/etc/sfstab.proto file, you must delete the entry from the static section of the /etc/sfstab file (that
is, the section of the file outside of the lines generated when the /etc/sfstab.proto file is processed).
Each mount entry for a client node must only exist either in the /etc/sfstab.proto file or in the static
section of the /etc/sfstab file.
Example
The following is an example of a complete /etc/sfstab.proto file in a client system called delta.
Example 4-1 /etc/sfstab.proto file
# This file contains additional file system information for all the
# nodes in the cluster. When a node boots, this file will be
# parsed and from it a new /etc/sfstab will be created.
#
# How this file is organized:
#
# * Comments begin with # and continue to the end of line
#
# * Each non-comment line is a line that may be copied to /etc/sfstab
# verbatim.
#
# * Some comments begin with #% followed by a node selector to
# indicate that the following lines until the next #% or the end of
# file (whichever comes first) will only be copied to the /etc/sfstab
# on the indicated node or nodes. A node selector is either a
# single node name, like delta12, or a list of nodes in a condensed
# notation, like delta[1-5,7]. In the condensed notation, the
# node prefix is followed by a set of square brackets. Inside the
# square brackets are comma separated terms. Each term is either a
# range i-j, indicating nodes i to j inclusive, or a single node
# number. There can be any number of terms within the square
# brackets.
#
# * One comment can begin with "#% ALL". The lines following it until
# the next #% line or the end of file (if there are no more #% lines)
# will be copied to the fstab on every node.
#
#% ALL
# Put lines here that you want copied directly to the /etc/sfstab on
# every node
lnet://35@elan0,34@elan0:/south-mds3/client_elan /usr/data sfs server=south,fs=data
0 0
#% delta1
# Put lines here that you want copied directly to the /etc/sfstab on
# delta node 1
lnet://35@elan0,34@elan0:/south-mds4/client_elan /usr/scratch sfs
server=south,fs=scratch 0 0
lnet://35@elan0,34@elan0:/south-mds5/client_elan /usr/test sfs server=south,fs=test
0 0
#% delta[2-16]
# Put lines here that you want copied directly to the /etc/sfstab on
# delta nodes 2 to 16
lnet://35@elan0,34@elan0:/south-mds4/client_elan /usr/scratch sfs
server=south,fs=scratch 0 0
Komentarze do niniejszej Instrukcji