AW: AW: AW: nfsroot: dracut don't know to handle root=

Schulz, Reiner R.Schulz at dvz-mv.de
Tue Jan 8 09:20:00 CET 2019


> -----Ursprüngliche Nachricht-----
> Von: linux-fai [mailto:linux-fai-bounces at uni-koeln.de] Im Auftrag von
> Thomas Lange
> Gesendet: Montag, 7. Januar 2019 17:07
> An: fully automatic installation for Linux <linux-fai at uni-koeln.de>
> Betreff: Re: AW: AW: nfsroot: dracut don't know to handle root=
> 
> >>>>> On Mon, 7 Jan 2019 15:25:34 +0000, "Schulz, Reiner" <R.Schulz at dvz-
> mv.de> said:
> 
>     > New one, dosent work:
> 
>     > lsinitramfs  initrd.img-4.9.0-8-amd64 |grep -i nfs
>     > sbin/fsck.nfs
> Is this the initrd from inside the nfsroot?

[RS] Yes. 
 
> This is my output:
> 
> > lsinitrd /srv/fai//nfsroot/boot/initrd.img-4.9.0-8-amd64 |grep nfs
> Image: /srv/fai//nfsroot/boot/initrd.img-4.9.0-8-amd64: 29M
> nfs
> 
> etc/modprobe.d/nfs.conf
> lib/dracut/hooks/cleanup/99-nfsroot-cleanup.sh
> lib/dracut/hooks/cmdline/90-parse-nfsroot.sh
> lib/dracut/hooks/pre-udev/99-nfs-start-rpc.sh
> lib/modules/4.9.0-8-amd64/kernel/fs/nfs
> lib/modules/4.9.0-8-amd64/kernel/fs/nfs/blocklayout
> lib/modules/4.9.0-8-amd64/kernel/fs/nfs/blocklayout/blocklayoutdriver.ko
> lib/modules/4.9.0-8-amd64/kernel/fs/nfs_common
> lib/modules/4.9.0-8-amd64/kernel/fs/nfs_common/grace.ko
> lib/modules/4.9.0-8-amd64/kernel/fs/nfs_common/nfs_acl.ko
> lib/modules/4.9.0-8-amd64/kernel/fs/nfs/filelayout
> lib/modules/4.9.0-8-
> amd64/kernel/fs/nfs/filelayout/nfs_layout_nfsv41_files.ko
> lib/modules/4.9.0-8-amd64/kernel/fs/nfs/flexfilelayout
> lib/modules/4.9.0-8-
> amd64/kernel/fs/nfs/flexfilelayout/nfs_layout_flexfiles.ko
> lib/modules/4.9.0-8-amd64/kernel/fs/nfs/nfs.ko
> lib/modules/4.9.0-8-amd64/kernel/fs/nfs/nfsv2.ko
> lib/modules/4.9.0-8-amd64/kernel/fs/nfs/nfsv3.ko
> lib/modules/4.9.0-8-amd64/kernel/fs/nfs/nfsv4.ko
> lib/modules/4.9.0-8-amd64/kernel/fs/nfs/objlayout
> lib/modules/4.9.0-8-amd64/kernel/fs/nfs/objlayout/objlayoutdriver.ko
> lib/nfs-lib.sh
> lib/x86_64-linux-gnu/libnfsidmap
> lib/x86_64-linux-gnu/libnfsidmap/nsswitch.so
> lib/x86_64-linux-gnu/libnfsidmap.so.0.3.0
> lib/x86_64-linux-gnu/libnfsidmap.so.0 -> libnfsidmap.so.0.3.0
> lib/x86_64-linux-gnu/libnfsidmap/static.so
> lib/x86_64-linux-gnu/libnfsidmap/umich_ldap.so
> sbin/fsck.nfs
> sbin/mount.nfs
> sbin/mount.nfs4 -> mount.nfs
> sbin/nfsroot
> var/lib/nfs
> var/lib/nfs/rpc_pipefs
> var/lib/nfs/statd
> var/lib/nfs/statd/sm

Yes, this is was i expected.

This ist the /usr/sbin/fai-make-nfsroot i used:
# ls -l /usr/sbin/fai-make-nfsroot
-rwxr-xr-x 1 root root 24029 Jan  3 12:44 /usr/sbin/fai-make-nfsroot
# md5sum /usr/sbin/fai-make-nfsroot
1bb5110e68f245a65bdf7a8608bbc608  /usr/sbin/fai-make-nfsroot

Then I added 

echo 'show_modules="yes"' > $NFSROOT/etc/dracut.conf.d/35-debug.conf
to "/usr/sbin/fai-make-nfsroot"

and got this:

Setting up dracut (048+80-1) ...
dracut: Generating /boot/initrd.img-4.9.0-8-amd64
bash
network
ifcfg
dm
dmsquash-live
kernel-modules
kernel-network-modules
overlay-root
qemu
qemu-net
lunmask
rootfs-block
terminfo
udev-rules
base
fs-lib
img-lib
Setting up firmware-misc-nonfree (20161130-4) ...

and:
lsinitramfs /srv/tftp/fai/initrd.img-4.9.0-8-amd64 | grep -i nfs
sbin/fsck.nfs





More information about the linux-fai mailing list