Many thanks to
Qureshi, Malahat <MQureshi@allstate.com>
ray <ray.trzaska@northgate-is.com>
Neal S. Pressman <nsp83273@melsud.res.ray.com>
parker@bctm.com
Viet_Q_Hoang <vhoang@lucent.com>
Renny Koshy <renny@visualsoft.com>
I must specially thanks Viet_Q_Hoang and I included
his reply below.
That sounds like a symptom of some nfs/automounting
problem.
Easiest way to track it down is to run 'find / -print'
and see
where it hangs.
It hung at /xfn. Comment out /xfn in auto_master and
restart
autofs. everything works fine now.
> -----Original Message-----
> From: sun unix [mailto:sun_starfire@yahoo.com]
> Sent: Friday, May 26, 2000 12:21 PM
> To: Sun Managers
> Subject: find hung in Solaris 2.6 and 7
>
>
> Dear Sun Managers,
>
> I've an E10k and have 5x 9.1 G disks. Each hard disk
> is mounted as a separate file system. NFS is not
> running in this machine. My problem is I have a
script
> that consists a find command that run well in
Solaris
> 2.5.1. However, when I run the same script on
Solaris
> 2.6 or 7, it doesn't work.
>
> I then run the find command manually in command
line:
> find / -name .profile -print.
>
> To my surprise, after finding the .profile file in a
> few file systems, it just hung there. I waited a few
> hours but the find doesn't terminate. When I do a
> truss
> on the process, it is giving me the process is in
> sleeping......
> I never see such a thing before and by
> right after finding the file in all the file
systems,
> it should exit and go back to the command prompt.
>
> I did the find in each separate file system, it
works
> fine and exits.
>
> e.g. # find /a -name .profile -print
> # find /b -name .profile -print
> # find /c -name .profile -print
>
>
> Can someone shed some light on it. I had searched
thru
> the archive and someone mentioned that there is a
> different in find command btw Solaris 2.5.1 and
> Solaris 2.6. But the summary doesn't help in my
> case. Would highly appreciate any help and what
> are the things I need to investigate further.
Thanks.
>
> regards,
> S.S
__________________________________________________
Do You Yahoo!?
Kick off your party with Yahoo! Invites.
http://invites.yahoo.com/
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:14:08 CDT