LinuxQuestions.org
Visit Jeremy's Blog.
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 03-08-2009, 05:25 PM   #1
adeyint
LQ Newbie
 
Registered: Jan 2009
Posts: 7

Rep: Reputation: 0
NFS


Hi,
How can I perfom file transfer in my Linux. I have three computers one for manster and the second two for slave.
Could you please guide me through this.
 
Old 03-08-2009, 05:50 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
What do you mean by "master" and "slave"? These terms are (to my knowledge) not used with NFS. I assume you mean that you have one server and two clients. On the server, you're going to need to set up an /etc/exports file that descibes which filesystem(s) are to be exported. If you have the NFS server installed, then typing "man 5 exports" will bring up the man page for the exports file which lists all of the options.

In general, an exports file looks like:

Code:
/directory/to/export host1(rw) host2(rw)
Once you've set up your exports start/restart the NFS server.

On the clients you can mount the filesystem as normal, assuming NFS client pacvkages are installed, e.g.

Code:
mkdir /mnt/server
mount -t nfs server:/directory/to/export /mnt/server
To make the mount happen automatically on boot, add it to the /etc/fstab. There are a number of mount options -- see "man nfs" for details.

If you need more detail than this, you need to post which distro you're using (how to install packages and restart services varies from distro to distro).
 
Old 03-08-2009, 07:46 PM   #3
watcher69b
Member
 
Registered: Nov 2007
Location: /home/watcher69b
Distribution: RH, Fedora & CentOS
Posts: 544

Rep: Reputation: 40
you can also "map a drive" using ssh if you have gnome or kde this is really easy. looks like a normal file browser
 
Old 03-09-2009, 03:04 AM   #4
adeyint
LQ Newbie
 
Registered: Jan 2009
Posts: 7

Original Poster
Rep: Reputation: 0
NFS

I thank you very much for your guidance on this topic.
I am new with no full knowledge on Linux and thanks for your correction i my terms.
When I said manster and slave i meant client and server.
I am using Red hat 9 operating systems to build a cluster.
I have loaded the three computers with this red hat 9.
I will do my NFS as you have directed and get back to you if you do not mind?
I want to start from this before posting any further questions for you the expert.
 
  


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
LXer: Run your NFS server in the user address space with NFS-GANESHA LXer Syndicated Linux News 0 11-27-2008 04:40 AM
NFS error: sometimes unable to find the files at NFS-client machines samengr Linux - Server 0 09-01-2008 11:26 AM
NFS and RH Cluster Suite; Problems relating services/resources to NFS l_long_island Linux - Server 5 08-30-2008 11:20 AM
Allowing NFS in IPTABLES: Fix port for NFS Lock Manager Swakoo Linux - General 10 08-25-2006 05:24 AM
NFS client = Linux, NFS server = Mac OS X Tiger --> Hell of a problem make Linux - Networking 9 03-10-2006 05:16 AM


All times are GMT -5. The time now is 01: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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration