5.6 HP StorageWorks X9000 File Serving Software User Guide (TA768-96035, June 2011)

From the CLI
To export a file system from the CLI, use the ibrix_exportfs command:
<installdirectory>/bin/ibrix_exportfs -f FSNAME -h HOSTNAME -p CLIENT1:PATHNAME1,
CLIENT2:PATHNAME2,.. [-o "OPTIONS"] [-b]
The options are as follows:
DescriptionOption
The file system to be exported.f FSNAME
The file serving node containing the file system to be exported.-h HOSTNAME
The clients that will access the file system can be a single file serving node, file
serving nodes represented by a wildcard, or the world (:/PATHNAME). Note that
world access omits the client specification but not the colon (for example, :/usr/
src).
-p CLIENT1:PATHNAME1,
CLIENT2:PATHNAME2,..
The default Linux exportfs mount options are used unless specific options are
provided. The standard NFS export options are supported. Options must be enclosed
in double quotation marks (for example, -o "ro"). Do not enter an FSID= or
sync option; they are provided automatically.
-o "OPTIONS"
By default, the file system is exported to the NFS client’s standby. This option
excludes the standby for the file serving node from the export.
-b
For example, to provide NFS clients *.hp.com with read-only access to file system ifs1 at the
directory /usr/src on file serving node s1.hp.com:
<installdirectory>/bin/ibrix_exportfs -f ifs1 -h s1.hp.com -p *.hp.com:/usr/src -o "ro"
To provide world read-only access to file system ifs1 located at /usr/src on file serving node
s1.hp.com:
<installdirectory>/bin/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 pane, and then select Unexport.
On the CLI, use the following command:
<installdirectory>/bin/ibrix_exportfs -f FSNAME -U -h HOSTNAME -p CLIENT:PATHNAME [-b]
Exporting a file system 39