Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 08-08-2009, 09:05 AM   #1
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
Registered: Sep 2006
Location: Quetta, Pakistan
Distribution: RHEL, Ubuntu, Fedora
Posts: 368

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
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,897
Blog Entries: 27

Rep: Reputation: 2185Reputation: 2185Reputation: 2185Reputation: 2185Reputation: 2185Reputation: 2185Reputation: 2185Reputation: 2185Reputation: 2185Reputation: 2185Reputation: 2185

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
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,417

Rep: Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397
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)


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 > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:26 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration