New Disked Media Director hangs on boot mounting NFS exports from core
Core / Hybrid machine 14.04
After installing Kubuntu 14.04 on another machine and apt-get lmce-disked-md-base to set up a media director, rebooting the MD machine gets stuck with the Kubuntu boot splash and the message.
Problem when booting Ubuntu - Press S to skip mounting or M for manual recovery
Both options never complete past this point.
I guess some things were changed in Ubuntu because this worked before without issue in the past for me, I had to edit /etc/fstab on the media director with great difficulty trying to switch to a virtual console while video detection tried to do its thing. :) This happens to all the NFS mounts when the media director tries to mount the shares on the core.
Upon further investigation and trial and error, adding bg and nobootwait to the mount options for the NFS mounts in /etc/fstab in the filesystem of the MD resolved the problem.
Doing a grep on the source I found contents referring to some NFS config in
src/BootScripts/templates/fstab.tmpl
src/install-helpers/install-all
src/install-helpers/install-md.sh
I have changed these install-md.sh figuring that the magic happens after lmce-disked-md-base is installed and running the firstboot_md script which then executes /usr/pluto/install/install-md.sh. The dump and fsck flags should be set to 0 0 I believe, please correct me if I'm wrong. I know for certain the fsck flag should not be 1 which is only used for the root file-system, 2 for others. for a network file-system the host checks this so should be set to 0 to avoid the check. The dump option I've never used and have always set it to 0, is this used somewhere?
Attached patch attempting to fix the issue. install-md.sh-fix-md-boot-hang.patch
Kind regards