registry team mailing list archive
-
registry team
-
Mailing list archive
-
Message #02606
[Bug 275451] Re: nfs mounts specified in fstab is not mounted on boot.
I am running Ubuntu 10.04 as an NFS 4 server and 10.04 as an NFS 4
client. I am able to mount NFS shares manually on the client eg.
# mount -t nfs4 -o proto=tcp,port=2049 nfs-server:/music
/home/user/Music
I am also able to mount shares on the client using
# mount -a (When there is an entry in fstab.)
However, the share is NOT mounted from boot when entered in fstab and
any attempts to mount it after a failed 'boot' attempt do not work. The
strange thing is that after booting with the mount point entered in
fstab '# mount' lists the mount point as being mounted but browsing that
directory shows it empty.
Here is some relevant config info...
--
Client, fstab entry:
NFS4Server:music /home/user/Music nfs4 _netdev,auto 0 0
--
--
NFS4Server, /etc/exports:
/export 192.168.1.0/24(rw,fsid=0,insecure,no_subtree_check,async)
/export/music 192.168.1.0/24(rw,nohide,insecure,no_subtree_check,async)
--
--
NFS4Server, /etc/default/nfs-kernel-server:
# Number of servers to start up
RPCNFSDCOUNT=8
# Runtime priority of server (see nice(1))
RPCNFSDPRIORITY=0
# Options for rpc.mountd.
# If you have a port-based firewall, you might want to set up
# a fixed port here using the --port option. For more information,
# see rpc.mountd(8) or http://wiki.debian.org/?SecuringNFS
RPCMOUNTDOPTS=--manage-gids
# Do you want to start the svcgssd daemon? It is only required for Kerberos
# exports. Valid alternatives are "yes" and "no"; the default is "no".
NEED_SVCGSSD=no
# Options for rpc.svcgssd.
RPCSVCGSSDOPTS=
--
--
NFS4Server, /etc/default/nfs-common:
# If you do not set values for the NEED_ options, they will be attempted
# autodetected; this should be sufficient for most people. Valid alternatives
# for the NEED_ options are "yes" and "no".
# Do you want to start the statd daemon? It is not needed for NFSv4.
NEED_STATD=
# Options for rpc.statd.
# Should rpc.statd listen on a specific port? This is especially useful
# when you have a port-based firewall. To use a fixed port, set this
# this variable to a statd argument like: "--port 4000 --outgoing-port 4001".
# For more information, see rpc.statd(8) or http://wiki.debian.org/?SecuringNFS
STATDOPTS=
# Do you want to start the idmapd daemon? It is only needed for NFSv4.
NEED_IDMAPD=yes
# Do you want to start the gssd daemon? It is required for Kerberos mounts.
NEED_GSSD=no
--
This really is a bit of a show stopper for me so a fix or any temporary
work-a-rounds would be greatly appreciated.
--
nfs mounts specified in fstab is not mounted on boot.
https://bugs.launchpad.net/bugs/275451
You received this bug notification because you are a member of Registry
Administrators, which is the registrant for NULL Project.