get_exports: lookup(hosts): exports lookup failed for $HOSTNAME
I recently retired a RH Linux system and now /var/log/messages error'ing with the following automount error
get_exports: lookup(hosts): exports lookup failed for "$hostname" key "$hostname" not found in map source(s) The system didnt have any directories exported from the $host and there is not host mappings under my configured path from auto.master. How can I stop this repeated logging? |
auto.master calls other map files. Make sure you look in the other map files it is calling for $host.
Verify the mount isn't specified in /etc/fstab. It is possible you had $host hard mounted when you stopped things so it didn't unmount cleanly. Look in /etc/mtab to see what it thinks is mounted via NFS. You can try "umount -f" (force) on any mount seen and if that doesn't work try "umount -l" (lazy). Note: Do NOT edit mtab. |
No nothing in fstab, mtab, or exports thats whats puzzling. The system was a desktop client that didnt have any exported filesystems
|
I'm confused. You said you retired the system then in latest used the past tense about the system. Where exactly are you seeing these messages?
Do you literally see "$host" or are you using that to obfuscate the real name of the host. What OS (distro and version) is on the system where you're seeing the error (not the one you retired)? This bug may be relevant: https://bugzilla.redhat.com/show_bug.cgi?id=1038356 |
Sorry didnt mean to confuse the situation.
I retired (powered off) a system (linux desktop client) named testmachine1. This machine used automount to mount /drive1 only. No other nfs. Now the server that hosts /drive1 which is exported is giving the errors in /var/log/messages get_exports: lookup(hosts): exports lookup failed for testmachine1 key "testmachine1" not found in map source(s) |
All times are GMT -5. The time now is 12:25 AM. |