LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-25-2006, 01:19 PM   #1
ramram29
Member
 
Registered: Jul 2003
Location: Miami, Florida, USA
Distribution: Debian
Posts: 848
Blog Entries: 1

Rep: Reputation: 47
NIS, NFS, autofs and /home folder question


I got NIS, NFS and autofs to work. Everything works well. However, I would like to make the local workstation's /home folder become automounted during login. Has anobody done this before?
 
Old 08-25-2006, 05:56 PM   #2
ph0b0s
Member
 
Registered: Aug 2005
Location: Belgium
Distribution: Debian, after testing all the others!
Posts: 41

Rep: Reputation: 15
Quote:
Originally Posted by ramram29
I got NIS, NFS and autofs to work. Everything works well. However, I would like to make the local workstation's /home folder become automounted during login. Has anobody done this before?
You mean to have it mounted at boottime? Add it to /etc/fstab
like this :

192.168.2.151:/home/user/ /mnt/devos-spk nfs user, rsize=8192 , wsize=8192,soft 0 0

(ALL ON ONE LINE)

where - 192.168.2.151:/home/user is the path to the share o/t host
- /mnt/devos-spk is where it is to be mounted o/t client
- nfs is... wel for nfs
- user means user can mount and unmount the filesystem

You might also need to add 'auto' between user and rsize on some
systems.

Good luck!
 
Old 08-25-2006, 09:26 PM   #3
ramram29
Member
 
Registered: Jul 2003
Location: Miami, Florida, USA
Distribution: Debian
Posts: 848

Original Poster
Blog Entries: 1

Rep: Reputation: 47
I don't want to mount it at boot time. I want it to automatically mount when the user tries to access his/her home folder. Then after 1 minute of inactivity to dismount and wait for the next request. In otherwords, I'm trying to setup autofs on the home directory located on another server.

I don't think this could be done because I don't see examples of it anywhere. I guess if you want to server remote home directories then you have to mount the directory at startup.

How can you automount remote home folders? By automount I mean using the service autofs, not /etc/fstab.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
autofs with NIS lnchrs Linux - Networking 0 03-01-2005 04:36 PM
exporting home directory with NFS and NIS cevjr Linux - Networking 2 12-23-2004 11:11 AM
NIS and autofs with /home Rekna Linux - Networking 1 06-21-2004 12:34 AM
Solaris serving NIS, NFS, autofs to RH7.3 joeljensen Linux - Networking 1 07-12-2002 08:28 PM
NIS/NFS and sharing home directories grebo Linux - Networking 1 09-22-2001 12:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration