Ubuntu AUFS NFS Export2 min read

I’ve had many people ask in the comments on my original thread how to get NFS exports working with their stock kernel. The default Ubuntu kernel does not have the option for NFS exports on AUFS filesystems enabled. Rather than walk you through the process of compiling your own custom kernel, I decided to compile the current kernel and headers on my 64 bit system. If you use the 64 bit Ubuntu 12.04 server, you should be able to grab this package, untar, install, reboot, and have NFS support.

Install NFS Server

Enable some exports

Paste in something like this. I added the insecure option so that the export would work with my OS X boxes.

At this point NFS exports should be working on your AUFS filesystem.

**Is the wrong / old kernel booting instead of your new, fancy NFS-enabled kernel?**
One problem you may have is that this new kernel is not showing up as the default in your Grub Boot menu. It’s likely that it is showing up at the top of the previous linux versions list in Grub. If this is the case, you can easily set it as default. First make a backup of your default Grub list.

Next, edit the file.

edit the GRUB_DEFAULT line from GRUB_DEFAULT=0 to this.

This will boot the first item in the list. Fnially, update the Grub Menu.



I love learning new things and trying out the latest technology.

You may also like...

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.