HP XC System Software Administration Guide Version 3.2

Example 18-2 The fstab.proto File Edited for Internal File System Mounting
# 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
#
# Mount /scratch (from n60) onto n61, n62, and n63
#% n[60-63]
/dev/sdb1 /scratch csys hostaddress=n60,_netdev
18.4 Mounting Remote File Systems
This section describes how a node in the HP XC system mounts a remote file system using the
following example: Consider an HP XC system whose nodes have the prefix n and an external
server named xeno. The external server has a file system named /extra. The task is to mount
the file system /extra remotely on nodes n22, n23, and n24 at the mount point /workarea.
Figure 18-2 depicts this example.
222 Mounting File Systems