HP XC System Software Administration Guide Version 2.1

Example 14-2: The fstab.proto File Edited for In
ternal File System Mounting
# This file contains additional file system informa
tion
# for all # the nodes in the 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
#
# Mount /scratch (from n60) onto n61, n62, and n63
#% n[60-63]
/dev/sdb1 /scratch csys hostaddr=n60,_netdev
14.4 Mounting Remote File Systems
This section illustrates how a node in the HP XC system moun ts a remot
efilesystemusing
the following example: Consider an HP XC system whose nodes have the
prefix n and an
external server nam ed xeno. The external server has a file system n
amed /extra. The task is
to mount the file system /extra remotely on nod es n22, n23,andn
24 at the mount poin t
/workarea. Figure 14-2 depicts this exam ple.
Mounting File Systems 14-7