Problems with nfs mounts.
Kai-Felix Braun
kai_braun at gmx.de
Tue Oct 4 18:03:05 CEST 2005
Hi,
You and Thomas are rigth. I modified /etc/exports to:
/usr/local/share/fai 127.0.0.0/24(async,ro) 192.168.42.0/24(async,ro)
/usr/lib/fai/nfsroot 127.0.0.0/24(async,ro,no_root_squash)
192.168.42.0/24(async,ro,no_root_squash)
After exportfs -ra the node wonderfully mounts root, but aborts with:
Directory /fai/class not found. Following subdirectories are found:
/fai
cp: cannot stat 'FAI_CLASSES': No such file or directory
cp: cannot stat 'variables.sh': No such file or directory
cp: cannot stat '/tmp/fai/disk_var.sh': No such file or directory
Regards
Kai
> > Oct 4 10:13:35 localhost rpc.mountd: refused mount request from
> atom02 for
> > /usr/lib/fai/nfsroot (/): no export entry
> > Oct 4 10:15:03 localhost kernel: device eth0 left promiscuous mode
>
> > This is /etc/exports:
> > /usr/local/share/fai 127.0.0.0/24(async,ro)
> > /usr/lib/fai/nfsroot 127.0.0.0/24(async,ro,no_root_squash)
>
> You have to export the directories also to your
> 192.168.42.0/24 network
> --
> regards Thomas
> --- Ursprüngliche Nachricht ---
> Von: Alexander Jolk <alexj at buf.com>
> An: Kai-Felix Braun <kai_braun at gmx.de>
> Kopie: linux-fai at uni-koeln.de
> Betreff: Re: Problems with nfs mounts.
> Datum: Tue, 04 Oct 2005 17:36:51 +0200
>
> Kai-Felix Braun wrote:
> > I will check that. These are the entries in /etc/exports:
> > /usr/local/share/fai 127.0.0.0/24(async,ro)
> > /usr/lib/fai/nfsroot 127.0.0.0/24(async,ro,no_root_squash)
>
> Well, obviously nobody can mount these directories if you only export
> them to localhost. You want something like 192.168.42.0/24 possibly.
>
> Alex
>
> --
> Alexander Jolk * BUF Compagnie * alexj at buf.com
> Tel +33-1 42 68 18 28 * Fax +33-1 42 68 18 29
>
--
Lust, ein paar Euro nebenbei zu verdienen? Ohne Kosten, ohne Risiko!
Satte Provisionen für GMX Partner: http://www.gmx.net/de/go/partner
More information about the linux-fai
mailing list