New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !

Kernel based nfs server

Good ideas? Share with us!
gb119
Posts: 18
Joined: 30 Sep 2008, 16:45

Kernel based nfs server

Post 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
ahoff
Posts: 105
Joined: 01 Apr 2008, 20:50
Location: Swe

Post 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.
andersos
Posts: 46
Joined: 18 Apr 2008, 04:23

Post 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:
tor
Posts: 703
Joined: 06 Dec 2006, 12:24
Contact:

Post 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
Co-founder OpenProducts and Ex Excito Developer
ahoff
Posts: 105
Joined: 01 Apr 2008, 20:50
Location: Swe

Post 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
gb119
Posts: 18
Joined: 30 Sep 2008, 16:45

Post 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... ?
max
Posts: 8
Joined: 08 Oct 2008, 13:20

Post by max »

I sure do need nfs.
maxol
Posts: 2
Joined: 09 Oct 2008, 21:11

Post by maxol »

I want to buy a Bubba 2 but really need NFS support.
davidI
Posts: 49
Joined: 07 Oct 2008, 13:39

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

Post by davidI »

Title says it all: nfs is a most-wanted feature.
Just adding my vote. :)
peter
Posts: 26
Joined: 07 Oct 2008, 09:35
Location: the Netherlands

nfs server needed

Post by peter »

Not having nfs is very inconvenient. :(

I expected it was working in the first place.
gb119
Posts: 18
Joined: 30 Sep 2008, 16:45

Re: nfs server needed

Post 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 !)
davidI
Posts: 49
Joined: 07 Oct 2008, 13:39

Post 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.
max
Posts: 8
Joined: 08 Oct 2008, 13:20

Post by max »

Any progress in this issue? Are you working on it?
helder
Posts: 24
Joined: 17 Jun 2007, 16:21

Post 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
efolch
Posts: 4
Joined: 11 Oct 2008, 12:01

Post by efolch »

just another me too

nfs-kernel is plain better that nfs-user

cheers
k
Post Reply