IBM Support

RHEL6: "mount.nfs4: Operation not permitted" when mounting NFS device - IBM System Cluster 1350 (1410)

Troubleshooting


Problem

When attempting to mount a Network File System (NFS) from a Red Hat Enterprise Linux 6 host, the following error may be seen: mount.nfs4: Operation not permitted

Resolving The Problem

Source

RETAIN tip: H203203

Symptom

When attempting to mount a Network File System (NFS) from a Red Hat Enterprise Linux 6 host, the following error may be seen:

  mount.nfs4: Operation not permitted

Affected configurations

The system may be any of the following IBM servers:

  • IBM System Cluster 1350, type 1410, any model

The system is configured with at least one of the following:

  • Red Hat Enterprise Linux 6, any update

This tip is not option specific.

Note: This does not imply that the network operating system will work under all combinations of hardware and software.

Please see the compatibility page for more information:

Workaround

This is a configuration issue. A required parameter needs to be added to the file /etc/exports to define the root file system for mounting.

The parameter that needs to be added follows:

  fsid=0

An example line would look like the following:

  /storage *(rw,fsid=0,sync,insecure_locks,insecure,no_root_squash)

Additional information

NFSv4 works differently and no longer references the root of the file system but instead requires the root to be defined with fsid=0.

If fsid=0 is not present, permission will never be granted for the file system to be mounted.

Document Location

Worldwide

Operating System

System x Integrated Solutions:Red Hat Enterprise Linux 6

System x Integrated Solutions:Red Hat Enterprise Linux 6 x86-64

[{"Type":"HW","Business Unit":{"code":"BU016","label":"Multiple Vendor Support"},"Product":{"code":"HW20W","label":"eServer Cluster 1350"},"Platform":[{"code":"PF042","label":"Caldera"}],"Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
30 January 2019

UID

ibm1MIGR-5088115