LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux 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
  Search this Thread
Old 11-05-2009, 10:12 AM   #1
apkelley
LQ Newbie
 
Registered: Oct 2009
Posts: 4

Rep: Reputation: 0
Mount \home\<username> from server to all other linux machines


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.
 
Old 11-06-2009, 01:49 AM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
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.
 
Old 11-06-2009, 11:20 AM   #3
apkelley
LQ Newbie
 
Registered: Oct 2009
Posts: 4

Original Poster
Rep: Reputation: 0
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.
 
  


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
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 01:25 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration