Unexporting a file system with 'exportfs -u' returns an error code if the IP does not resolve to any hostname in RHEL 7
Issue
- I'm running
exportfs -uto remove an export, and it returns a failure, yet seems to actually unexport the file system correctly anyways. - Unexporting with
exportfs -ureturns 1 but still removes the export
Environment
- Red Hat Enterprise Linux (RHEL) 7
nfs-utils- Exporting to more than one individual IP addresses that do not resolve to a hostname in DNS,
/etc/hosts, or other name resolution sources
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
