How to configure nfs.enable_ino64 parameter

Solution Unverified - Updated -

Environment

  • Red Hat Enterprise Linux
  • NFS

Issue

  • How to configure enable_ino64 parameter?
  • How to set enable_ino64?

Resolution

This is a nfs module option and can be set using the following ways.

  1. Using grub parameter nfs.enable_ino64
  2. Using modprobe.conf
- On RHEL 5 the /etc/modprobe.conf file can be used.

- On RHEL 6 and later, you can also use a file with the module name at /etc/modprobe.d/<modulename.conf>

Following is a sample configuration.

# echo "options nfs enable_ino64=0"  > /etc/modprobe.d/nfs.conf

Diagnostic Steps

  • To check if the module parameter has been applied successfully.
# cat /sys/modules/nfs/parameters/enable_ino64  
  • When nfs is mounted and its modules are loaded, the setting becomes effective. It is recommended to apply the settings before nfs gets mounted.
  • If nfs is already mounted you need to unmount and ensure the modules are reloaded to make this effective.

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments