HP XC System Software Administration Guide Version 3.2

Example 18-1 Unedited fstab.proto File
# This file contains additional file system information
# for all # the nodes in the HP XC cluster. When a node
# boots, this file will be parsed and from it a new
# /etc/fstab will be created.
#
# Do not edit /etc/fstab! Edit this file
# (/hptc_cluster/etc/fstab) instead.
#
# 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/fstab 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/fstab
# on the indicated node or nodes. A node selector
# is either a single node name, like n12 or nh,
# or a list of nodes in a condensed notation, like
# n[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/fstab on every node
#
#% n1
# Put lines here that you want copied directly to the
# /etc/fstab on node 1
#
Lines that begin with the characters #% are treated specially. For example, the portion of the file
that begins with the text #% ALL precedes the mounting instructions that apply to all the nodes
in the HP XC system. The subsequent lines can be any of the following:
Standard mounting instructions, in the manner of an /etc/fstab entry
Comment lines, each beginning with the # character
A node designator
Lines that begin with the characters #% followed by a node designator indicate that the following
mounting instructions pertain only to the specified nodes. For example, the node designator #%
n2 specifies that all subsequent lines apply to the node n2, until either another node designator
or the end of the file is reached.
You can also specify a range of nodes as described in “The nodelist Parameter” (page 36). For
example, the following node designator specifies nodes n60, n61, n62, and n63:
#% n[60-63]
216 Mounting File Systems