Comment 63 for bug 275451

Revision history for this message
Scott Geary (scott-geary) wrote :

System: 10.04 KVM Guest
Guest: Linux 2.6.32-26-server #48-Ubuntu SMP Wed Nov 24 10:28:32 UTC 2010 x86_64 GNU/Linux
Host: Linux 2.6.32-24-server #43-Ubuntu SMP Thu Sep 16 16:05:42 UTC 2010 x86_64 GNU/Linux

I get the following errors, perhaps every 1 in 5 boots from cold:

mount.nfs: DNS resolution failed for some-host: Temporary failure in name resolution
mount.nfs: DNS resoltuion failed for some-host: Temporary failure in name resolution
mountall: mount /var/blah [587] terminated with status 32
mountall: mount /var/www [568] terminated with status 32

Boot hangs, and will not continue until I do a CTRL+ALT+DEL. (Cold boot does not resolve the issue)

Presumably it's because the network hasn't come up, and/or the KVM boot process to too fast to even initialize/connect the 'physical' interfaces.

Attempts to use _netdev mount option has no affect. We don't use DCHP, or NetworkManager.

/etc/fstab:
some-host:/var/www /var/www nfs rw,noatime,nolock,intr,noac,_netdevl 0 0
some-host:/var/blah/ /var/blah nfs rw,noatime,nolock,intr,noacl,_netdev 0 0

/etc/network/interfaces:
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
        address 192.168.0.131
        netmask 255.255.255.0
        network 192.168.0.0
        broadcast 192.168.0.255
        gateway 192.168.0.1
        dns-nameservers 192.168.0.1
        dns-search our_domain

auto eth1
iface eth1 inet static
        address 192.168.1.131
        netmask 255.255.255.0
        network 192.168.1.0
        broadcast 192.168.1.255