Package: nfs-common Version: 1:1.2.1-3 Severity: normal
Mounting an nfs file system suddenly stopped working with errors like this: -------------------------------------------------- # mount.nfs exact:/ /mnt/exact -v mount.nfs: timeout set for Wed Feb 3 16:09:00 2010 mount.nfs: trying text-based options 'addr=192.168.0.5,vers=4,clientaddr=192.168.0.3' mount.nfs: mount(2): Invalid argument mount.nfs: an incorrect mount option was specified ------------------------------------------------------ Both systems (that on which the mount was issued and the server) were running testing. They were, however using custom kernels, but these had worked without problems until today. Only the server was set up for nfs version 4 which seems to be the heart of the problem from the message about the text based options above - see below as well. CONFIG on the system on which the mount was issued included:- -------------------------------------------- CONFIG_NETWORK_FILESYSTEMS=y CONFIG_NFS_FS=m CONFIG_NFS_V3=y # CONFIG_NFS_V3_ACL is not set # CONFIG_NFS_V4 is not set CONFIG_NFSD=m CONFIG_NFSD_V3=y # CONFIG_NFSD_V3_ACL is not set # CONFIG_NFSD_V4 is not set CONFIG_LOCKD=m CONFIG_LOCKD_V4=y CONFIG_EXPORTFS=m CONFIG_NFS_COMMON=y ----------------------------------------- CONFIG on the server had:- ------------------------------------- CONFIG_NETWORK_FILESYSTEMS=y CONFIG_NFS_FS=m CONFIG_NFS_V3=y # CONFIG_NFS_V3_ACL is not set CONFIG_NFS_V4=y # CONFIG_NFS_V4_1 is not set CONFIG_NFSD=m CONFIG_NFSD_V3=y # CONFIG_NFSD_V3_ACL is not set CONFIG_NFSD_V4=y CONFIG_LOCKD=m CONFIG_LOCKD_V4=y CONFIG_EXPORTFS=m CONFIG_NFS_COMMON=y ----------------------------------- The problem was resolved by adding either -o nfsvers=2 or -o nfsvers-3 to the mount command. Thus there seems to be some sort of problem negotiating the nfs version between the client & server? And a totally misleading error message? ael -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (990, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.32 (PREEMPT) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages nfs-common depends on: ii adduser 3.112 add and remove users and groups ii initscripts 2.87dsf-8 scripts for initializing and shutt ii libc6 2.10.2-2 GNU C Library: Shared libraries ii libcomerr2 1.41.9-1 common error description library ii libevent-1.4-2 1.4.13-stable-1 An asynchronous event notification ii libgssapi-krb5-2 1.8+dfsg~alpha1-5 MIT Kerberos runtime libraries - k ii libgssglue1 0.1-4 mechanism-switch gssapi library ii libk5crypto3 1.8+dfsg~alpha1-5 MIT Kerberos runtime libraries - C ii libkrb5-3 1.8+dfsg~alpha1-5 MIT Kerberos runtime libraries ii libnfsidmap2 0.23-2 An nfs idmapping library ii librpcsecgss3 0.19-2 allows secure rpc communication us ii libwrap0 7.6.q-18 Wietse Venema's TCP wrappers libra ii lsb-base 3.2-23 Linux Standard Base 3.2 init scrip ii netbase 4.40 Basic TCP/IP networking system ii portmap 6.0.0-1 RPC port mapper ii ucf 3.0025 Update Configuration File: preserv nfs-common recommends no packages. nfs-common suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org