Re: AIX 5.2 ls command hanging on JFS2 FS

From: Jurjen Oskam (joskam_at_quadpro.stupendous.org)
Date: 08/30/04


Date: 30 Aug 2004 19:12:52 GMT

On 2004-08-30, Michael E. Thomadakis <miket@hellas.tamu.edu> wrote:

> I few days ago we've noticed a strange behavior on our p690 system (running
> 5.2 with all the patches as of end of july 2004 applied). Command
> ls -l on a JFS2 file system was hanging indefinitely.

Should that happen again, try doing the same command again on another terminal,
but this time trace it with the truss command. Then you'll know exactly where
it hangs.

You said you restored an mksysb when this happened earlier. Was the filesystem
that caused the hang wiped and recreated? (And I don't mean rm -rf wiped, I
crfs wiped.) If not, the cause *might* be a corrupted filesystem. Restoring
the mksysb might not have fixed anything in that case. I'd unmount the
filesystem and fsck it thorougly.

> Another questions relates to failed autofs mounts from a 'crappy' NFS server.
> We had to mount an automaounted FS from an unstable NFS file server. When the
> server failed (and was restarted) the previously automounted FSs could not be

What mount options were used? In the case of NFS, some options can result in
unkillable hung processes when the server is unreachable/unavailable.

-- 
Jurjen Oskam
"I often reflect that if "privileges" had been called "responsibilities" or
"duties", I would have saved thousands of hours explaining to people why
they were only gonna get them over my dead body." - Lee K. Gleason, VMS sysadmin


Relevant Pages

  • Re: NFS newbie troubles
    ... How is your filesystem set up - a single ... When you access volumes via NFS you will only ... > the server from THE server itself. ... > After changing the server host name by hostname command, ...
    (comp.os.linux.networking)
  • change the size of the /tmp (tmpfs filesystem)
    ... Can I set the "size" attribute for the /tmp filesystem on the fly (ie, ... without rebooting the server). ... I came to know about this command from someone in this group; ...
    (comp.unix.solaris)
  • Re: dcdiag - advertising errors on newley promoted domain controller
    ... Can you do the following on uksccmads01 ... The problem may actually have nothing to do with the new server but the ... From a command prompt try and see if you get any additional info ... Skipping site UK-CCM, this site is outside the scope ...
    (microsoft.public.windows.server.active_directory)
  • Re: dcdiag - advertising errors on newley promoted domain controller
    ... Can you do the following on uksccmads01 ... The problem may actually have nothing to do with the new server but the ... Active Directory Forest Replication GUIDs Found: ... From a command prompt try and see if you get any additional info ...
    (microsoft.public.windows.server.active_directory)
  • Re: dcdiag - advertising errors on newley promoted domain controller
    ... Default Server: uksccmads01.jw-uk.jameswalker.co.uk ... Output from dnslint on uksccmads01: No erros found, ... Active Directory Forest Replication GUIDs Found: ... From a command prompt try and see if you get any additional info ...
    (microsoft.public.windows.server.active_directory)