Re: AIX 5.2 ls command hanging on JFS2 FS

From: Michael E. Thomadakis (miket_at_hellas.tamu.edu)
Date: 08/31/04

  • Next message: Rizwan Abbasi: "Re: AIX User Management with AD"
    Date: Mon, 30 Aug 2004 20:03:32 -0500
    
    

    On Mon, 30 Aug 2004, Jurjen Oskam wrote:

    j| Date: 30 Aug 2004 19:12:52 GMT
    j| From: Jurjen Oskam <joskam@quadpro.stupendous.org>
    j| Newsgroups: comp.unix.aix
    j| Subject: Re: AIX 5.2 ls command hanging on JFS2 FS
    j|
    j| On 2004-08-30, Michael E. Thomadakis <miket@hellas.tamu.edu> wrote:
    j|
    j| > I few days ago we've noticed a strange behavior on our p690 system (running
    j| > 5.2 with all the patches as of end of july 2004 applied). Command
    j| > ls -l on a JFS2 file system was hanging indefinitely.
    j|
    j| Should that happen again, try doing the same command again on another terminal,
    j| but this time trace it with the truss command. Then you'll know exactly where
    j| it hangs.

    OK, I will do this.

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

    That FS is a JFS2 that is not part of rootvg. I've also suspected that the
    JFS2 FS needed fsck.

    j|
    j| > Another questions relates to failed autofs mounts from a 'crappy' NFS server.
    j| > We had to mount an automaounted FS from an unstable NFS file server. When the
    j| > server failed (and was restarted) the previously automounted FSs could not be
    j|
    j| What mount options were used? In the case of NFS, some options can result in
    j| unkillable hung processes when the server is unreachable/unavailable.

    I always use the intr,bg,wsize= ,rsize =

    I want to mention that after the crappy NFS server had to be restarted the
    entire autofs tree would not mount / umount anything. I was trying to force
    umounts but the umount command was getting stuck.

    Any idea on how to umount FSs from a dead NFS server, when losing data is OK.

    Thanks
    Michael

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


  • Next message: Rizwan Abbasi: "Re: AIX User Management with AD"

    Relevant Pages

    • 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)
    • Re: dcdiag - advertising errors on newley promoted domain controller
      ... Then change the secondary DNS to the other site DNS server. ... Skipping site UK-CCM, this site is outside the scope provided ... command line arguments provided. ...
      (microsoft.public.windows.server.active_directory)
    • Re: dcdiag - advertising errors on newley promoted domain controller
      ... Both forward and reverse zones and server records have the correct IP ... Once you have found the error then on both servers, from a command ... Skipping site UK-CCM, this site is outside the scope provided ...
      (microsoft.public.windows.server.active_directory)