1847292 Members
2389 Online
110263 Solutions
New Discussion

Re: automounter

 
Vic S. Kelan
Regular Advisor

automounter

Hi
I am having problems with an automounted file system that I used to share some files on a couple of servers.

The most recent change I had was migrating data to a new VG, one of the VG's is the source of my filesystem to the other servers.

When I try from the other servers to connect to the automounted share which was ro from a client I get the error:

ll /net/testdev/relse
/net/testdev/relse not found

The source server has this entry in /etc/auto_master:
/net -hosts -nosuid,soft

and in its /etc/mntab:
testdev:(pid16117) /net ignore ro,intr,port=604,map=-hosts,indirect,dev=0014 0 0 1127492407

How can I rectify this please? I have restarted automounter on the source server with no luck....
10 REPLIES 10
Geoff Wild
Honored Contributor

Re: automounter

How did you restart the automounter?

Did you do a /sbin/init.d/nfs.client stop/start on client as well?

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Marvin Strong
Honored Contributor

Re: automounter

try restarting nfs services on the destination client.
Vic S. Kelan
Regular Advisor

Re: automounter

thanks Marvin/Geoff for your response, I have tried doing this both on the source and destination but I still get not found error........
Mel Burslan
Honored Contributor

Re: automounter

on the client side, are you able to connect to any automounted filesystems ? Especially from the same server you are having problems with ?

can you provide the contents of your

/etc/auto_master
/etc/auto.direct

files ?
________________________________
UNIX because I majored in cryptology...
Vic S. Kelan
Regular Advisor

Re: automounter

Hi Mel,

On the client side I have only one automounted filesystem, the one with the problem

The automount was set up by a previous SA and I had not had any problem with it until now.

the /etc/auto_master contains just this line:
/net -hosts -nosuid,soft
No /etc/auto.direct for some reason, but it worked like this until I noticed today.......
Mel Burslan
Honored Contributor

Re: automounter

well, looks like you have a bit different config than mine but this is how mine works:

/etc/auto_master contents

/net -hosts -nosuid,soft,nobrowse
/- /etc/auto.direct



/etc/auto.direct contents

/usr/sap/trans -proto=tcp prd_dbci:/usr/sap/trans #as an example
________________________________
UNIX because I majored in cryptology...
Geoff Wild
Honored Contributor

Re: automounter

Again - how did you restart the automounter on the server? If you just killed it - then you are hosed - you will need to reboot...

Correct way:

unmount any local automounts
/sbin/init.d/nfs.client stop
/sbin/init.d/nfs.server stop
/sbin/init.d/nfs.core stop

/sbin/init.d/nfs.core start
/sbin/init.d/nfs.server start
/sbin/init.d/nfs.client start

another thing to try - try mounting it manually:

mount sourceserver:/testdev/relse /mnt

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Marvin Strong
Honored Contributor

Re: automounter

From my understanding Mel's example is an example of a direct map /- means direct map, If you are trying to do an indirect map. I would think you still need the map.

auto_master:
/net /etc/auto.indirect -intr,nosuid

auto.indirect:
client -rw,intr source:/net/testdev/relse

Are you sure that you were using automount before and not just NFS mounted filesystem?
Mark Ellzey
Valued Contributor

Re: automounter

Vic,

Try re-exporting the NFS filesystem on the server.

Regards,
Mark
Vic S. Kelan
Regular Advisor

Re: automounter

THanks to everybody that contributed, I had a system reboot this weekend for patch application and afterwards the i was able to mount the FS from all the servers except one which I just manually restarted nfs services on and it worked.........