[SUSE] ncp mounts disconnect
Hello
On our SUSE systems, SLES 9.0 and SUSE 10.0, we use ncp mounts to our Novell-servers.
The ncp connections hold for about one hour before they will be disconnected by ...??
The ncp software we use is ncpfs-2.2.6-7
Both SLES 9.0 and SUSE 10.0 are patched at the latest versions.
The ncpmount manpage gives clues for busy Novell-servers and advice to increase the -t "timeout" and -r "retry" options. I've increased them to astronomical heights ans still the connections will be lost.
One thing is strange, my colleque has the same OS and he doesn't have this problem.
I'll show the things I've done;
# cat /etc/fstab
.....snip .....
rivm01-oes/heuvelvf.ICT.FB.RIVM /home/heuvelvf/N-schijf ncpfs ipserver=rivm01-oes.rivm.nl,volume=Data2/FB/ICT/Home/heuvelvf,passwdfile=/home/heuvelvf/passwd-netware,uid=heuvelvf,gid=users,retry=1000,timeout=900,multiple 0 0
rivm01-oes/heuvelvf.ICT.FB.RIVM /home/heuvelvf/Q-schijf ncpfs ipserver=rivm01-oes.rivm.nl,volume=Data2/FB/ICT/,passwdfile=/home/heuvelvf/passwd-netware,uid=heuvelvf,gid=users,retry=1000,timeout=900,multiple 0 0
ictpc016:/home/heuvelvf # ls -al N-schijf
total 218557
drwxr-xr-x 1 heuvelvf users 512 Jan 1 1986 .
drwxr-xr-x 33 heuvelvf users 2288 Jan 3 08:51 ..
-rwxr-xr-x 1 heuvelvf users 2423767 Mar 14 2005 file1.txt
*********** wait for 1 hour ****************
ictpc016:/home/heuvelvf # ls -al N-schijf
/bin/ls: reading directory N-schijf: Input/output error
total 3
drwxr-xr-x 1 heuvelvf users 512 Jan 1 1986 .
drwxr-xr-x 33 heuvelvf users 2288 Jan 3 10:18 ..
ictpc016:/home/heuvelvf # mount
.......snip.........
RIVM01-OES/HEUVELVF.ICT.FB.RIVM on /home/heuvelvf/N-schijf type ncpfs (rw)
RIVM01-OES/HEUVELVF.ICT.FB.RIVM on /home/heuvelvf/Q-schijf type ncpfs (rw)
ictpc016:/home/heuvelvf # mount -a
***** When I use mount -a, I get a new working connection ***********
ictpc016:/home/heuvelvf # mount
.......snip.........
RIVM01-OES/HEUVELVF.ICT.FB.RIVM on /home/heuvelvf/N-schijf type ncpfs (rw)
RIVM01-OES/HEUVELVF.ICT.FB.RIVM on /home/heuvelvf/Q-schijf type ncpfs (rw)
RIVM01-OES/HEUVELVF.ICT.FB.RIVM on /home/heuvelvf/N-schijf type ncpfs (rw)
RIVM01-OES/HEUVELVF.ICT.FB.RIVM on /home/heuvelvf/Q-schijf type ncpfs (rw)
************** BUT !!!!!!! there are two paths to these directories *******
ictpc016:/home/heuvelvf # umount /home/heuvelvf/Q-schijf
ictpc016:/home/heuvelvf # mount
.......snip.........
RIVM01-OES/HEUVELVF.ICT.FB.RIVM on /home/heuvelvf/N-schijf type ncpfs (rw)
RIVM01-OES/HEUVELVF.ICT.FB.RIVM on /home/heuvelvf/Q-schijf type ncpfs (rw)
RIVM01-OES/HEUVELVF.ICT.FB.RIVM on /home/heuvelvf/N-schijf type ncpfs (rw)
******** I need to umount /home/heuvelvf/Q-schijf twice to get rid of it *******
Please does someone know this problem?
And does one of you know how to fix this?
ThanX
Frits
************
|