Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
10-24-2004, 05:48 PM
|
#1
|
Member
Registered: Jan 2003
Location: Canada
Distribution: Ubuntu, Mepis, Debian
Posts: 158
Rep:
|
NFS: a mounted to b, b mounted to c, c can't read a?
For some or other reason, this does not seem to work:
I mount a directory from machine a in the directory tree in machine b. I then mount a part of the directory tree that contains the mount from a in machine c.
Now, from machine c, I can see the directories for both machines a and b, but I cannot see the files in the directories of a. I have checked the permissions in all the directories (set them to 777), and made sure my exports allow exports to c from both a and b.
Is this a limitation of NFS, or do I need to fix something?
Thanks!
Steve
Last edited by Steve Cronje; 10-24-2004 at 05:54 PM.
|
|
|
10-24-2004, 06:06 PM
|
#2
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
it's part of NFS, you could be exporting all things all over the place if this was allowed. you can only export local data. this is a good thing. basically you need a better approach to sharing files on your network.
|
|
|
10-24-2004, 06:15 PM
|
#3
|
Member
Registered: Jan 2003
Location: Canada
Distribution: Ubuntu, Mepis, Debian
Posts: 158
Original Poster
Rep:
|
Quote:
Originally posted by acid_kewpie
it's part of NFS, you could be exporting all things all over the place if this was allowed. you can only export local data. this is a good thing. basically you need a better approach to sharing files on your network.
|
Thanks for the response.
What I am trying to do, is use several blocks of free space on the 5 different machines on my home network for sharing music, and other, files. I was hoping to make this transparent, in that all the shares are mounted to one directory which the other machines can then mount, making changes to the configuration only necessary on that one machine.
Of course, NOW, I see what you mean - that would create a cyclical system.
So, what approach would you suggest, or am I stuck with configuring each machine individually?
Thanks
Steve
|
|
|
10-24-2004, 06:22 PM
|
#4
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
well you have the slightly ropey option of placing a centrally editable script on a main nfs share. this contains a script to mount other shares whever the share is accessed from...
|
|
|
10-24-2004, 06:25 PM
|
#5
|
Member
Registered: Jan 2003
Location: Canada
Distribution: Ubuntu, Mepis, Debian
Posts: 158
Original Poster
Rep:
|
Quote:
Originally posted by acid_kewpie
well you have the slightly ropey option of placing a centrally editable script on a main nfs share. this contains a script to mount other shares whever the share is accessed from...
|
Yeah, probably quicker and cleaner to just edit the individual machines.
Thanks
Steve
|
|
|
10-25-2004, 12:47 AM
|
#6
|
Member
Registered: Jul 2004
Distribution: Red Hat 9, Mandrake 9.2
Posts: 211
Rep:
|
@Steve Cronje
NFS: a mounted to b, b mounted to c, c can't read a?
This is not allowed by nfs protocol, it doesn't allow u to export and exported files only local files can be exported.
Is there any specifice need to do that. Just mount everthing u want from m/c 'a' directly without mounting it to 'b' and from 'b' to 'c'.
-Akshat
|
|
|
10-25-2004, 10:00 AM
|
#7
|
Senior Member
Registered: Dec 2000
Location: Gothenburg, SWEDEN
Distribution: OpenSUSE 10.3
Posts: 1,028
Rep:
|
A more extensive way would be to try and set up some distributed filesystem. Haven't looked any deeper into that though.
|
|
|
10-25-2004, 10:34 AM
|
#8
|
Member
Registered: Jan 2003
Location: Canada
Distribution: Ubuntu, Mepis, Debian
Posts: 158
Original Poster
Rep:
|
Quote:
Originally posted by akshatyadav
@Steve Cronje
NFS: a mounted to b, b mounted to c, c can't read a?
Is there any specifice need to do that.
-Akshat
|
Just convenience. If I have all the mounts in one central place, I do not have to edit the configuration of every machine every time something changes on the network. If you knew what a fiddler I am, you would understand!! ;-)
Steve
|
|
|
10-25-2004, 10:39 AM
|
#9
|
Member
Registered: Jan 2003
Location: Canada
Distribution: Ubuntu, Mepis, Debian
Posts: 158
Original Poster
Rep:
|
Quote:
Originally posted by ugge
A more extensive way would be to try and set up some distributed filesystem. Haven't looked any deeper into that though.
|
hmm ..
I guess that's really what I am trying to do, but without the effort! I haven't researched this at all myself, either. It may be overkill for me, though.
Thanks for the reply.
Steve
|
|
|
10-25-2004, 10:51 AM
|
#10
|
Member
Registered: Jan 2003
Location: Canada
Distribution: Ubuntu, Mepis, Debian
Posts: 158
Original Poster
Rep:
|
Quote:
Originally posted by Steve Cronje
hmm ..
I haven't researched this at all myself, either. It may be overkill for me, though.
Steve
|
Quoting myself here, I should become a politician ;-)
From the Coda manual:
Quote:
Coda is a distributed file system that supports disconnected operation. Your user files are kept remotely on Coda server(s) where you can access them using venus, the client-side software for Coda. When you are strongly connected to the network, and authenticated to the Coda server, your user behavior defines what files are cached locally on your client computer. Since your files are still kept on the server, you can access them from any number of physical computers anywhere in the world. Any distributed file system can give this level on functionality, but Coda takes the user experience many steps further.
|
Of course, I am trying to use all the odd GBs of disk space lying around on my home network, which is mainly static, other than for one laptop, so perhaps this won't work, either.
Steve
Last edited by Steve Cronje; 10-25-2004 at 10:54 AM.
|
|
|
All times are GMT -5. The time now is 12:02 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|