Monday, April 18, 2011

DreamPlug: no support for nfs-kernel-server

The folks on reddit were asking about NFS performance on the DreamPlug so I installed nfs-kernel-server. Unfortunately the Ubuntu kernel shipped with the DreamPlug doesn't support NFS:


root@morpheus:~# /etc/init.d/nfs-kernel-server restart
* Stopping NFS kernel daemon [ OK ]
* Unexporting directories for NFS kernel daemon... [ OK ]
* Not starting NFS kernel daemon: no support in current kernel.
root@morpheus:~#


So if you want to use NFS (and don't want to rebuild the kernel), you'll have to use unfs3, a usermode version of NFS. It doesn't support file locking nor wildcards for hostnames in /etc/export.