Page 1 of 2

Kernel based nfs server

Posted: 02 Oct 2008, 04:25
by gb119
Just a little feature request - I've been trying to get my Bubba2 running as an nfs server for my collection of linux boxen but unless I'm missing something there doesn't appear to be the nfsd module for the bubba kernel.

Could we have a buuba-modules-extra or similar package that included the ngsf* modulle please ?

The user mode nfs server does work ok, but it's not totally ideal.

*EDIT Clearly I meant nfsd - I hate those "off by one" typos

Posted: 05 Oct 2008, 10:24
by ahoff
Yes why is'nt there any nfs-support in the kernel? Bubba is a fileserver, right? I would wery much appresiate such feature.

Posted: 05 Oct 2008, 12:32
by andersos
It may be that nfs isn't enabled by default in the Debian kernel package. I don't remember. But it's easy to build and install kernel if you do it "the Debian way" :wink:

Posted: 06 Oct 2008, 15:55
by tor
Hi,

The kernel should have nfs support built in. Not as a module.

Code: Select all

tor@bubba:~$ cat /proc/filesystems 
nodev	sysfs
nodev	rootfs
nodev	bdev
nodev	proc
nodev	sockfs
nodev	usbfs
nodev	pipefs
nodev	anon_inodefs
nodev	tmpfs
nodev	inotifyfs
nodev	configfs
nodev	devpts
		ext3
		ext2
nodev	ramfs
		msdos
		vfat
nodev	nfs
nodev	nfs4
nodev	mqueue
nodev	rpc_pipefs
So it could be some other problems preventing you from getting it up and running. (It can be a bit tricky sometimes) And i will admit that we have not tested this feature so there could be missing pieces.

/Tor

Posted: 06 Oct 2008, 16:51
by ahoff
Ok. I get:
mount.nfs: mount to NFS server '192.168.1.3' failed: RPC Error: Program not registered
when I try to conect.
ahoff@bubba:~$ ps aux | grep nfs
root 101 0.0 0.0 0 0 ? S< 18:44 0:00 [nfsiod]
ahoff 2948 0.0 0.3 4032 848 pts/1 S+ 22:47 0:00 grep nfs

Posted: 07 Oct 2008, 14:37
by gb119
tor wrote:Hi,

The kernel should have nfs support built in. Not as a module.

Code: Select all

tor@bubba:~$ cat /proc/filesystems 
[...]
So it could be some other problems preventing you from getting it up and running. (It can be a bit tricky sometimes) And i will admit that we have not tested this feature so there could be missing pieces.

/Tor
Ummm, I think that means that the nfs filesystem (i.e. client end) is built in. Doing:

Code: Select all

quasar:/proc# zcat config.gz | grep -i nfs
CONFIG_NFS_FS=y
CONFIG_NFS_V3=y
# CONFIG_NFS_V3_ACL is not set
CONFIG_NFS_V4=y
# CONFIG_NFSD is not set
CONFIG_ROOT_NFS=y
CONFIG_NFS_COMMON=y
Indicates that the nfsd (i.e. server end) wasn't in your kernel build either as a module or built in. It would be great if a new kernel build could include it (I guess as a module since not everyone will need it). I'm not entirely sure why nfs fs was built in - again it wouldn't seem like an obvious need for it for most users... ?

Posted: 08 Oct 2008, 13:28
by max
I sure do need nfs.

Posted: 09 Oct 2008, 21:16
by maxol
I want to buy a Bubba 2 but really need NFS support.

nfs is also a real must-have for me too.

Posted: 12 Oct 2008, 11:42
by davidI
Title says it all: nfs is a most-wanted feature.
Just adding my vote. :)

nfs server needed

Posted: 14 Oct 2008, 09:28
by peter
Not having nfs is very inconvenient. :(

I expected it was working in the first place.

Re: nfs server needed

Posted: 14 Oct 2008, 16:32
by gb119
peter wrote:Not having nfs is very inconvenient. :(

I expected it was working in the first place.
It's worth pointing out that the user mode nfs server does work and if you can live with its limitations, will do just fine. You do need to go in via ssh and do an apt-get update && apt-get install nfs-user-server as root and you do need to know enough about configuring nfs servers to set it up. )and understand the security implications of what you are doing if you're on an untrusted network !)

Posted: 18 Oct 2008, 09:28
by davidI
Also worth pointing out that sshfs works and is very lightweight as far as the bubba is concerned.; it only needs extra software on the client machine.

Posted: 21 Oct 2008, 04:40
by max
Any progress in this issue? Are you working on it?

Posted: 23 Oct 2008, 18:55
by helder
Hi guys,

Me too post. Nfs is essential to use the bubba server. Could we have an updated 'bubba-modules' with the nfs modules compiled in? Will it take long? - The nfs-user-server seems to have some quirks and incompatibilities.

Pretty please, with sugar on top!!

Helder

Posted: 24 Oct 2008, 13:48
by efolch
just another me too

nfs-kernel is plain better that nfs-user

cheers
k