Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 11-05-2009, 09:12 AM   #1
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, 12:49 AM   #2
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Centos 7.7 (?), Centos 8.1
Posts: 18,175

Rep: Reputation: 2682Reputation: 2682Reputation: 2682Reputation: 2682Reputation: 2682Reputation: 2682Reputation: 2682Reputation: 2682Reputation: 2682Reputation: 2682Reputation: 2682
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 12:50 AM.
Old 11-06-2009, 10:20 AM   #3
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.


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

All times are GMT -5. The time now is 11:04 PM.

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