Lubos Kejzlar <[EMAIL PROTECTED]> writes:

        we just starting with AFS at our campus. We would like to setup 
    our SGI (IRIX 5.3) workstations to share /usr filesystem from our AFS 
    (3.4beta) space. All seems to work 'fine' but we have problems during the 
    release process of sgi_53.usr volume (actually more then one - 
    sgi_53.usr.lib, etc ...). During this process crashes all SGI WS (even if 
    in idle state - they can't access libc.so etc.) and reboot is necessary. 

Greetings Lubos,

If you are changing files that are being executed, then you may be seeing
a problem because while the _file_ may have changed (by broken callback),
the in-memory executable has not.

A neat way to handle this problem is to rename the old executables rather
than replacing them and install the new versions with the normal name:

For example:
    #!/bin/ksh -
    dir=/afs/@cell/usr/local/lib/X11/xdm.afs
    mv ${dir}/xdm ${dir}/xdm.$(/usr/local/bin/epoch)
    # install new version as "${dir}/xdm"

By renaming the files, any existing execute of the old version will continue
and any new invocation of the executable will use the new version.

The remaining problem is how long to keep the old executables for
(you only need them for as long as someone might be running them).

I first saw this solution posted to [EMAIL PROTECTED]
by Lyle Seaman [1] (see also: [2]).

Hope this helps! (let us know)
--
regards
paul                             http://acm.org/~mpb/homepage.html

References:
[1] [EMAIL PROTECTED]/1993/742893272
[2] [EMAIL PROTECTED]/1994/787225907

Reply via email to