IBM Support

NIM mksysb via NFSv4 fails with error: an unexpected result was returned by the "/usr/bin/df" command

Troubleshooting


Problem

When attempting to define NIM mksysb with "nfs_vers=4" option, you may face an error similar to the following:
0042-001 nim: processing error encountered on "master":
   0042-001 m_mkbosi: processing error encountered on "client":
   Cannot find file system or does not match filter: /tmp/17629650.mnt0
0042-175 c_mkbosi: An unexpected result was returned by the "/usr/bin/df" command:

Symptom

You may also see below exportfs error:
0042-175 c_ch_nfsexp: An unexpected result was returned by the "/usr/sbin/exportfs" command:
exportfs: /export/images/client: A system call received a parameter that is not valid.

Cause

It's due to the nfsroot (nfs root path) and psuedo-root (nfs public path) are set to some others instead of the default value "/", but NIM mksysb via NFSv4 only works with the default nfsroot and psuedo-root "/".

Environment

AIX

Diagnosing The Problem

Check the current nfsroot (nfs root path) and psuedo-root (nfs public path) settings:
# nfsd -getnodes
#root:public
/software:/software

Resolving The Problem

If they are set as some customized paths like above, then change them back to "/".
# chnfs -r /
# chnfs -p /
After that, check the values again.
# nfsd -getnodes
#root:public
/:/
Then perform your NIM define mksysb via NFSv4.

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB08","label":"Cognitive Systems"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SWG10","label":"AIX"},"ARM Category":[{"code":"a8m0z000000cvysAAA","label":"Install-\u003Ealt disk"},{"code":"a8m0z000000cvyjAAA","label":"Install-\u003Emksysb\/backups"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]

Document Information

Modified date:
20 November 2023

UID

ibm17080037