HP XC System Software Administration Guide Version 3.0

Understanding the csys Utility in the Mounting Instructions
The csys utility provides a facility for managing file systems on a clusterwide basis. It works in conjunction
with the mount and umount commands by providing a pseudo file system type. The csys utility is
documented in csys(5).
The syntax of the fstab entry is as follows:
fsname mountpoint fstype options
fsname Specifies the device name of the file system to be mounted.
mountpoint Specifies where to mount the file system on the mounting host.
fstype Specifies the file system type. The file system type is csys.
options Specifies a comma-separated list of options, as defined in csys(5).
The hostaddress and _netdev options are mandatory.
The hostaddress argument specifies the node that serves the file system to other
nodes and specifies the network (administration or system interconnect) to be used.
The hostaddress is specified either by its node name or by its IP address.
The following entry uses the node name for n60 over the administration network.
hostaddr=n60
The prefix ic- specifies the system interconnect. The following entry uses the node
name for n60 over the system interconnect.
hostaddr=ic-n60
The following entry uses the IP address for n60 over the administration network,
172.22.0.60. The second octet, 20, specifies the administration network.
hostaddr=172.20.0.60
The following entry also uses the IP address for n60 over the system interconnect. The
second octet, 22, specifies the system interconnect.
hostaddr=172.22.0.60
The _netdev argument directs the system startup scripts not to mount this file system
until the network is up.
These parameters are interpreted differently depending on whether the host is exporting or importing the
file system:
The exporting host, which is specified with the hostaddr parameter, mounts the file system locally
and exports it to the other nodes.
The nodes whose host names do not match the hostaddr parameter import the file system.
An example entry follows:
/dev/sdb1 /scratch csys hostaddr=n60,_netdev
The node n60 mounts the file system (whose device name is /dev/sdb1) as /scratch locally, and
automatically exports it over the administration network.
Mounting Internal File Systems
Use the following procedure to mount a file system on a disk on one node in an HP XC system to one or
more other nodes:
1. Log in as superuser on the head node.
2. Determine which file systems are to be mounted and from which node they are to be exported.
The /proc/partitions file displays the partitions and their device names. Execute the mount
command to determine which of these partitions are already mounted.
In the example, node n60 mounts the file system whose device name is /dev/sdb1 locally as /scratch
and exports the file system. Nodes n61, n62, and n63 import the file system.
Note
142 Mounting File Systems