HP XC System Software Administration Guide Version 2.1
_______________________ Note _______________________
The nod e that exports the file system to the o ther nodes in the HP XC system
must have the disk_io role.
3. Determine whether you need to mount this file system over the administrative network
or over the system interconnect.
As a general rule, s pecify the administratio
n networ k for admini strat ive data and the
system interconnect on b ehalf of ap plicati
on data.
4. Edit the /hptc_cluster/etc/fstab.proto file as follows:
a. Locate the node designator (if it a lready ex
ists) that specifies the node or nodes
that will mount the file system.
Optionally insert a comment regarding why you are ch anging this file, for example:
# Mount /scratch (from n60) onto n61, n62, and n63
If the node designator does not exist, cre
ate it by adding a line similar to this one:
#% n[60-63]
_____________________ Note _____________________
Be sure to specify the node tha t exports the file system and the nodes
that import the file sy stem.
b. Enter the fstab information for moun
ting the file systems, specifying the no de that
exports the file system with the host
addr parameter:
/dev/sdb1 /scratch csys hostaddr=n60,_netdev
c. Save the file.
Example 14-2 shows the fstab.proto fi
le after editi ng for internal file system
mounting.
5. Create the /scratch mount point on each node (including the exporting node) if the
mount point does not already exist:
# cexec -w n[60-63] "mkdir /scratc
h"
6. Restart the cluster_fstab service on each node:
# cexec -a "service cluster_fstab restart"
7. Verify the internal file system m o
unting by entering the follow ing c om man d, w hich
ensures that the file system is mo
unted on the nodes:
# cexec -a "mount | grep /scratch"
n62: 192.168.0.60:/scratch on /scratch type nfs
(rw,hard,intr,bg,rsize=8192,wsize=8192,addr=192.168.0.60)
n61: 192.168.0.60:/scratch on /scratch type nfs
(rw,hard,intr,bg,rsize=8192,wsize=8192,addr=192.168.0.60)
n63: 192.168.0.60:/scratch on /scratch type nfs
(rw,hard,intr,bg,rsize=8192,wsize=8192,addr=192.168.0.60)
n60: /dev/sdb1 on /scratch type ext3 (rw)
_______________________ Note _______________________
The output shown here is edited for clarity. There are actually four lines of
output from the command.
14-6 Mounting File Systems