fai 5.3 + debian stretch NFS issues
Justin Cattle
j at ocado.com
Fri Sep 29 09:34:53 CEST 2017
nfs4 is know not to work with overlayfs, and I think you may be mixing your
pxe configs.
I'm using a stretch nfs root via nfs3.
I have an exports like this:
/srv/fai/nfsroot *(async,ro,no_subtree_check,no_root_squash)
/srv/fai/config *(async,ro,no_subtree_check,no_root_squash)
..and a pxe append line like this:
append initrd=initrd.img ip=dhcp root=1.2.3.4:/srv/fai/nfsroot rootovl
FAI_FLAGS=verbose,sshd,createvt,reboot FAI_ACTION=install
It all works fine.
Cheers,
Just
On 28 September 2017 at 22:18, Mark Devaney <markd at lioncavecapital.com>
wrote:
> I've searched all the relevant postings and cannot find an answer that
> works for our installation.
>
> Is anyone else having issues with debian stretch?
>
> Our previous jessie configuration works fine, but after updating the
> nfsroot to wheezy we either get "mount.nfs: Protocol not supported" in
> dracut (with NFS 4) or overlay FS issues if we use NFS 3.
>
> FAI configs are default values other than file locations.
>
> I can mount using NFS V4 from the dracut shell but not using NFS V3 - our
> server supports both and I can mount either version from other machines so
> it's not the server side.
>
> FAI_VERSION="5.3.6~bpo8+1"
>
> FAI_DEBOOTSTRAP="stretch http://httpredir.debian.org/debian" (also set in
> apt/sources.list)
>
> dracut NFS protocol error
>
> exports:
>
> /srv/nfs4 *(fsid=0,async,ro,no_subtree_check)
> /srv/fai *(async,ro,no_subtree_check)
>
> pxelinux.cfg:
>
> append initrd=initrd.img-4.9.0-3-amd64 ip=dhcp
> root=/srv/fai/nfsroot,nfsvers=3 rootovl FAI_FLAGS=verbose,sshd,createvt,reboot
> FAI_CONFIG_SRC=nfs://srv/fai/config,nfsvers=3 FAI_ACTION=install
>
> overlay issues
>
> exports:
>
> /srv *(fsid=0,async,ro,no_subtree_check)
>
> pxelinux.cfg:
>
> append initrd=initrd.img-4.9.0-3-amd64 ip=dhcp
> root=/fai/nfsroot,nfsvers=4 rootovl FAI_FLAGS=verbose,sshd,createvt,reboot
> FAI_CONFIG_SRC=nfs://fai/config,nfsvers=4 FAI_ACTION=install
>
>
> errors :
>
> touch: cannot touch '/var/log/dmesg.new' : Operation not supported
>
> etc.
>
> ends with FAI: installation aborted
>
> Thank you.
>
>
--
Notice: This email is confidential and may contain copyright material of
members of the Ocado Group. Opinions and views expressed in this message
may not necessarily reflect the opinions and views of the members of the
Ocado Group.
If you are not the intended recipient, please notify us immediately and
delete all copies of this message. Please note that it is your
responsibility to scan this message for viruses.
Fetch and Sizzle are trading names of Speciality Stores Limited and Fabled
is a trading name of Marie Claire Beauty Limited, both members of the Ocado
Group.
References to the “Ocado Group” are to Ocado Group plc (registered in
England and Wales with number 7098618) and its subsidiary undertakings (as
that expression is defined in the Companies Act 2006) from time to time.
The registered office of Ocado Group plc is Buildings One & Two, Trident
Place, Mosquito Way, Hatfield, Hertfordshire, AL10 9UL.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.uni-koeln.de/pipermail/linux-fai/attachments/20170929/8754222f/attachment.html>
More information about the linux-fai
mailing list