FAI with NFS v4 on Debian Wheezy
Toomas Tamm
tt-fai at kky.ttu.ee
Tue May 7 16:33:46 CEST 2013
Hello!
I think I got it the other (incorrect) way in my original post. Sorry!
In wheezy, "FQDN minus hostname" is the default (Domain is not set
in /etc/idmapd.conf by default), while in squeeze, it is fixed to
"localdomain" in the provided /etc/idmapd.conf.
The bottom line is, one must ensure that the domain is identical on the
server and client. Otherwise strange things happen with UIDs and GIDs.
Toomas
On Tue, 2013-05-07 at 13:06 +0200, Andreas B. Mundt wrote:
> 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