LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Newbie
User Name
Password
Linux - Newbie This forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Thread Tools
Old 11-05-2009, 10:12 AM   #1
apkelley
LQ Newbie
 
Registered: Oct 2009
Posts: 4
Thanked: 0
Mount \home\<username> from server to all other linux machines


[Log in to get rid of this advertisement]
I'm new to linux and can't seem to figure out how to do this.

I have a number of servers which authenticate against my windows domain. There is one particular server (let's call it mainserver) that users of our computer cluster log into. When they log in for the first time, a directory \home\<username> is created.

Users are submiting jobs to our computer cluster through torque and the torque computation nodes need access to the contents of the \home\<username> folder on mainserver.

I have tried to share the \home folder on mainserver using nfs and it is successfully mounting on the computation servers, but on the computation servers I can't access the mounted \home\<username>, even when logged in as <username> due to permission issues.

Is there a way to do this?

Thanks for any help.
windows_98_nt_2000 apkelley is offline     Reply With Quote
Old 11-06-2009, 01:49 AM   #2
chrism01
Guru
 
Registered: Aug 2004
Location: Brisbane
Distribution: Centos 5.4
Posts: 7,429
Thanked: 326
Post the following info:

1. distro & ver of both systems
2. contents of nfs exports file
3. show cli attempt to mount/read export from the client; include all cmds/msgs

NB: for nfs the 'user' on both ends must have the same uid, the username is not significant. Remember, like DNS, it's all done with numbers under the skin.

Last edited by chrism01; 11-06-2009 at 01:50 AM..
windows_xp_2003 chrism01 is online now     Reply With Quote


Old 11-06-2009, 11:20 AM   #3
apkelley
LQ Newbie
 
Registered: Oct 2009
Posts: 4
Thanked: 0

Original Poster
Hi Chris,

Thanks for your reply. I found out that my UID's were different on the different machines. On one machine I was using Kerberos/NIS to authenticate and on the other I was using samba/winbind and that resulted in differed UID's on the different machines. Once I switched to using Kerberos/NIS on all of the machines, everything worked as expected. Thanks for your help.
windows_98_nt_2000 apkelley is offline     Reply With Quote



Reply

Bookmarks


Thread Tools

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
Undeleting /home/$username on ext3 Sangaho Linux - Hardware 6 07-09-2007 09:12 AM
LXer: Vista Home Editions Won't Run On Mac, Linux Virtual Machines LXer Syndicated Linux News 0 02-03-2007 06:54 PM
Newb locked out of /home/username? Charlie Spencer Linux - Newbie 7 07-21-2006 01:18 AM
mount: server:/home can't read superblock phil.d.g Linux - General 0 05-11-2006 05:03 PM
unable to Mount server home directory to clients abhishek124 Linux - Networking 1 06-24-2005 03:44 AM


All times are GMT -5. The time now is 10:42 PM.

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration