LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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-27-2011, 12:54 PM   #1
jamesl8
LQ Newbie
 
Registered: Sep 2011
Posts: 2

Rep: Reputation: Disabled
NFS - sharing client files through one server


I'm hoping to have one server through which (from any client) I could access files from any other client connected to the server. After doing some reading on NFS, it appears that I would have to make each client an NFS server and export that clients directories so that they can be mounted by the other clients.

Could I mount a directory from a client on a server and then export that mounted directory to other clients? This way I only go through one machine to mount exports.

Or is there another way to share files from many clients through one server?

Is each machine being a server and a client the way NFS is supposed to work for sharing files over a home wireless network?
 
Old 12-27-2011, 01:19 PM   #2
JimBrewster
Member
 
Registered: Feb 2010
Location: usa:/dev/random
Distribution: Slackware-15.0; -current
Posts: 245

Rep: Reputation: 60
I think the more common method is to have one file server with the rest of the machines saving files they want to share to the server. I'm trying to think of an advantage to your idea. Seems like it would adversely increase network overhead for machine A accessing a share on machine B, which in turn must access it from machine C. Better to have a central repository, possibly with partial or full mirrors on other machines. Then only one machine would need an NFS server configured, and the others could read from and write to that share as clients.

Another way would be separate specialized repositories on different machines, with clients mounting them directly to access shared files. Like machine A might serve all the music files, machine B documents, machine C something else. This might be better if you're worried about overloading a single server, especially if they are doubling as desktop boxes.
 
Old 12-27-2011, 02:18 PM   #3
jamesl8
LQ Newbie
 
Registered: Sep 2011
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thanks. This clears up my questions of the general method of NFS use.

I think I was mainly going for a way to utilize storage space. I have a windows machine with a terabyte drive that doesn't get used much; a mac with 250 gig; a laptop running 4 linux distros with limited drive space; and I have 3 old drives revived from the past hooked up to a motherboard and power supply with no case running slackware.

Your option B sounds like the ticket for me. Although I would love to have a traditional server. This makes me want to hook up a large drive to the slack machine and dump everything on it. : )

Thanks again for the reply.
 
  


Reply



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
[SOLVED] NFS files on client have different owner/group than on server dickgregory Linux - Networking 4 02-08-2011 08:21 PM
[SOLVED] NFS mount fails (times out): NFS server is in DMZ, NFS client is in intranet Hiroshi Linux - Networking 2 05-24-2010 10:22 AM
Problem while writing files from NFS client to server behind firewall jorisroovers Linux - General 2 01-25-2010 09:40 AM
nfs server on ubuntu doesn't play nice with nfs client on solaris mathiraj Linux - Networking 11 09-15-2009 02:08 PM
NFS error: sometimes unable to find the files at NFS-client machines samengr Linux - Server 0 09-01-2008 11:26 AM

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

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

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