LinuxQuestions.org
Help answer threads with 0 replies.
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 12-01-2005, 03:08 AM   #1
BerlinBadger
LQ Newbie
 
Registered: Oct 2005
Location: Berlin, Germany
Distribution: SUSE 10
Posts: 11

Rep: Reputation: 0
Mount --bind & NFS problem


Hi,

On the server I have mounted some common directories into each user's home using the mount --bind option. This is working as required. When users ftp to their /home/user area they have access to the shared directories. Using Samba a single Home drive has all the personal & shared directories.

However, on the other Linux workstations mounting the home directory using NFS gives everything EXCEPT the shared directories from the server.

So, Is a mount --bind on the server exported to NFS? It would appear not. Am I missing something here?

I have it working at the moment by connecting to the shared directories using NFS & having a local workstation Mount --bind to put them in the home areas. This is a messy solution as on the local machines I must sort out all the NFS mounts. I also don't like this as Samba appears to work better than NFS, something that never sounds true!!

Thanks
 
Old 12-02-2005, 12:15 PM   #2
geeman2.0
Member
 
Registered: Feb 2005
Location: Ontario, Canada
Distribution: Gentoo, Slackware
Posts: 345

Rep: Reputation: 30
From the NFS Howto page http://nfs.sourceforge.net/nfs-howto...eshooting.html

Quote:
It is not possible to export both a directory and its child (for example both /usr and /usr/local). You should export the parent directory with the necessary permissions, and all of its subdirectories can then be mounted with those same permissions.
So it looks like you're probably stuck mounting them individually.
And when you think about it, this makes sense from a security point of view, so that individual users can't export directories that they aren't supposed to be doing.
 
Old 12-02-2005, 12:25 PM   #3
BerlinBadger
LQ Newbie
 
Registered: Oct 2005
Location: Berlin, Germany
Distribution: SUSE 10
Posts: 11

Original Poster
Rep: Reputation: 0
Thanks for the reply. It answers my question as I had suspected..

However, it has now created a further query (not really a full blown question more advice).

I assume it is better to mount the high level directories (ie /home/user & /public) over NFS & then locally mount the subdirectories where I need them. I am assuming here that the fewer network connections (1 per user & 1 for public data) is better than lots of NFS mounts. Or does it not really matter (maybe Linux aggrigates the connections behind the scenes)
 
  


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
how to mount a nfs mount from linux client to AIX nfs server dennyqian AIX 13 04-11-2016 11:30 PM
NFS mount of smb mount of windows share: permission denied problem :( Bagatur Linux - Networking 4 07-07-2009 11:34 AM
Slow NFS Mount between Gentoo & FreeBSD Gsee Linux - Networking 3 10-23-2006 04:34 PM
mount --bind (fstab problem) renski Linux - General 2 11-17-2005 03:50 PM
Questions (remote control & mount --bind) DenShinobi Linux - Newbie 2 02-05-2002 09:57 PM

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

All times are GMT -5. The time now is 07:58 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
Open Source Consulting | Domain Registration