[Bug 1095917] Re: nfs mounts failing during reboot 12.04
Steve Langasek
steve.langasek at canonical.com
Fri Jan 4 07:19:01 UTC 2013
This could be a race condition where the network interface reports
itself to be up, but traffic is not actually being routed and the mount
request fails, and mountall never gets told to try again. If you run
'killall -USR1 mountall' after boot (basically, the same thing /etc/init
/mountall-net.conf does), does the share get mounted?
The mount.ntfs process still running after boot is also concerning. If
you manually kill *that* process, does anything happen with the nfs
mount?
Finally, please attach the output of 'sudo initctl list' run after boot.
** Changed in: nfs-utils (Ubuntu)
Status: New => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to nfs-utils in Ubuntu.
https://bugs.launchpad.net/bugs/1095917
Title:
nfs mounts failing during reboot 12.04
Status in “nfs-utils” package in Ubuntu:
Incomplete
Bug description:
12.04.1 LTS
I have 3 nfs mounts in /etc/fstab but only 2 succeed. After logging
in, I can manually mount the 3rd nfs file system (/alansun_root) with
no problems. This seems to be similar to
https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/891825 but
that seems to be closed do to lack of activity and was about an older
version of Ubuntu.
If I change the order of the 3 nfs file systems in /etc/fstab, the
file system not mounted changes, so it seems to be a timing issue.
Sometimes, only 1 of the 3 file systems is mounted.
Here is /etc/fstab:
proc /proc proc nodev,noexec,nosuid 0 0
UUID=7ecd0957-9c46-4958-bf24-bb635271d4e5 / ext4 errors=remount-ro 0 1
UUID=7f698647-0a0c-48f1-994d-79d8ea3f4043 none swap sw 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
UUID=2405d070-aacd-48b7-9bc5-7be9d09c2f42 /usr/local ext4 errors=remount-ro 0 2
UUID=2613cf1b-dc94-447f-91fb-575b0112686d /usr/tims ext4 errors=remount-ro 0 2
UUID=84295b7a-961c-4357-9790-2ce0acb1ae05 /data1 ext4 errors=remount-ro 0 2
UUID=95ddb6ca-0322-4da6-872b-9cfacdb53c57 /u ext4 errors=remount-ro 0 2
UUID=e2b812d7-63d0-485f-b28d-acbeb76b70de /spare ext4 errors=remount-ro 0 2
LABEL=Passport1 /media/Passport1 ntfs defaults,windows_names,locale=en_US.utf8,nobootwait 0 0
LABEL=Passport2 /media/Passport2 ntfs defaults,windows_names,locale=en_US.utf8,nobootwait 0 0
alansun:/ /alansun_root nfs defaults,ro,bg,vers=3 0 0
alansun:/usr/tims /alansun_usr_tims nfs defaults,ro,bg,vers=3 0 0
chcaix01:/u/i22/FACT/clientsubs/clients /u/i22/FACT/clientsubs/clients nfs defaults,rw,bg 0 0
After boot, mountall is still running:
# ps -ef|grep mount
root 267 1 0 14:06 ? 00:00:00 mountall --verbose --daemon
root 829 1 0 14:06 ? 00:00:00 /sbin/mount.ntfs /dev/sdc1 /media/Passport2 -o rw,windows_names,locale=en_US.utf8
I added --verbose to mountall in /etc/init/mountall.conf and here is
/var/log/boot.log:
Connected to Plymouth
/ is local
/proc is virtual
/sys is virtual
/sys/fs/fuse/connections is virtual
/sys/kernel/debug is virtual
/sys/kernel/security is virtual
/dev is virtual
/dev/pts is virtual
/tmp is local
/run is virtual
/run/lock is virtual
/run/shm is virtual
UUID=7f698647-0a0c-48f1-994d-79d8ea3f4043 is swap
/usr/local is local
/usr/tims is local
/data1 is local
/u is local
/spare is local
/media/Passport1 is nowait
/media/Passport2 is nowait
/alansun_root is nowait
/alansun_usr_tims is nowait
/u/i22/FACT/clientsubs/clients is nowait
local 0/7 remote 0/0 virtual 1/10 swap 0/1
local 0/7 remote 0/0 virtual 2/10 swap 0/1
local 0/7 remote 0/0 virtual 3/10 swap 0/1
local 0/7 remote 0/0 virtual 4/10 swap 0/1
local 0/7 remote 0/0 virtual 5/10 swap 0/1
mounting /sys/fs/fuse/connections
mount /sys/fs/fuse/connections [448] exited normally
local 0/7 remote 0/0 virtual 6/10 swap 0/1
mounting /sys/kernel/debug
mount /sys/kernel/debug [449] exited normally
local 0/7 remote 0/0 virtual 7/10 swap 0/1
mounting /sys/kernel/security
mount /sys/kernel/security [452] exited normally
local 0/7 remote 0/0 virtual 8/10 swap 0/1
mounting /run/lock
mount /run/lock [453] exited normally
local 0/7 remote 0/0 virtual 9/10 swap 0/1
mounting /run/shm
mount /run/shm [454] exited normally
virtual finished
remote finished
local 0/7 remote 0/0 virtual 10/10 swap 0/1
checking /
fsck from util-linux 2.20.1
activating /dev/disk/by-uuid/7f698647-0a0c-48f1-994d-79d8ea3f4043
swapon /dev/disk/by-uuid/7f698647-0a0c-48f1-994d-79d8ea3f4043 [466] exited normally
swap finished
local 0/7 remote 0/0 virtual 10/10 swap 1/1
checking /usr/local
checking /usr/tims
fsck from util-linux 2.20.1
checking /data1
fsck from util-linux 2.20.1
checking /u
checking /spare
fsck from util-linux 2.20.1
fsck from util-linux 2.20.1
fsck from util-linux 2.20.1
rpcbind: Cannot open '/run/rpcbind/rpcbind.xdr' file for reading, errno 2 (No such file or directory)
rpcbind: Cannot open '/run/rpcbind/portmap.xdr' file for reading, errno 2 (No such file or directory)
Received SIGUSR1 (network device up)
ata_id[571]: HDIO_GET_IDENTITY failed for '/dev/sdc': Invalid argument
/dev/sda1: clean, 176620/393216 files, 1081761/1572864 blocks
fsck / [464] exited normally
remounting /
mount / [789] exited normally
mount / [791] exited normally
mount /proc [792] exited normally
mount /sys [793] exited normally
mount /sys/fs/fuse/connections [794] exited normally
mount /sys/kernel/debug [795] exited normally
mount /sys/kernel/security [796] exited normally
mount /dev [797] exited normally
mount /dev/pts [798] exited normally
mount /run [799] exited normally
mount /run/lock [800] exited normally
mount /run/shm [801] exited normally
local 1/7 remote 0/0 virtual 10/10 swap 1/1
usr_local: clean, 47/122160 files, 16627/487966 blocks
local 2/7 remote 0/0 virtual 10/10 swap 1/1
mounting /media/Passport2
spare: clean, 11/1414448 files, 132798/5652480 blocks
u: clean, 984/610800 files, 108455/2441728 blocks
usr_tims: clean, 150509/1831424 files, 2057142/7323631 blocks
data1: clean, 15371/610800 files, 763789/2441872 blocks
mount /media/Passport2 [814] exited normally
local 2/7 remote 0/0 virtual 10/10 swap 1/1
mounting /alansun_root
mount.nfs: Network is unreachable
mounting /alansun_usr_tims
mount.nfs: Network is unreachable
fsck /usr/local [483] exited normally
mounting /usr/local
mount /usr/local [856] exited normally
local 3/7 remote 0/0 virtual 10/10 swap 1/1
fsck /usr/tims [485] exited normally
mounting /usr/tims
mount /usr/tims [860] exited normally
local 4/7 remote 0/0 virtual 10/10 swap 1/1
fsck /data1 [497] exited normally
mounting /data1
mount /data1 [864] exited normally
local 5/7 remote 0/0 virtual 10/10 swap 1/1
fsck /u [498] exited normally
mounting /u
mount /u [868] exited normally
local 6/7 remote 0/0 virtual 10/10 swap 1/1
fsck /spare [499] exited normally
mounting /spare
mount /spare [872] exited normally
local finished
All filesystems mounted
local 7/7 remote 0/0 virtual 10/10 swap 1/1
mountall: mount /alansun_root [843] terminated with status 32
Filesystem could not be mounted: /alansun_root
mountall: mount /alansun_usr_tims [848] terminated with status 32
Filesystem could not be mounted: /alansun_usr_tims
modem-manager[929]: <info> ModemManager (version 0.5.2.0) starting...
modem-manager[929]: <info> Loaded plugin Wavecom
modem-manager[929]: <info> Loaded plugin X22X
modem-manager[929]: <info> Loaded plugin Gobi
modem-manager[929]: <info> Loaded plugin Longcheer
modem-manager[929]: <info> Loaded plugin Novatel
modem-manager[929]: <info> Loaded plugin Samsung
modem-manager[929]: <info> Loaded plugin Nokia
modem-manager[929]: <info> Loaded plugin Option High-Speed
modem-manager[929]: <info> Loaded plugin AnyData
modem-manager[929]: <info> Loaded plugin Sierra
modem-manager[929]: <info> Loaded plugin MotoC
modem-manager[929]: <info> Loaded plugin SimTech
modem-manager[929]: <info> Loaded plugin Ericsson MBM
modem-manager[929]: <info> Loaded plugin Huawei
modem-manager[929]: <info> Loaded plugin ZTE
modem-manager[929]: <info> Loaded plugin Option
modem-manager[929]: <info> Loaded plugin Linktop
modem-manager[929]: <info> Loaded plugin Generic
mounting /alansun_root
mount.nfs: Network is unreachable
* Starting mDNS/DNS-SD daemon [ OK ]
* Starting bluetooth daemon [ OK ]
* Starting Block the mounting event for NFS filesytems until statd is running [ OK ]
mounting /alansun_usr_tims
* Stopping Block the mounting event for NFS filesytems until statd is running [ OK ]
mount.nfs: Network is unreachable
Skipping profile in /etc/apparmor.d/disable: usr.bin.firefox
* Starting Block the mounting event for NFS filesytems until statd is running [ OK ]
Skipping profile in /etc/apparmor.d/disable: usr.sbin.rsyslogd
* Stopping Block the mounting event for NFS filesytems until statd is running [ OK ]
mounting /u/i22/FACT/clientsubs/clients
local 7/7 remote 0/0 virtual 10/10 swap 1/1
mountall: mount /alansun_root [973] terminated with status 32
Filesystem could not be mounted: /alansun_root
mountall: mount /alansun_usr_tims [995] terminated with status 32
Filesystem could not be mounted: /alansun_usr_tims
* Starting AppArmor profiles [ OK ]
mounting /alansun_root
* Starting Block the mounting event for NFS filesytems until statd is running [ OK ]
* Stopping Block the mounting event for NFS filesytems until statd is running [ OK ]
* Starting Block the mounting event for NFS filesytems until statd is running [ OK ]
* Stopping Block the mounting event for NFS filesytems until statd is running [ OK ]
mounting /alansun_usr_tims
* Stopping System V initialisation compatibility [ OK ]
* Not starting internet superserver: no services enabled
* Starting Block the mounting event for NFS filesytems until statd is running [ OK ]
* Starting System V runlevel compatibility [ OK ]
* Starting crash report submission daemon [ OK ]
* Starting automatic crash report generation [ OK ]
* Starting ACPI daemon [ OK ]
* Starting anac(h)ronistic cron [ OK ]
* Starting save kernel messages [ OK ]
* Starting regular background program processing daemon [ OK ]
* Starting deferred execution scheduler [ OK ]
* Starting CPU interrupts balancing daemon [ OK ]
* Starting LightDM Display Manager [ OK ]
* Stopping Block the mounting event for NFS filesytems until statd is running [ OK ]
* Starting CUPS printing spooler/server [ OK ]
* Stopping anac(h)ronistic cron [ OK ]
# apt-cache policy nfs-common
nfs-common:
Installed: 1:1.2.5-3ubuntu3.1
Candidate: 1:1.2.5-3ubuntu3.1
Version table:
*** 1:1.2.5-3ubuntu3.1 0
500 http://au.archive.ubuntu.com/ubuntu/ precise-updates/main amd64 Packages
100 /var/lib/dpkg/status
1:1.2.5-3ubuntu3 0
500 http://au.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages
Please let me know if you need any more info.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/1095917/+subscriptions
More information about the foundations-bugs
mailing list