6.0 HP X9000 File Serving Software File System User Guide (TA768-96043, October 2011)

To provide world read-only access to file system ifs1 located at /usr/src on file serving node
s1.hp.com:
ibrix_exportfs -f ifs1 -h s1.hp.com -p :/usr/src -o "ro"
Unexporting a file system
A file system should be unexported before it is unmounted. On the management console, select
the file system, select NFS Exports from the lower Navigator, and then select Unexport.
On the CLI, use the following command:
ibrix_exportfs -f FSNAME -U -h HOSTNAME -p CLIENT:PATHNAME [-b]
Autoconnecting NFS clients
The Autoconnect feature enables NFS clients to mount file systems automatically whenever they
are accessed. At the same time, Autoconnect manages how these connections are distributed
among file serving nodes. Autoconnect uses the Linux automount daemon; working familiarity
with automount is recommended.
Autoconnect accesses a user-edited script that directs NFS client file requests to the management
console, where they are checked against the database and matched to a mount string. The mount
string and any mount options are returned to the client, along with the file serving node that the
client should use for the mount.
Mount points are stored in the Autoconnect table in the configuration database. Each mount point
is described by a user-defined identifier or key, the file system to mount, and any assigned mount
options. The ibrix_autoconnect -l command displays any current autoconnect entries.
Adding mount points to the autoconnect table
An exported file system must be available when you add mount points. Use the following command
to add an autoconnect entry to the table, where KEY is a user-defined key, FSNAME is the file
system name, and OPTIONS identifies NFS mount options. (See the Linux mount man page for
the options.)
ibrix_autoconnect -A -k KEY -f FSNAME [-o OPTIONS]
In the following example, the user-defined key name is ifs1_rw. File system ifs1 will be mounted
with options that identify the file system type as NFS and provide read and write permissions for
user operations.
ibrix_autoconnect -A -k ifs1_rw -f ifs1 -o -fstype=nfs,rw
Deleting mount points from the autoconnect table
Mount points are deleted by specifying a key entry. Use the following command:
ibrix_autoconnect -D -k KEY
For example, to delete the key ifs1_ro:
ibrix_autoconnect -D -k ifs1_ro
Setting up NFS clients
After mount points are defined in the management console, client setup includes editing an
Autoconnect script to point to the management console and the correct port, editing the /etc/
auto.master file on the client, and restarting services.
Before setting up NFS clients, check the following on each client:
Verify that automount is installed by running /etc/init.d/autofs status.
Ensure that wget or curl is installed if you plan to install a modified auto.curl or
auto.wget script. Use a utility such as find to search, if necessary.
46 Using NFS