'nfsclient' resource is not inheriting 'mountpoint' attribute from 'fs' resource

Solution Verified - Updated -

Issue

  • nfsclient resource doesn't inherit a 'mountpoint' attribute from parent fs resource if the nfsexport resource is not a direct parent of nfsclient resource
  • following configuration fails with error when attempting to start the cluster service

    <resources>
      <nfsclient name="jim" target="jim.example.com" options="rw,no_root_squash"/>
      <nfsexport name="exports"/>
    </resources>
    ...
    <nfsexport ref="exports">
      <fs name="1" mountpoint="/mnt/foo" device="/dev/sdb1" fsid="12344">
        <nfsclient ref="jim"/>
      </fs>
    </nfsexport>
    
    
      [nfsclient] No export path specified.
    

Environment

  • Red Hat Enterprise Linux 6 with High-Availability or Resilient Storage Add-on
  • rgmanager containing nfsclient resources utilizing inheritance

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content