HP XC System Software Administration Guide Version 3.1

17 Mounting File Systems
This chapter provides information and procedures for performing tasks to mount file systems that are
internal and external to the HP XC system. It addresses the following topics:
“Overview of the Network File System on the HP XC System” (page 201)
“Understanding the Global fstab File” (page 201)
“Mounting Internal File Systems Throughout the HP XC System” (page 203)
“Mounting Remote File Systems” (page 207)
17.1 Overview of the Network File System on the HP XC System
The HP XC System Software supports Network File System (NFS) 3 client and server functionality.
NFS files can be shared between the nodes of the HP XC system or can be shared between the HP XC
system and an external system. External NFS files can be shared with any node having a direct external
network connection. It is also possible to set up NFS to import external files to nodes of the HP XC system
without external network connections, by routing through a node with an external network connection.
You can use either the HP XC administration network or the HP XC system interconnect for NFS
operations. The system interconnect can potentially offer higher performance, but only at the potential
expense of the performance of application communications.
The ports for the RPC services used by NFS are tied to specific port numbers in the HP XC System Software,
as shown in Table 17-1.
Table 17-1 NFS Daemon Ports
PortNFS Daemon
4000
rpc.statd
4001
rpc.lockd
4002
rpc.mountd
4003
rpc.rquotad
17.2 Understanding the Global fstab File
The /hptc_cluster/etc/fstab.proto file is used to construct the actual /etc/fstab file for each
node of the HP XC system, which in turn dictates which file systems are mounted. This occurs when the
cluster_fstab service is started or restarted, and at system boot. The following command restarts this
service:
# service cluster_fstab restart
You can edit the fstab.proto file to designate the mounting instructions for a given node, for a group
of nodes, or for all the nodes in HP XC system; the fstab.proto file follows the same syntax as the
/etc/fstab file. Do not edit any /etc/fstab files.
The fstab.proto file comprises individual portions that correlate to the nodes. The first portion is
designated as ALL; all the lines in this portion are copied to the /etc/fstab file of all the nodes. Subsequent
portions are designated for a specified node or nodes. Subsequent portions must begin with the lowest
numbered node in the HP XC system and progress to the head node, which is the highest numbered node.
The lines in each portion are copied to the corresponding node. Example 17-1 depicts the fstab.proto
file.
17.1 Overview of the Network File System on the HP XC System 201