Hi everybody:
I'd posted a question for help on automounting C Compiler on systems running
Solaris 2.5. When users are accessing this automounted file system and
the server goes down, the session hangs until the server comes back up. I
was looking for ways to ^C out of th session so that the users can "move on
with their lives," especially for those users on the VT100 terminals.
I'd received one response from Kenneth Simpson (thank you!) who suggested
that I should "soft" mount the c compiler directory and avoid settig the
search paths to this automounted file system in .cshrc.
I took the advise and created a wrapper for each of the executables (like
cc, CC, visu, small_visu, etc.) which sets up the paths AFTER testing the
server is up. I did not use the "soft" mount because the man page on
mount_nfs warns that "File systems that are mounted read-write or that
contain executable files should always be mounted with the hard option.
Applications using soft mounted file systems may incur unexpected I/O
errors."
I'm using the following line in my /etc/auto_direct file to mount
the C Compiler file system from the server:
/opt/vws_v2.1 -ro,intr,retry=0 r2cp2:/opt/vws_v2.1
However, Sun told me that this line is read only during the mount, and
once the file system has been mounted/automounted, there is no way to
set a time-out period nor interrupt it with ^C. The only workaround is
logging in from another terminal/window and use "ps" to kill the process.
I'm sorry that I can't include my original question nor Ken's response
because my PC crashed two weeks ago and all the emails I downloaded to my
hard drive are gone...and so are all the SUMMARIES I collected over the
year. I know I promised a few people to send them the logs on automating
diskless client install and customizing Solaris 2.5 cd using Young Minds.
I may post these to the group as SUMMARY in a couple of weeks since I lost
all of the names and addresses.
Sincerely,
Vicky Lau
vlau@msmail2.hac.com
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:06 CDT