DSL as NFS ServerForum: Networking Topic: DSL as NFS Server started by: ronniek Posted by ronniek on July 13 2004,15:28
Hello all..I am now trying to setup the DSL as a NFS server, allowing user to mount some of the partition by NFS. But I found that even if I have started the NFS-COMMON, setup the /etc/exports, whenever user tried to mount those partition (be it from local or remote machine), there will be a message saying, mount: RPC: Program not registered Has anyone tried doing so in DSL and any success story? Cheers, Ronnie Posted by cbagger01 on July 13 2004,16:18
I could be wrong but I think that DSL comes with NFS client software but not server software. So it looks like you will need to install the NFS services yourself before you will be able to accomplish your goal.
Posted by guest on July 15 2004,04:55
What is the nfs-kernel-server for, if not an NFS server? I'm trying to do the same thing as the first poster and this is driving me bonkers.
Posted by ronniek on July 20 2004,16:26
An answer to myself, the nfs-common and nfs-kernel-server are the distribution for Debian. Upon taking a look at the nfs-utils released on nfs.sourceforge.net, I found that debian is named in these packages instead of nfs-utils as in other distro.Back to my own issue, I found that NFSD require a command exportfs in order to run properly but from nowhere I can find this in DSL. Checked the kernel source and it should be placed in /kernel/fs/exportfs but it's not there, too. In Knoppix 3.4, this command can be found in the 2.6.x kernel source but not the 2.4.26. My guess is, we either need to compile our own exportfs or upgrade the kernel to newer version. But since I can now solve my problem by using Samba, I guess I will leave this along for now. Anyone would dare to give it a try? Posted by iLikeSpeed on Sep. 19 2004,16:45
Exact same problem here (as you described). Looking at the /proc/filessystem file, nfs is not listed. I'm trying to find a module to do it...I havn't written to the hdd yet as I havn't migrated some files yet, so I can't recompile a kernel without a reboot Did you ever find a way to fix the nfs? Posted by cbagger01 on Sep. 19 2004,17:59
If you want full NFS support without recompiling the kernel, try stealing the NFS files and packages from the KNOPPIX 3.4 5/17/2004 livecd.If you know what files that you are looking for, it NFS should work fine with DSL because the DSL kernel is taken from this version of KNOPPIX. Posted by iLikeSpeed on Sep. 19 2004,19:34
I don't understand what they did with the kernel here. It says on kernel.org that after 2.2.x NFS v2 and v3 was integrated into the kernel..if it's integrated, how did they remove it and why?
|