FAI with NFS v4 on Debian Wheezy

Andreas B. Mundt andi.mundt at web.de
Tue May 7 13:06:46 CEST 2013


Hi,

On Tue, May 07, 2013 at 10:23:58AM +0300, Toomas Tamm wrote:
[...]
>
> 2) ensure that all idmapd-s have the same value for "Domain". Squeeze
> defaults to a portion of your fqdn, while wheezy defaults to
> "localdomain". This is set in /etc/idmapd.conf and better make it
> identical across your entire network.

If you do not specify the domain, it will be picked up from the fqdn.

man idmapd.conf:

Domain  The  local NFSv4 domain name.  An NFSv4 domain is a namespace
        with a unique username<->UID and groupname<->GID mapping.
        (Default: Host's fully-qualified DNS domain name)

I use the following /etc/idmapd.conf:

   [General]

   Verbosity = 0
   Pipefs-Directory = /var/lib/nfs/rpc_pipefs
   # set your own domain here, if id differs from FQDN minus hostname
   # Domain = localdomain

   [Mapping]

   Nobody-User = nobody
   Nobody-Group = nogroup

and it works fine here for NFSv4 mounted home directories
(cf. debian-lan project).

Best regards,

     Andi




More information about the linux-fai mailing list