[Linux-cluster] RHEL4 cluster NFS

Lon Hohberger lhh at redhat.com
Tue Mar 6 15:05:52 UTC 2007


On Tue, 2007-03-06 at 20:25 +1100, Matthew Geier wrote:

>  Any one have a concise example on how to NFS export an ext3 filesystem
> on RHEL U4 cluster suite. ?

Typically, it should look something like this:

<resources>
  <nfsexport name="foo"/>
</resources>
<service name="myservice">
  <fs device... mountpoint... name... type... (etc...) >
    <nfsexport ref="foo">
      <nfsclient .../>
      <nfsclient .../>
      <nfsclient .../>
    </nfsexport>
  </fs>
  <ip/>
  <samba/> <!-- unless you're using your own script, in which case,
                use <script/> -->
</service>

If you need to export something *other* than the top-level mountpoint,
you can add path="" attributes to the nfsclient resources (include the
full path; i.e. if mountpoint was /mnt/1 and you want to
export /mnt/1/foo, use path="/mnt/1/foo", not "/foo"...).

Let's see what you've got now?

-- Lon




More information about the Linux-cluster mailing list