* executables crash when moved
@ 2006-02-15 17:58 Sev Binello
2006-02-15 19:31 ` Trond Myklebust
0 siblings, 1 reply; 3+ messages in thread
From: Sev Binello @ 2006-02-15 17:58 UTC (permalink / raw)
To: nfs
We have had a consistent problem of executables shared over NFS crashing
when new executables are released.
Before a new executable replaces an older one with a cp,
we mv the executable to a fallback dir and rename it.
We have 2 renaming schemes,
either .old, .older, .oldest or append a date to the old executable.
This used to work fine when the nfs sever was solaris,
however since we migrated it to redhat linux WS,
we find that the executables crash with a SIGBUS.
The executables don't necessarily crash right away,
as a matter of fact we can't intentionally reproduce the crash.
Which leads me to believe it is cache related.
Has anyone experienced a similar problem,
and come up with a solution ?
Thanks
-Sev
--
Sev Binello
Brookhaven National Laboratory
Upton, New York
631-344-5647
sev@bnl.gov
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
NFS maillist - NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: executables crash when moved
2006-02-15 17:58 executables crash when moved Sev Binello
@ 2006-02-15 19:31 ` Trond Myklebust
2006-02-15 21:29 ` Sev Binello
0 siblings, 1 reply; 3+ messages in thread
From: Trond Myklebust @ 2006-02-15 19:31 UTC (permalink / raw)
To: Sev Binello; +Cc: nfs
On Wed, 2006-02-15 at 12:58 -0500, Sev Binello wrote:
> We have had a consistent problem of executables shared over NFS crashing
> when new executables are released.
>
> Before a new executable replaces an older one with a cp,
> we mv the executable to a fallback dir and rename it.
> We have 2 renaming schemes,
> either .old, .older, .oldest or append a date to the old executable.
>
> This used to work fine when the nfs sever was solaris,
> however since we migrated it to redhat linux WS,
> we find that the executables crash with a SIGBUS.
>
> The executables don't necessarily crash right away,
> as a matter of fact we can't intentionally reproduce the crash.
> Which leads me to believe it is cache related.
It isn't. It is a consequence of using the (admittedly _very_ stupid)
default server setting of "subtree_check", and then renaming into a
different directory (man 5 exports).
You have one of 2 possible solutions:
1) Edit your /etc/exports, and add no_subtree_check options to the
entries for your exported filesystem.
OR
2) rename the executables into the same directory.
Cheers,
Trond
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
NFS maillist - NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: executables crash when moved
2006-02-15 19:31 ` Trond Myklebust
@ 2006-02-15 21:29 ` Sev Binello
0 siblings, 0 replies; 3+ messages in thread
From: Sev Binello @ 2006-02-15 21:29 UTC (permalink / raw)
To: Trond Myklebust; +Cc: nfs
[-- Attachment #1: Type: text/html, Size: 2353 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-02-15 21:30 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-15 17:58 executables crash when moved Sev Binello
2006-02-15 19:31 ` Trond Myklebust
2006-02-15 21:29 ` Sev Binello
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.