[Bug 1095917] Re: nfs mounts failing during reboot 12.04

2014-02-09 Thread Torsten Bronger
It seems to happen at exactly every other reboot.

The workaround script from above does not work for me because rc.local
is run too late in the boot process.  The computer hangs and waits for
the nfs mounts because it is execued.

If anyone is willing to investigate this, I'm ready to make tests and
give feedback.

** Summary changed:

- nfs mounts failing during reboot 12.04
+ nfs mounts failing during reboot

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1095917

Title:
  nfs mounts failing during reboot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/1095917/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1095917] Re: nfs mounts failing during reboot 12.04

2014-02-08 Thread Torsten Bronger
I run into this problem with Lubuntu 13.10.  The problem occurs non-
deterministically, so I cannot really tell whether the workaround works
for me.  Also for me, nfsvers=3 did not help.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1095917

Title:
  nfs mounts failing during reboot 12.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/1095917/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1095917] Re: nfs mounts failing during reboot 12.04

2013-08-01 Thread Chris Good
Hi dbrossard,

I guess you meant this suggestion for other people with this problem as
my fstab shows I already have vers=3 on 2 of my 3 nfs mounts, but just
for completeness, I have already tried that but it did not help.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1095917

Title:
  nfs mounts failing during reboot 12.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/1095917/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1095917] Re: nfs mounts failing during reboot 12.04

2013-07-31 Thread dbrossard
I had the same problem using a solaris ZFS server as the NFS file
server.  I was able to fix this by adding vers=3 to the options. I you
do not need version 4 of NFS try using this in your fstab.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1095917

Title:
  nfs mounts failing during reboot 12.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/1095917/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1095917] Re: nfs mounts failing during reboot 12.04

2013-07-07 Thread Bas van den Dikkenberg
The workaround didnĀ“t work for me  :-(

The only way for me is reboot in recovery mode select network en
continue normal boot


My /etc/fstab

# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
#
# / was on /dev/sda1 during installation
UUID=38804c97-5eb9-4bbb-afe9-eb51dd53c821 /   ext4
errors=remount-ro 0   1
# swap was on /dev/sda5 during installation
UUID=fe0eb90b-3caf-4a6e-bd76-b734ed8bd952 noneswapsw
  0   0
/dev/fd0/media/floppy0  autorw,user,noauto,exec,utf8 0   0
172.31.1.210:/disk/usr/local/someting/bin  /usr/local/someting/bin  
 nfs  ro,hard,intr,nobootwait  1 0
172.31.1.210:/disk/usr/local/someting/etc  /usr/local/someting/etc  
 nfs  ro,hard,intr,nobootwait  1 0
172.31.1.210:/disk/usr/local/someting/lib  /usr/local/someting/lib  
 nfs  ro,hard,intr,nobootwait  1 0
172.31.1.210:/disk/usr/local/someting/home /usr/local/someting/home 
 nfs  rw,hard,intr,nobootwait  1 0
172.31.1.210:/disk/usr/local/someting/ldap_auth
/usr/local/someting/ldap_auth nfs 
ro,rsize=32768,wsize=32768,intr,noatime  1 0
172.31.1.210:/disk/usr/local/someting/firewall/general 
/usr/local/someting/firewall/general  nfs  rw,hard,intr,nobootwait  1 0
172.31.1.210:/disk/dir/dir/hccforum-beta   
/disk/dir/dir/hccforum-beta   nfs 
rw,rsize=32768,wsize=32768,intr,noatime  1 0
172.31.1.210:/disk/dir/etc/ssl/some-site  /disk/dir/etc/ssl/some-site  
nfs ro,rsize=32768,wsize=32768,intr,noatime  1 0


/var/log/boot.log


swapon: /dev/disk/by-uuid/fe0eb90b-3caf-4a6e-bd76-b734ed8bd952: swapon failed: 
Device or resource busy
mountall: swapon /dev/disk/by-uuid/fe0eb90b-3caf-4a6e-bd76-b734ed8bd952 [1222] 
terminated with status 255
mountall: Problem activating swap: 
/dev/disk/by-uuid/fe0eb90b-3caf-4a6e-bd76-b734ed8bd952
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)
 * Starting NFSv4 id <-> name mapper [74G[ OK ]
 * Starting Block the mounting event for NFS4 filesytems until idmapd is 
running [74G[ OK ]
 * Starting Block the mounting event for NFS filesytems until statd is running 
[74G[ OK ]
 * Stopping Block the mounting event for NFS filesytems until statd is running 
[74G[ OK ]
 * Stopping Block the mounting event for NFS4 filesytems until idmapd is 
running [74G[ OK ]
 * Starting Block the mounting event for NFS4 filesytems until idmapd is 
running [74G[ OK ]
 * Starting Block the mounting event for NFS filesytems until statd is running 
[74G[ OK ]
 * Stopping Block the mounting event for NFS4 filesytems until idmapd is 
running [74G[ OK ]
 * Stopping Block the mounting event for NFS filesytems until statd is running 
[74G[ OK ]
 * Starting Block the mounting event for NFS4 filesytems until idmapd is 
running [74G[ OK ]
 * Starting Block the mounting event for NFS filesytems until statd is running 
[74G[ OK ]
 * Stopping Block the mounting event for NFS4 filesytems until idmapd is 
running [74G[ OK ]
 * Stopping Block the mounting event for NFS filesytems until statd is running 
[74G[ OK ]
 * Starting Block the mounting event for NFS4 filesytems until idmapd is 
running [74G[ OK ]
 * Starting Block the mounting event for NFS filesytems until statd is running 
[74G[ OK ]
 * Stopping Block the mounting event for NFS4 filesytems until idmapd is 
running [74G[ OK ]
 * Stopping Block the mounting event for NFS filesytems until statd is running 
[74G[ OK ]
 * Starting Signal sysvinit that remote filesystems are mounted [74G[ OK ]
 * Starting Flush boot log to disk [74G[ OK ]
 * Starting OpenSSH server [74G[ OK ]
 * Starting flush early job output to logs [74G[ OK ]
 * Starting save udev log and update rules [74G[ OK ]
 * Stopping Failsafe Boot Delay [74G[ OK ]
 * Starting System V initialisation compatibility [74G[ OK ]
 * Stopping Flush boot log to disk [74G[ OK ]
 * Stopping flush early job output to logs [74G[ OK ]
 * Stopping save udev log and update rules [74G[ OK ]
 * Starting Block the mounting event for NFS4 filesytems until idmapd is 
running [74G[ OK ]
 * Starting Block the mounting event for NFS filesytems until statd is running 
[74G[ OK ]
 * Stopping Block the mounting event for NFS4 filesytems until idmapd is 
running [74G[ OK ]
 * Stopping Block the mounting event for NFS filesytems until statd is running 
[74G[ OK ]
 * Starting system logging daemon [74G[ OK ] Skipping profile in 
/etc/apparmor.d/disable: usr.sbin.rsyslogd
 * Starting Block the mounting event for NFS4 filesytems until idmapd is 
running [74G[ OK ]

[Bug 1095917] Re: nfs mounts failing during reboot 12.04

2013-07-07 Thread Bas van den Dikkenberg
The same thing om Ubuntu server 12.10 and 13.04

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1095917

Title:
  nfs mounts failing during reboot 12.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/1095917/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1095917] Re: nfs mounts failing during reboot 12.04

2013-05-26 Thread Martin Fischer
also affected on a fresh LTS 12.04.2 (server) installation:

while booting, i've got

fsck from util-linux 2.20.1
/dev/sda1: clean, 103901/14745600 files, 7194418/58958592 blocks
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)
Skipping /srv/backup at user request

and had to skip this manually. my raid-device md0 change to md127 after
this fault. if i'am commented out the entry of the raid-device
everthings fine while booting.

my fstab:

proc/proc   procnodev,noexec,nosuid 0   0
# / was on /dev/sda1 during installation
UUID=4f80a96c-ac33-4b2d-9548-3212fcb7c2b2 /   ext4
errors=remount-ro 0   1
# swap was on /dev/sda5 during installation
UUID=5738cfa1-22ab-4a04-acfb-6830d728ddee noneswapsw
  0   0
# /srv/backup on /dev/md0
UUID=a4cd04b8:a59e2e9e:0e9cea39:78881cd5  /srv/backup ext4
errors=remount-ro 0   1
#
192.168.1.8:/volume1/share/srv/share  nfs 
defaults,rsize=32768,wsize=32768,intr 00

regards...

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1095917

Title:
  nfs mounts failing during reboot 12.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/1095917/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1095917] Re: nfs mounts failing during reboot 12.04

2013-05-15 Thread Tome
I too just ran into this issue on my 12.04.2 server.  It's been working
for a while and then a couple updates and a reboot stopped all that.  I
can run a "sudo mount -a" after I log into my server to fix it but it
will fail to mount the NFS share at boot.

FSTAB:
h1p-nas1:/volume1/backups /mnt/backups nfs rw,hard,tcp 0 0
h1p-nas1:/volume1/restores /mnt/restores nfs rw,hard,tcp 0 0

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1095917

Title:
  nfs mounts failing during reboot 12.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/1095917/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1095917] Re: nfs mounts failing during reboot 12.04

2013-04-22 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: nfs-utils (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1095917

Title:
  nfs mounts failing during reboot 12.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/1095917/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1095917] Re: nfs mounts failing during reboot 12.04

2013-04-06 Thread Samuel Hassine
Confirmed under 12.04.2 LTS here.

If DHCP lease is acquired with delay, NFS partitions are unable to be
mounted at boot time. Need sleep & remount.

** Changed in: nfs-utils (Ubuntu)
   Status: Expired => New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1095917

Title:
  nfs mounts failing during reboot 12.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/1095917/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1095917] Re: nfs mounts failing during reboot 12.04

2013-03-07 Thread Launchpad Bug Tracker
[Expired for nfs-utils (Ubuntu) because there has been no activity for
60 days.]

** Changed in: nfs-utils (Ubuntu)
   Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1095917

Title:
  nfs mounts failing during reboot 12.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/1095917/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1095917] Re: nfs mounts failing during reboot 12.04

2013-01-06 Thread Chris Good
boot.log

** Attachment added: "boot.log"
   
https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/1095917/+attachment/3475687/+files/ausyvutims1_boot_log.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1095917

Title:
  nfs mounts failing during reboot 12.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/1095917/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1095917] Re: nfs mounts failing during reboot 12.04

2013-01-06 Thread Chris Good
Output of initctl list

** Attachment added: "Output of initctl list"
   
https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/1095917/+attachment/3475686/+files/ausyvutims1_initctl_list.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1095917

Title:
  nfs mounts failing during reboot 12.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/1095917/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1095917] Re: nfs mounts failing during reboot 12.04

2013-01-06 Thread Chris Good
Hi Steve,

1) The share was not mounted after I did 'killall -USR1 mountall' 
2) After I killed mount.ntfs pid, the nfs file system was still not mounted, 
although /media/Passport2 (ntfs) was no longer mounted.

I have attached output of 'initctl list' & boot.log.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1095917

Title:
  nfs mounts failing during reboot 12.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/1095917/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1095917] Re: nfs mounts failing during reboot 12.04

2013-01-03 Thread Steve Langasek
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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1095917

Title:
  nfs mounts failing during reboot 12.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/1095917/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1095917] Re: nfs mounts failing during reboot 12.04

2013-01-03 Thread Chris Good
I have worked around the problem by running a script during reboot which
sleeps for 30 seconds, then mounts any unmounted nsf file systems.

Add to /etc/rc.local :

nohup /usr/local/bin/nfs_fix >/tmp/nfs_fix.out 2>&1 &

/usr/local/bin/nfs_fix :

#!/bin/ksh

# /usr/local/bin/nfs_fix

# Do to timing problem causing some nfs mounts to fail during reboot,
#  this script is initiated from /etc/rc.local.

do_fix_nfs()
{
echo Checking $1
if df | grep $1 >/dev/null ; then
echo $1 is already mounted
else
echo Mounting $1
mount $1
fi
}

sleep 30# wait for networking to start

awk '($3=="nfs") {print $2;}' /etc/fstab |
grep -v '^#' > /tmp/nfs_fix.fs

while read fs ; do
do_fix_nfs $fs
done < /tmp/nfs_fix.fs

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1095917

Title:
  nfs mounts failing during reboot 12.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/1095917/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs