From: Massimo Mongardini <massimo@mongardini.it>
To: autofs@linux.kernel.org
Subject: spurious 'executable not found' errors on nfs automounted partition
Date: Fri, 26 Oct 2007 12:59:54 +0100 [thread overview]
Message-ID: <4721D6BA.5020003@mongardini.it> (raw)
Hi everyone,
I am experiencing an issue in the following circumstances:
os: rhel4.5
kernel client: 2.6.9-55.0.9.ELsmp
kernel server: 2.6.9-55.0.2.ELsmp
autofs version 4.1.3-199.3
server exports folder /nfs/folder with parameters:
async,rw,fsid=1,no_root_squash
client automounts /nfs/folder with:
auto.master:
/nfs /etc/auto.nfs
auto.nfs:
folder -fstype=nfs,udp,rsize=32768,wsize=32768,noatime
fs-cluster:/nfs/folder
default values for automount are --timeout 60
If I run a script that checks with a series of increasing sleep
intervals < 120 if an exported file is executable,
I notice that if there is a coincidence between an unmount request and a
file request the file test fails
Thu Oct 25 17:00:28 GMT 2007 Error at DELAY: 38
Oct 25 17:00:28 server mountd[8014]: authenticated unmount request from
client:989 for /nfs/folder (/nfs/folder)
Fri Oct 26 04:48:41 GMT 2007 Error at DELAY: 25
Oct 26 04:48:41 server mountd[8014]: authenticated unmount request from
client:846 for /nfs/folder (/nfs/folder)
the test script looks like this:
EXECUTABLE="/nfs/folder/somepath/exec"
DELAY="1"
STOPCOUNT=120
OUT=$1
while true
do
while [ "$DELAY" -lt "$STOPCOUNT" ]
do
test -x $EXECUTABLE
if [ "$?" -ne "0" ]
then
echo "$(date) Error at DELAY: $DELAY" >> $OUT
else
echo "$(date) Executable found at DELAY: $DELAY" >> $OUT
fi
sleep $DELAY
(( DELAY++ ))
done
done
any help is much appreciated
cheers,
Massimo
--
Massimo Mongardini
_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
echo 'Jg!J!hjwf!zpv!bo!bqqmf!boe!zpv!hjwf!nf!bo!bqqmf-!uifo!xf!xjmm!ibwf!bo!bqqmf!fbdi/!Cvu!jg!J!hjwf!zpv!bo!jefb!boe!zpv!hjwf!nf!bo!jefb-!xf!xjmm!ibwf!uxp!jefbt!fbdi!' | perl -pe 's/(.)/chr(ord($1)-1)/ge'
#--#--#--#--#--#--#--#--#--#--#--#--#--#--#--#--#--#--#--#--#--#--#--#--#--#--#
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html
next reply other threads:[~2007-10-26 11:59 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-26 11:59 Massimo Mongardini [this message]
2007-10-26 16:20 ` spurious 'executable not found' errors on nfs automounted partition Ian Kent
2007-10-29 14:16 ` Massimo Mongardini
2007-10-29 16:01 ` Ian Kent
2007-10-29 16:45 ` Massimo Mongardini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4721D6BA.5020003@mongardini.it \
--to=massimo@mongardini.it \
--cc=autofs@linux.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.