Re: AIX 5.2 ls command hanging on JFS2 FS

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


Date: 31 Aug 2004 07:33:31 GMT

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

> 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 very rarely use NFS, so this might not be too grounded in reality, but the
manpage for mount says that "hard" is the default. That would mean that any
outstanding I/O requests are tried an retried until the process responsible
for the request is interrupted (which is possible because you used "intr").

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

Try to determine if there are any processes with open files on the affected
filesystems (with fuser -c and / or fuser -d). Then kill those processes, and
try to umount the filesystems when all processes are gone. As an alternative,
look into the "soft" mount option for NFS.

-- 
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

  • V210 BGE0@1000FDX (Adam Tomkinson)
    ... sunmanagers Digest, Vol 31, Issue 28 ... When connecting a server to a Gig interface you need to enable autoneg ... Blocked port after process kill ... NFS oddity ...
    (SunManagers)
  • V210 BGE0@1000FDX
    ... When connecting a server to a Gig interface you need to enable autoneg ... Blocked port after process kill ... NFS oddity ... where hostname is the name of the NFS client which will automount the ...
    (SunManagers)
  • Solved: Perl/NFS "Text File Busy" Error And Related Problems
    ... Â That means I am actually editing the Perl file on ... and I am running it on another (my server). ... The first problem I had was that when I saved my script through NFS, ... apt-get install nfs-kernel-server ...
    (Debian-User)
  • 7.0 RC1 dump hangs - sometimes
    ... nfs send error 35 for server backup:/back ... K8-class CPU) ... port may not be enabled ...
    (freebsd-current)
  • RC1 dump hangs - sometimes
    ... nfs send error 35 for server backup:/back ... K8-class CPU) ... port may not be enabled ...
    (freebsd-current)