← Back to team overview

kernel-packages team mailing list archive

[Bug 1385846] Re: NFS shares in FSTAB no longer mount at boot


I have run into this issue too. In case it helps anyone else, the workaround I came up with is to:
* Use the NFS server's IP address in /etc/fstab.
* Add  'mount -a' in the first non-comment line of /etc/init.d/mountnfs.sh.  Note that it is important to call 'mount -a' before the '. /lib/lsb/init-functions' line as this script does not make it past that line.

Further notes:
* This script seems to be only concerned with mounting some /usr or /var mountpoints so it's probably nt supposed to mount my NFS filesystem which lies elsewhere. Still, it being run at about the right time which is all I care about for this gross hack.
* Resolving hostnames does not seem to work when that script is run, hence the need to use the IP address in fstab. That could be a problem if anyone was actually depending on that script to mount stuff.
* This script seems broken: it calls fstab_files which does not seem to be defined anywhere, resulting in running ls without parameters which obviously is not what's expected.

You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.

  NFS shares in FSTAB no longer mount at boot

Status in “linux” package in Ubuntu:

Bug description:
  Since moving to Ubuntu 14.10 my network shares in FSTAB no longer
  mount at startup.

  Once the machine has booted the following command "mount -a" fixes the
  issue and all mounts become available.

  This issue was not present in 14.04 and there are a number of people
  reporting issues in the forums:

  ApportVersion: 2.14.7-0ubuntu8
  Architecture: amd64
   /dev/snd/controlC1:  toxicshadow   2543 F.... pulseaudio
   /dev/snd/controlC0:  toxicshadow   2543 F.... pulseaudio
  CurrentDesktop: Unity
  DistroRelease: Ubuntu 14.10
  HibernationDevice: RESUME=UUID=0b094f80-5aff-43e5-a66c-100a4274a339
  InstallationDate: Installed on 2014-04-18 (190 days ago)
  InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
   eth0      no wireless extensions.
   eth1      no wireless extensions.
   lo        no wireless extensions.
  MachineType: System manufacturer System Product Name
  NonfreeKernelModules: nvidia
  Package: linux (not installed)
  ProcFB: 0 VESA VGA
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.16.0-23-generic root=UUID=73d2e3f6-f93f-4bd2-9f69-be107307daef ro quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 3.16.0-23.31-generic 3.16.4
   linux-restricted-modules-3.16.0-23-generic N/A
   linux-backports-modules-3.16.0-23-generic  N/A
   linux-firmware                             1.138
  Tags:  utopic
  Uname: Linux 3.16.0-23-generic x86_64
  UpgradeStatus: Upgraded to utopic on 2014-10-24 (1 days ago)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
  _MarkForUpload: True
  dmi.bios.date: 09/19/2011
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: 2101
  dmi.board.asset.tag: To Be Filled By O.E.M.
  dmi.board.name: Rampage II Extreme
  dmi.board.vendor: ASUSTeK Computer INC.
  dmi.board.version: Rev 2.xx
  dmi.chassis.asset.tag: Asset-1234567890
  dmi.chassis.type: 3
  dmi.chassis.vendor: Chassis Manufacture
  dmi.chassis.version: Chassis Version
  dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr2101:bd09/19/2011:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnRampageIIExtreme:rvrRev2.xx:cvnChassisManufacture:ct3:cvrChassisVersion:
  dmi.product.name: System Product Name
  dmi.product.version: System Version
  dmi.sys.vendor: System manufacturer

To manage notifications about this bug go to: