nfs mounts in fstab block boot at "S or M" prompt
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mountall (Ubuntu) |
Expired
|
High
|
Unassigned |
Bug Description
Binary package hint: mountall
I have the following two lines in fstab:
nasi.local:
nasi.local:/data /home/alex/data nfs defaults,
On every boot I get prompted with the famous "S or M" prompt to manually mount or skip the mounting. The shares themselves ARE always available. Skipping doesn't work for other reasons (see [1]), nobootwait doesn't work for even other reasons ([2]). The only way to get the system to boot is to manually fix the issue by pressing "M" and then starting dhclient manually:
# dhclient -v eth1
After that the boot can continue by simply exiting the emergency shell. This is clearly an issue with nfs mounts being tried before setting up the network, or at least running dynamic network configuration (i.e. DHCP).
Also note that this happens reliably on every boot, so a race is unlikely. I also don't have /var as a separate mountpoint.
Just for completeness sake, my complete fstab:
% cat /etc/fstab | grep -v ^#
proc /proc proc nodev,noexec,nosuid 0 0
UUID=e278f6aa-
UUID=c842351a-
UUID=79f60f9a-
UUID=373f64a7-
nasi.local:
nasi.local:/data /home/alex/data nfs defaults,
UUID=3a094e37-
And for even more completeness, the /etc/exports on the server (debian squeeze):
/data 192.168.
/secure/alex 192.168.
Kind Regards,
Alex
[1]: https:/
[2]: https:/
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: mountall 2.25
ProcVersionSign
Uname: Linux 2.6.38-8-generic x86_64
NonfreeKernelMo
Architecture: amd64
Date: Tue Apr 19 06:58:49 2011
ProcEnviron:
LANGUAGE=en_GB:en
PATH=(custom, user)
LANG=en_GB.UTF-8
SHELL=/bin/zsh
SourcePackage: mountall
UpgradeStatus: No upgrade log present (probably fresh install)
summary: |
- nfs mounts in fstab are mounted before network is up + nfs mounts in fstab block boot at "S or M" prompt |
bwalex, thanks for opening the new report per our discussion.
The title is *exactly* the same as the other, implying that this is the same bug.
It seems to me that your bug involves NFS mounts that *block* the boot, whereas Barry was just reporting the failure messages, but his boot was not blocked.
As such I've changed the title to more accurately reflect what is going on.