LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 08-08-2009, 09:05 AM   #1
ah_gal06
LQ Newbie
 
Registered: Aug 2009
Posts: 5

Rep: Reputation: 0
Question configuring nfs in linux


hi! i m doing a project using linux.. it requires me to set up a nfs server and the client computer must be able to copy a file over to the server computer using nfs.. (copy files from client itself to the server machine right?) how do i do that?

i managed to use the client computer and copy files OF the server computer though.. using:
mount -t nfs ip_add_of_server:/home/office /home/admin

please help.. any help will be appreciated. thank you.
 
Old 08-08-2009, 09:21 AM   #2
shahz
Member
 
Registered: Sep 2006
Location: Quetta, Pakistan
Distribution: RHEL 4
Posts: 363

Rep: Reputation: 29
if you have configured the nfs on the server and you can mount the server. and you need to copy from client to server. then check the man exports for no_root_squash
 
Old 08-08-2009, 05:32 PM   #3
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,541
Blog Entries: 23

Rep: Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943
Hi,

Welcome to LQ!

You could look at 'Linux NFS'.

The above link and others available from 'Slackware-Links'. More than just SlackwareŽ links!
 
Old 08-09-2009, 08:35 PM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
If you've got the mount working, all you need to do is copy a file from a local disk to the one exported from the server. You've already done all the hard bits.
You may need to check the the export cmd on the server defines the exported partition as 'rw', not just 'r'.
See the /etc/exports file (or equiv)
 
  


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
Configuring NFS for TCP? Dox Systems - Brian SUSE / openSUSE 3 12-26-2007 11:39 AM
Configuring users for NFS on an heterogeneous network crisostomo_enrico Solaris / OpenSolaris 2 08-24-2007 03:03 AM
configuring NFS Slackware(server) XP(client) props666999 Slackware 8 05-07-2007 02:33 PM
configuring NFS Client a_geek Linux - Networking 1 09-14-2003 05:54 PM
need help configuring NFS Shailendra Singh Linux - Networking 3 03-20-2001 04:15 PM


All times are GMT -5. The time now is 01:05 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