LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-07-2004, 08:05 PM   #1
BobNz
Member
 
Registered: May 2003
Location: NewZealand
Distribution: RH9.0
Posts: 74

Rep: Reputation: 15
no NFS in /proc/filesystems how to add NFS?


I am trying to set up a NFS share everything is ok apart from the fact that the NFS filesystem is not supported??? yet the NFS and associated daemons are up and running.
kept getting the 'mount: RPC: Program not registered' the only thing I could find was.
that NFS was missing from /proc/filesystems

[root@localhost /]# cat /proc/filesystems
nodev rootfs
nodev bdev
nodev proc
nodev sockfs
nodev tmpfs
nodev shm
nodev pipefs
ext2
nodev ramfs
iso9660
nodev devpts
ext3
nodev usbdevfs
nodev usbfs
nodev autofs
[root@localhost /]#

How can I add NFS to this list? do I hjave to recompile kernel? or can I do it using mkfs?

TIA

B
 
Old 07-07-2004, 08:59 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
I imagine you're going to need to tinker with your kernel. If NFS isn't in /proc/filesystems, it means that your kernel doesn't recognize it. I think, however, that you can compile NFS as a module. Check in 'make xconfig' or 'make menuconfig' whether NFS support can be built as a module. If so, go ahead and do that, and then do 'make modules_install'. Then you should be able to modprobe nfs (or whatever the module winds up being called, chack in your /lib/modules directory if unsure) and things should work. You could also just recompile your kernel with NFS support.
 
Old 07-07-2004, 11:31 PM   #3
BobNz
Member
 
Registered: May 2003
Location: NewZealand
Distribution: RH9.0
Posts: 74

Original Poster
Rep: Reputation: 15
Hi thanks for reply, opened xconfig and under network filesystems NFS was a 'Y'
so I checked and the module nfs.o is in /lib/modules/2.4.20-30.9/kernel/fs/nfs

so I /sbin/depmod -a followed by /proc cat filesystems and got the same as before??

weird

B
 
Old 07-08-2004, 01:18 AM   #4
idaho
Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: RedHat, Libranet
Posts: 438

Rep: Reputation: 30
I think you are following a red herring. The "RPC: Program not registered" error generally means that your NFS server is not serving.

To view what NFS shares are available from your server, invoke:
showmount -e <your.server>

If you get the same error as above, and the NFS server is running on your server box, then you need to make sure you have the appropriate entries for your shares in /etc/exports. Once these are in place, you need to invoke:
exportfs -a

After that, once again invoke:
showmount -e <your.server>
 
Old 07-08-2004, 02:40 AM   #5
BobNz
Member
 
Registered: May 2003
Location: NewZealand
Distribution: RH9.0
Posts: 74

Original Poster
Rep: Reputation: 15
Hmmm I found that I hadn't done the file type -t nfs once I did that everything was sweet.
I have been using a KVM switch and it got a little confusing I guess

[root@localhost root]# mount -t nfs 192.168.1.3:/usr/local/shared /mnt/shared
[root@localhost root]#

Thanks for replies I learnt some stuff

B
 
  


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
NFS client = Linux, NFS server = Mac OS X Tiger --> Hell of a problem make Linux - Networking 9 03-10-2006 05:16 AM
NFS write access denied on one of two filesystems TomF Linux - Security 2 02-23-2005 08:48 PM
Mounting NFS Filesystems at startup, always fails.. stellarmarine1 Linux - Networking 7 02-03-2005 12:40 PM
unmounting NFS filesystems failed??? matjaz85 Linux - General 1 05-02-2002 06:19 PM
NFS - not in /proc/filesystems tge Linux - Networking 6 03-28-2002 06:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:17 AM.

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