NFS

From Amahi Wiki
Revision as of 13:53, 14 January 2011 by Bigfoot65 (talk | contribs)
Jump to: navigation, search

NOTE: This has been packaged as an app in Amahi, currently in ALPHA.

Amahi has the ability to be a fully functional NFS server.

In order to use Amahi as a NFS server we need to setup a couple of options.

First we need to create a share, I will be using nfsexports for the name of mine.

Next we need to setup our NFS exports. This is done by executing the following commands in a terminal.

  1. su -
  2. nano -w /etc/exports

The contents of the file will be

  • /var/hda/files/nfsexports *(rw,insecure,all_squash,async,anonuid=48,anongid=48)

Now that this is done, its time to decide if you want to do this just once or if you want to be able to do it all the time. If you want to do it just once, type the following without exiting from the root shell we started earlier.

  • service nfs start

If you want to be able to do this many times including rebooting your server, type the following in.

  • chkconfig nfs on
  • service nfs start

Now using SMB, the CLI or a NFS client we can add files to the NFS Exports and be able to use them. You can use them for PXE booting, ESXi datastores, just about anything.