I have an NFS mount that is in my NFS client's fstab file
Code:
192.168.1.102:/mnt/mythtv /mnt/mythtv nfs defaults 0 0
sudo mount -a will mount it after i have booted the system.
However, at boot it is not mounted. An extract of /var/log/boot shows
Code:
Sun Aug 22 15:45:34 2010: Setting kernel variables ...error: "net.ipv6.bindv6only" is an unknown key
Sun Aug 22 15:45:34 2010: ^[[31mfailed.^[[39;49m
Sun Aug 22 15:45:34 2010: Setting up resolvconf...done.
Sun Aug 22 15:45:34 2010: Setting up networking....
Sun Aug 22 15:45:34 2010: Configuring network interfaces...Internet Systems Consortium DHCP Client 4.1.1-P1
Sun Aug 22 15:45:34 2010: Copyright 2004-2010 Internet Systems Consortium.
Sun Aug 22 15:45:34 2010: All rights reserved.
Sun Aug 22 15:45:34 2010: For info, please visit https://www.isc.org/software/dhcp/
Sun Aug 22 15:45:34 2010:
Sun Aug 22 15:45:34 2010: Listening on LPF/eth0/00:24:8c:52:dc:60
Sun Aug 22 15:45:34 2010: Sending on LPF/eth0/00:24:8c:52:dc:60
Sun Aug 22 15:45:34 2010: Sending on Socket/fallback
Sun Aug 22 15:45:37 2010: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4
Sun Aug 22 15:45:37 2010: DHCPOFFER from 192.168.1.1
Sun Aug 22 15:45:37 2010: DHCPREQUEST on eth0 to 255.255.255.255 port 67
Sun Aug 22 15:45:37 2010: DHCPACK from 192.168.1.1
Sun Aug 22 15:45:38 2010: bound to 192.168.1.100 -- renewal in 38648 seconds.
Sun Aug 22 15:45:38 2010: if-up.d/mountnfs[eth0]: lock /var/run/network/mountnfs exist, not mounting ... failed!
Sun Aug 22 15:45:38 2010: done.
Sun Aug 22 15:45:38 2010: Starting portmap daemon....
Sun Aug 22 15:45:38 2010: Starting NFS common utilities: statd.
Sun Aug 22 15:45:38 2010: Cleaning up temporary files....
My /etc/network/interfaces looks like
Code:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
#auto eth1
#iface eth1 inet dhcp
iface eth1 inet static
address 10.0.0.1
netmask 255.255.255.0
network 10.0.0.2
broadcast 10.0.0.255
What am I missing?
Although I have posted Debian details above; the same thing happens with my Arch and Fedora installs - that is I have to run mount -a to mount the nfs partition although it is in my /etc/fstab