Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 46539 - Mountpoints mounted with NFS become inaccessible after a period of time.
Summary: Mountpoints mounted with NFS become inaccessible after a period of time.
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-01 16:14 UTC by Jason McCormick
Modified: 2004-04-13 23:59 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
.config file my running kernel was built with (.config,26.65 KB, text/plain)
2004-04-01 16:15 UTC, Jason McCormick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jason McCormick 2004-04-01 16:14:03 UTC
When mounting an NFS mountpoint to my Gentoo workstation, the NFS mount becomes inaccessible after a period of time.  For example:

[jason@sith jason]$ mount
/dev/hde6 on / type ext3 (rw,noatime)
none on /proc type proc (rw)
none on /sys type sysfs (rw)
none on /dev type ramfs (rw)
none on /dev/pts type devpts (rw)
none on /dev/shm type tmpfs (rw)
/dev/hde7 on /home type ext3 (rw,noatime)
none on /proc/bus/usb type usbfs (rw)
banshee:/opt/apache/htdocs on /home/jason/code/website type nfs (rw,hard,intr,re
try=1,rsize=8192,wsize=8192,tcp,addr=10.0.0.4)

[jason@sith jason]$ ls /home/jason/code/website
ls: /home/jason/code/website: Input/output error

Any application/tool encounters a simliar error.  I can even have open files on the volume (for example with vi) and the mountpoint just drops away.  Accessing the filesystem, with ls for example, generates the following to log messages for each attempted access:

Apr  1 19:04:08 sith kernel: RPC: Can't bind to reserved port (13).
Apr  1 19:04:08 sith kernel: RPC: can't bind to reserved port.

All appropiate NFS components are being started normally with the default Gentoo startup scripts.

No other client to the NFS mountpoint experiences this problem (a Fedora Linux box and a Sun/Solaris 9 box).  I have no firewall/iptables script enabled.  I am running Linux 2.6.4-gentoo-r1.  Anecdotally, I think this has something to do with something in the 2.6.4 kernel because I ran 2.6.3 for quite awhile and never noticed this problem.

Reproducible: Always
Steps to Reproduce:
1. Mount any NFS mountpoint either manually or on boot
2. Perform work normally
3. Eventually the mountpoint will "disappear" and any attempted operation reports an I/O error or other similarly worded error.




sith jason # emerge info
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0,
2.6.4-gentoo-r1)
=================================================================
System uname: 2.6.4-gentoo-r1 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.4.3.13p1
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-tbird -mcpu=athlon-tbird -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-tbird -mcpu=athlon-tbird -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib alsa apm arts avi berkdb cdr crypt cups encode esd foomaticdb gdbm
gif gnome gphoto2 gpm gtk gtk2 guile imlib java jpeg kde ldap libg++ libwww mad
mikmod motif mpeg ncurses nls oggvorbis opengl oss pam pda pdflib perl png
python qt quicktime readline sdl slang spell sse ssl svga tcltk tcpd truetype
x86 xml2 xmms xv zlib"
Comment 1 Jason McCormick 2004-04-01 16:15:33 UTC
Created attachment 28536 [details]
.config file my running kernel was built with
Comment 2 Jason McCormick 2004-04-01 16:19:12 UTC
One other thing I forget to mention, if I unmount and remount the export everything will function fine again for awhile until it drops off again.  I've been unable to associate the failure with any event on the system or indeed a specific timeframe.
Comment 3 Jason McCormick 2004-04-13 18:05:48 UTC
This seems to be working fine in kernel 2.6.5.  I'll close now and re-open if it occurs.
Comment 4 Steve Arnold archtester gentoo-dev 2004-04-13 23:46:21 UTC
This happened when I switched my nfs server over to a gentoo 2.6.3 box.  The 
solution I found was to load the capability kernel module.  HTH.
Comment 5 SpanKY gentoo-dev 2004-04-13 23:59:20 UTC
'capability kernel module' ?