1833016 Members
2539 Online
110048 Solutions
New Discussion

Automounter problems

 
SOLVED
Go to solution
dictum9
Super Advisor

Automounter problems

OK, On the client machine I created the directory and restarted /sbin/init.d/nfs.core nfs.client and nfs.server. I also restarted the automounter process.

On the server I did exportfs -av and made sure the directory to be exported was in the /etc/exports. I am pretty certain it's exporting it.

Yet when I go to the client, and do ll on that directed, it has nothing in it. Why is that? Do I need to reboot?




8 REPLIES 8
Ludovic Derlyn
Esteemed Contributor
Solution

Re: Automounter problems

hi,

have you verify in kermel if parameter is set ? (nfs client nfs server)

on the server you must have these process:

rpcbind
rpc.mountd
nfsd4
rpc.statd
rpc.lockd
pcnfsd

on the client you must have these process :

rpcbind
biod4
rpc.statd
rpc.lockd


what is the result of nfsstat ?

regards

L-DERLYN

Steven E. Protter
Exalted Contributor

Re: Automounter problems

Shalom,

From another machine

showmount -e hostname

The export failed if it does now show up.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Rick Garland
Honored Contributor

Re: Automounter problems

You say you are pretty certain the FS is being exported. To make sure, check the contents of the /etc/xtab file. Also, can use the 'exports -v' command.

Have you stopped and restard the automount process?

dictum9
Super Advisor

Re: Automounter problems

On the client:

#: showmount -e sbapca2
export list for sbapca2:
/cdrom (everyone)
/usr/sap/trans (everyone)

On the server:

#:exportfs -v
/cdrom -anon=65534,ro
/usr/sap/trans -anon=65534



#:cat /etc/xtab
/cdrom -anon=65534,ro
/usr/sap/trans -anon=65534


Yes, I did restart the automountd.

Dave Olker
Neighborhood Moderator

Re: Automounter problems

Hi,

Several questions to help narrow down your problem:

1. What is the OS version and patch level of the client system?

2. What is the OS version and patch level of the server system?

3. Can you please post your AutoFS maps so that I can see the exact syntax of the maps

4. Once AutoFS is running, please post a copy of your /etc/mnttab file so that I can verify the AutoFS placeholders are intact.

5. Before you do an "ll" of the target directory do a "ps -e | grep automountd" on the NFS client and send the automountd process a SIGUSR2 signal by issuing "kill -17 ". This will enable debug logging of the automountd process. Then do the "ll" of the directory and post the contents of the /var/adm/automountd.log file.

This information will help determine the root cause of the problem.

Regards,

Dave


I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
dictum9
Super Advisor

Re: Automounter problems

I resolved the matter.
First, there was an error in the map files.
Secondly, even after I got the correct syntax and did all the other necessary steps, it still wouldn't take. I had to reboot and all was fine. Not sure how I could have avoided the reboot.
Dave Olker
Neighborhood Moderator

Re: Automounter problems

The data I requested may have shown the source of the problem and avoided the reboot.

If the problem reappears for some reason I'd request the same data to troubleshoot the problem.

Regards,

Dave


I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
dictum9
Super Advisor

Re: Automounter problems

Thanks, I will post the data shortly.