1834804 Members
2611 Online
110070 Solutions
New Discussion

using NIS and NFS

 
SOLVED
Go to solution
Steve Buchan
New Member

using NIS and NFS

Hi all,

Its been so long since I had to do this, I've totaly forgotten how its done!

I have created a lvol on my NIS/NFS server and exported it. I now want to make sure all the NIS clients mount this NFS directory.

My mind is completely blank!

Any help appreciated.
4 REPLIES 4
Leif Halvarsson_2
Honored Contributor

Re: using NIS and NFS

Hi,
On your clients, add a line for this filesystem in /etc/fstab and do a "mount -a".
Steve Buchan
New Member

Re: using NIS and NFS

I have a hell of a lot of clients...is there a way to push this change through NIS?
donne007
Regular Advisor
Solution

Re: using NIS and NFS

Hi steve
Let's us Understand that once You Have Exported a Directory. (Logical Volume( As u Say)which is Mounted on a Mount Point )
on a NFS server can Only be accessed after you Configure the NFS Clients, The BasicSteps are
> Adding the Host & IP address in the /etc/Hosts on the Clients side.
>Start the NFS.Client
>Manually Chek whether u are able to mpunt the exported Dierctory.
# mount NFSServer Name: /Exported Dir / Mount point on a Client.

NOw You want to Automatically Mount when a Client logs into th NIS Server.
Add the Above Mount Entries in the /etc/Auto.direct File ..

Also Your can Auto mate the above task if you have aHell A lot of NFS/NIS Clients Systems By Writing a Scrtips and again Manually Executing the scripts connecting to the respective clients .

Good Luck
ASif
Steve Buchan
New Member

Re: using NIS and NFS

ah...auto_direct file. thats what my crappy memory was forgetting :)


Cheers man, you saved me a major headache