Hanging NFS umounts with 2.4.27

From: Michael Gernoth (simigern_at_stud.uni-erlangen.de)
Date: 11/05/04

  • Next message: Jeff Garzik: "netdev-2.6 queue updated"
    Date:	Fri, 5 Nov 2004 11:02:37 +0100
    To: linux-kernel@vger.kernel.org
    
    

    Hi,
    we have 2 SMP machines running Linux 2.4.27 with autofs which have a high
    rate of mounting/umounting. When they are heavily used, it happens that
    about once a day a umount-process gets stuck and the only solution is
    to reboot the machine.
    We can also see this happen (much less often) on our UP workstations,
    where in the average only one student is working on a single machine at
    a time.

    Searching through the Changesets I found 1.1402.1.19:
    http://linux.bkbits.net:8080/linux-2.4/cset@1.1402.1.19
    After reverting this one, we have a stable umount-behaviour again.

    Grepping through the log of the serial console finds the following
    hanging umounts (the nfs-servers were up at these moments):
    19969 ? S 9:32 /bin/umount //local/perl-5.004/.arch.os
    23437 ? S 0:00 /bin/umount //local/maple/.arch.os
    19969 ? S 9:40 /bin/umount //local/perl-5.004/.arch.os
    23437 ? S 0:00 /bin/umount //local/maple/.arch.os
    19969 ? S 9:59 /bin/umount //local/perl-5.004/.arch.os
    23437 ? S 0:00 /bin/umount //local/maple/.arch.os
    19969 ? S 10:13 /bin/umount //local/perl-5.004/.arch.os
    23437 ? S 0:00 /bin/umount //local/maple/.arch.os
    22491 ? S 0:00 /bin/umount //local/gnu-utils-1.0/.arch.os
    23560 ? S 0:00 /bin/umount //proj/cipadm

    The file-systems are mounted from a Solaris 9 machine with the following
    options on the client-side:
    rw,nosuid,nodev,retry=5,intr,rsize=8192,noquota,wsize=8192,hard,tcp,addr=...

    We are running Debian/Testing with autofs version 4.1.3.

    Our current Kernel-config is at:
    http://wwwcip.informatik.uni-erlangen.de/~simigern/cip-generic-config
    (This Kernel is patched with ACLs and the current autofs-patch, but the
     behaviour can be reproduced with a vanilla kernel.org kernel)

    Regards,
      Michael

    Please CC me on replies, as I am not subscribed to linux-kernel. Thanks.

    -- 
    Michael Gernoth                            Department of Computer Science IV 
    Martensstrasse 1  D-91058 Erlangen Germany  University of Erlangen-Nuremberg
    	         http://wwwcip.informatik.uni-erlangen.de/
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at  http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at  http://www.tux.org/lkml/
    

  • Next message: Jeff Garzik: "netdev-2.6 queue updated"

    Relevant Pages

    • RE: [autofs] [RFC] Towards a Modern Autofs
      ... > If you've read this far, what I'm trying to say is that having userspace ... > the kernel as well. ... If linux autofs had the same capability we might ... run the userspace helper to unmount them. ...
      (Linux-Kernel)
    • Re: 2.4.20 autofs: non-toplevel mounts broken? (SOLVED!)
      ... > autofs4; the autofs module doesn't have the hierarchical support. ... The kernel version was a red herring. ... Old config: ...
      (Debian-User)
    • Re: Failed dependency with yum?
      ... I'm getting some errors about conflicts with the kernel. ... autofs conflicts with kernel < 2.6.17 ... If you're not running the most recent kernel that was installed by 'yum ... Then you'll be able to install autofs. ...
      (comp.os.linux.misc)
    • Re: [PATCH] autofs: fix error code path in autofs_fill_sb()
      ... new automount deamon is started, kernel ... autofs: kernel does not match daemon version ... it calls kill_anon_superto destroy the superblock which won't be ... goto out_kill_sb; ...
      (Linux-Kernel)