NFS woes

From: Chad Schwartz (cwslist@main.cornernet.com)
Date: Sat Jun 03 2000 - 01:30:26 EDT

  • Next message: David Marshall: "Re: Linux 2.5 / 2.6 TODO (preliminary)"

    Kernel NFS.

    2.4.0-test1-ac7 (or plain test1, for that matter.)

    add rule to /etc/exports to allow permissions to any currently mounted FS,
    and start kernel nfs. (Debian packaging, in this case..
    /etc/init.d/nfs-kernel-server start.)

    mount that FS from the remote system you just added the export rule for.

    Unmount that FS from the remote system.

    remove the rule from /etc/exports.

    rerun exportfs -r.

    try to unmount the FS on the NFS server, that was the FS that was
    exported.

    Can't unmount the directory. Device busy.

    fuser -v shows:

    /mp31 root kernel mount /fs1

    Being held open by the kernel, but nothings attached to it in userspace.

    /etc/init.d/nfs-kernel-server stop

    (does all the stuff to unload the nfsd's, mountd, etc...)

    Even though all the daemons are dead, and NFS is no longer running...

    The filesystem is *STILL* being held busy by the kernel mount generated by
    adding the export rule.

    Any suggestions?

     Chad

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.rutgers.edu
    Please read the FAQ at http://www.tux.org/lkml/



    This archive was generated by hypermail 2b29 : Sat Jun 03 2000 - 01:27:55 EDT