Example: Two-node NFS cross-mounting configuration
The this example, Node A currently hosts a nonconcurrent
resource group, RG1, which includes /fs1 as an exported
NFS file system and service1 as a service IP label.
In this example, Node B currently hosts a nonconcurrent resource
group, RG2, which includes /fs2 as an exported NFS
file system and service2 as a service IP label.
On reintegration, /fs1 is passed back to Node A,
locally mounted, and exported. Node B mounts it over NFS again.

The two resource groups would be defined in SMIT as follows.
| Resource group | RG1 | RG2 |
|---|---|---|
| Participating node names | Node A Node B |
Node B Node A |
| File systems The file systems to be locally mounted by the node currently owning the resource group. | /fs1 |
/fs2 |
| File systems to export
The file system to NFS export by the node currently owning the resource group. The file system is a subset of the file system listed previously. |
/fs1 |
/fs2 |
| File systems to NFS mount The file systems and directories to be NFS mounted by all nodes in the resource group. The first value is NFS mount point. The second value is the local mount point. |
/mnt1;/fs1 |
/mnt2;/fs2 |
| File systems mounted before IP configured | true |
true |
In this scenario:
- Node A locally mounts and exports
/fs1, then over-mounts on/mnt1. - Node B NFS-mounts
/fs1,on/mnt1from Node A.
Setting up a resource group like this ensures the expected default node-to-node NFS behavior.
When Node A fails, Node B closes any open files in Node A: /fs1,
unmounts it, mounts it locally, and re-exports it to waiting clients.
After takeover, Node B has:
-
/fs2locally mounted -
/fs2NFS-exported -
/fs1locally mounted -
/fs1NFS-exported -
service1:/fs1NFS mounted over/mnt1 -
service2:/fs2NFS mounted over/mnt2b
Both resource groups contain both nodes as possible owners of the resource groups.