'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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.