1827287 Members
1887 Online
109717 Solutions
New Discussion

automount over two LAN's

 
louis gonzales
Occasional Advisor

automount over two LAN's

Currently I'm using one NIS domain over two VLAN's on a layer 3 switch. One issue I'm running into now is the automounter not mounting the maps and ultimately not the true NFS filesystems, as in:
# mount
/ on /dev/vg00/lvol3 defaults...
...
/home on auto_homes ignore,indirect,rw ...
...

In my case I want to see the "/home" mount show up as it does on the clients from the NIS masters native LAN or its IP network address. Any suggestions?

-Louis
gonzales@emunix.emich.edu
4 REPLIES 4
louis gonzales
Occasional Advisor

Re: automount over two LAN's

One other bit of information:
NIS master belongs to IP network:
192.9.70.0/24

Client that I want to automount:
130.16.64.0/18

ypwhich returns the correct NIS Master and
all the NIS maps get returned correctly from the corresponding ypcat MAPNAME command. Thanks again.
Dave Olker
Neighborhood Moderator

Re: automount over two LAN's

Hello Louis,

If the NFS client can see all of the correct automount maps then where does the problem occur? Does it fail when someone tries to actually use the maps and mount a filesystem, like when someone CD's to /home/? If so, what exact error message do you get?

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
louis gonzales
Occasional Advisor

Re: automount over two LAN's

Hello Dave, I must apologize - and close this thread - I had set the variable for NFS_CLIENT=0 while I was testing this client on a VLAN with a different IP network and subnet mask - 130.16.64.0/18 - relative to the existing LAN - 192.9.70.0/24. Once I realized this, I stopped and started the nfs.client script and all the maps allowed for the automounting just fine. Thanks again, and sorry about not closing the thread.

Regards,
-Louis
louis gonzales
Occasional Advisor

Re: automount over two LAN's

File: /etc/rc.config.d/nfsconf
Variable: NFS_CLIENT was set to 0 rather than 1.

NIS and automount both work fine over the two VLAN's.