IMPORTANT NOTICE

During the next period of time, the Thecus Wiki will migrate to a new site - the NAS Website. The migration is part of an improvement initiative, which includes giving the site a new look and making it more user friendly.

During the migration information may exist both at the old and new site, however slowly pages should start to be located mainly at the new site. Please see the NAS Website for details.

N2100 Module: NFSD

From Thecus Wiki

Jump to: navigation, search

Contents

Facts

Name: NFSD (Network Filesystem Daemon)

Maintainer(s): Mathijs, Lzimmerma

Target: N2100

Latest version: 2.1.00

Depends on module(s): UTILS

Description

This module installs an NFS server on your NAS. This is probably only interesting for Linux/*BSD and Mac OS X users. Performance is much better than SMB or AFP, so give it a try if you're using one of those systems! Due to the nature of NFS, the current module has to do some UID mapping tricks. You either specify no mapping (UIDs on both client and server are the same, useful for making backups), root only remapping (similar to first option, with additional safety as root is mapped to user nobody) or you map all client UIDs to any UID known on the N2100 (useful if you're the only user on your NAS). The latter is probably what most users will want to use. You can specify the UID mapping per exported directory.

After installing the module, and enabling it, directories can be exported through the NFSD Setup page.


nfsd_setup_screen.png


In the above example the directory /raid/Backup is accessible only for IP address 10.0.0.2. It does no UID mapping. The directory /raid/TyZ is accessible for every machine in the local network. All UIDs on the client side are mapped to the NAS user tyz. Directories are mounted with the /raid prefix, but entered in the setup page without!

Client setup

On a Mac OS X machine the directories can be mounted through the Finder. Just press Command-K and enter something like nfs://yournas/raid/Backup. On a Linux/UNIX machine (or even Mac OS X if you really want to) simply open a terminal and enter mount -t nfs yournas:/raid/Backup /n2100/backup, where "yournas" is the hostname or IP address of your N2100 and "/n2100/backup" is your pre-made mount point.

Take note of the case-sensitive folder names!

News

  • 2006-10-29: First public release.
  • 2007-03-18: Allow mounting of public shares (mounted as user nobody)
  • 2008-02-20: Replaced binaries to work with N2100 fw version 2.01.09
  • 2008-03-05: Added kernel module for nfs client support (2.01.09 only)

Versions

  • Version 2.1.00
    • Release date: 2008-03-05
    • Works on firmware: 2.01.09
    • Download: NFSD
    • Major changes: Compatible with N2100 fw version 2.01.09, added nfs client support.
Personal tools
product resources