Fedora Linux Support Community & Resources Center
  #1  
Old 3rd January 2005, 08:39 PM
tajidinabd's Avatar
tajidinabd Offline
Registered User
 
Join Date: Dec 2004
Location: Germany
Posts: 378
NFS How to ??

is there a good written out NFS how to. i want to connect My RH9 server with my FC3 client i can use SSH to connect with my server. I want to be able to browse with Natilius. I wanna be able to automount my server folders also. So is there a good howto that i can get NFS working.
Reply With Quote
  #2  
Old 3rd January 2005, 09:17 PM
yakleo3 Offline
Registered User
 
Join Date: Dec 2004
Age: 28
Posts: 53
tldp.org is a great resource, and I personally know that there are NFS howtos on there.
__________________
FC3
Kernel 2.6.11.5
Athlon XP 2000+
512MB Hyperion X 2700 DDR
PNY Nvidia FX5700LE
Reply With Quote
  #3  
Old 3rd January 2005, 09:18 PM
h4d's Avatar
h4d Offline
Registered User
 
Join Date: Feb 2004
Location: Boston
Posts: 239
The Network Administrator Guide 2 (nag2.pdf) has a section on NFS which I used to learn about it. You can find it http://www.ibiblio.org/pub/electroni...-project/nag2/ <-there!
Reply With Quote
  #4  
Old 3rd January 2005, 09:55 PM
tajidinabd's Avatar
tajidinabd Offline
Registered User
 
Join Date: Dec 2004
Location: Germany
Posts: 378
alright my server is dellgx100 and my client is r3240us.
i tried to mount but says mount: rpc program not registered


# mount -t nfs r3240us: /home/okplayer02/


i did this on my server dellgx100 the above command
what did i go wrong at???
Reply With Quote
  #5  
Old 3rd January 2005, 10:43 PM
Brian1's Avatar
Brian1 Offline
Registered User
 
Join Date: Nov 2004
Location: Seymour, Indiana
Posts: 2,511
This is how I setup my nfs.
1. edit /etc/exports on the server side.
Examples: /storage1/ 192.168.1.0/255.255.255.0(rw,async) This allows directory /storage1 available to the entire class c address of 192.168.1.1-192.168.1.255. It also allows read write ability to all and keeps changes in sync.
2. type ' service nfs start '
3. To make nfs server start at booup type ' chkconfig --level 345 nfs on '
4. From the remote machine type command as follows. You will need to make it match your system setting.
Example of mount command: type ' mount -t nfs -o rw 192.168.1.3:/storage1 /mnt/nfsmountpoint ' This will mount the /storage1 directory from machine with IP 192.168.1.3 at direcory /mnt/nfsmountpoint. Requires directory /mnt/nfsmountpoint to be created.

Good site to review http://www.troubleshooters.com/linux...the_NFS_Server

Don't think I missed anything. Will change if I see a problem or hear from someone.

Brian1
" Google the Linux way @ http://www.google.com/linux "
Reply With Quote
  #6  
Old 3rd January 2005, 11:48 PM
tajidinabd's Avatar
tajidinabd Offline
Registered User
 
Join Date: Dec 2004
Location: Germany
Posts: 378
[root@r3240us ~]# mount -t nfs -o rw 192.168.0.102:/home/okplayer02 /mnt/nfsmountpoint
mount to NFS server '192.168.0.102' failed: server is down.


thats the error i get when i execute the mount command

now i am sure nfs daemon is on and also the portmap also.
anything i need to check in the resolv.conf or exports.conf
thanks alot
Reply With Quote
  #7  
Old 4th January 2005, 12:11 AM
tajidinabd's Avatar
tajidinabd Offline
Registered User
 
Join Date: Dec 2004
Location: Germany
Posts: 378
i may add that i can use ssh with my server and use sftp but i want to use nfs. i can ping it with the computer name so no problem. does it matter im using a router.
Reply With Quote
  #8  
Old 4th January 2005, 01:57 AM
Brian1's Avatar
Brian1 Offline
Registered User
 
Join Date: Nov 2004
Location: Seymour, Indiana
Posts: 2,511
It is not called exports.conf just exports

Brian1
Reply With Quote
  #9  
Old 4th January 2005, 02:01 AM
Brian1's Avatar
Brian1 Offline
Registered User
 
Join Date: Nov 2004
Location: Seymour, Indiana
Posts: 2,511
Type ' service nfs status ' Is it running on the server?
Post exports file contents on server?
IP of Server and IP of machine trying to access from.
Brian1
Reply With Quote
  #10  
Old 4th January 2005, 06:19 AM
tajidinabd's Avatar
tajidinabd Offline
Registered User
 
Join Date: Dec 2004
Location: Germany
Posts: 378
thats the status of my server nfs service:
[root@DellGX100 root]# service nfs status
rpc.mountd (pid 3061) is running...
nfsd (pid 3053 3052 3051 3050 3049 3048 3047 3046) is running...
rpc.rquotad (pid 3042) is running...


dellgx100 is my server the ip address is 192.168.0.102
r3240us is the client the ip address is 192.168.0.100


here is the contents of the exports file:
/home/okplayer02/ 192.168.0.100/255.255.255.0(rw,async)

i wanna be able to read and write to the home directory on my server. the username is okplayer02 as u see thats what i put in my exports file.
Reply With Quote
  #11  
Old 4th January 2005, 06:23 AM
tajidinabd's Avatar
tajidinabd Offline
Registered User
 
Join Date: Dec 2004
Location: Germany
Posts: 378
but like i say i can connect to my server using ssh and sftp so i figure im close to getting it done.
Reply With Quote
  #12  
Old 4th January 2005, 07:21 PM
tajidinabd's Avatar
tajidinabd Offline
Registered User
 
Join Date: Dec 2004
Location: Germany
Posts: 378
well i got it working i added something to the hosts.conf

127.0.0.1 localhost.localdomain DellGX100.linux localhost DellGX100


i added that to my server now i can use NFS with my client.
Reply With Quote
  #13  
Old 4th January 2005, 11:09 PM
Brian1's Avatar
Brian1 Offline
Registered User
 
Join Date: Nov 2004
Location: Seymour, Indiana
Posts: 2,511
The problem looks like the ip setting. You have the wrong subnet for your setup. I believe it should be this if defining one ip access.
/home/okplayer02/ 192.168.0.100/255.255.255.255(rw,async)

This allows all ip's in class C of 192.168.0.* for access.
/home/okplayer02/ 192.168.0.0/255.255.255.0(rw,async)

Defining hosts in host.conf gives names to ip's. Works also.

Brian1
Reply With Quote
  #14  
Old 5th January 2005, 04:29 PM
tajidinabd's Avatar
tajidinabd Offline
Registered User
 
Join Date: Dec 2004
Location: Germany
Posts: 378
well i got it working now so thanks for help Brian.
Reply With Quote
Reply

Tags
nfs

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump


Current GMT-time: 11:25 (Sunday, 19-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat