Package: nfs-common
Version: 1:1.2.1-3
Severity: important

Step to reproduce :
1- mount -t nfs -o nfsvers=3,soft,proto=udp,retrans=7,timeo=3 ip:/foo /mnt/foo
2- dd if=/dev/urandom of=/mnt/foo/test
3- unplug nfs server network cable after a few seconds

Expected behavior : dd command should report I/O error.
What actually happens : 
- dd is blocked
- ctrl+c does nothing
- dmesg says multiple times :
nfs: server IP not responding, timed out

man nfs says :
If the soft option is specified, then the NFS client fails an NFS request after 
<retrans> retransmissions have been sent, causing the NFS client to return an 
error to the calling application.
The NFS client generates a "server not responding" message after <retrans> 
retries.

So nfs write should fail after the first "server not responding" message, and 
that is not the case.

Notes : 
- dd will report write error a few seconds after nfs server comes back online.
- I used dd as an example, but other programs doing heavy I/O are blocked as 
well.


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-trunk-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages nfs-common depends on:
ii  adduser                3.112             add and remove users and groups
ii  initscripts            2.87dsf-8.1       scripts for initializing and shutt
ii  libc6                  2.10.2-6          Embedded GNU C Library: Shared lib
ii  libcomerr2             1.41.11-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-7 MIT Kerberos runtime libraries - k
ii  libgssglue1            0.1-4             mechanism-switch gssapi library
ii  libk5crypto3           1.8+dfsg~alpha1-7 MIT Kerberos runtime libraries - C
ii  libkrb5-3              1.8+dfsg~alpha1-7 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-2           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

Reply via email to