Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • linuxmce linuxmce
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 255
    • Issues 255
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • linuxmce
  • linuxmcelinuxmce
  • Issues
  • #2813

Closed
Open
Created Aug 06, 2018 by Gavin Pryke@GavleeReporter

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

Assignee
Assign to
Time tracking