LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 11-22-2011, 12:22 PM   #1
JeffElkins
LQ Newbie
 
Registered: Sep 2007
Posts: 18

Rep: Reputation: 0
/home on nfs


I'm trying to use server:/storage as my /home using nfs/autofs. The problem I'm having is when I log in, server:/storage is allocated as my user directory rather than the location of my user directory.

I've tried several different auto.* files. This is what I have currently.

auto.master:

Code:
/home   /etc/auto.home

auto.home
Code:
* -fstype=nfs,rw,user server:/storage
Thanks for any help.
 
Old 11-22-2011, 02:54 PM   #2
Doc CPU
Senior Member
 
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Mint, Debian, Gentoo, Win 2k/XP
Posts: 1,099

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Hi there,

Quote:
Originally Posted by JeffElkins View Post
auto.home
Code:
* -fstype=nfs,rw,user server:/storage
I vaguely remember that you have to use the syntax ://server/share in an autofs config file.

[X] Doc CPU
 
Old 11-22-2011, 03:14 PM   #3
JeffElkins
LQ Newbie
 
Registered: Sep 2007
Posts: 18

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Doc CPU View Post
Hi there,



I vaguely remember that you have to use the syntax ://server/share in an autofs config file.

[X] Doc CPU

Typo entering the question. Syntax is correct in the actual file. But thanks for the response.

Edit: placing a & server://storage/& fixed things.

Last edited by JeffElkins; 11-22-2011 at 04:27 PM.
 
  


Reply



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
Samba home directory over nfs? struggled_newbie Linux - Server 1 10-13-2011 11:56 PM
NFS problem: "Could not chdir to home directory /home/USER: Permission denied" sumanc Linux - Server 4 07-22-2010 04:12 PM
Mounting /home via nfs farmorg Linux - Networking 1 07-28-2007 08:39 PM
NFS Your Home tobysaville Linux - General 6 06-20-2004 04:27 AM
nfs for home Bouddha Linux - General 1 03-10-2003 05:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:44 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