From: Michael Richardson Subject: Re: force unmount not working 2.4.22 Date: Mon, 11 Oct 2004 18:55:02 -0400 Sender: nfs-admin@lists.sourceforge.net Message-ID: <23029.1097535302@marajade.sandelman.ottawa.on.ca> References: <20041011220942.96898.qmail@web20525.mail.yahoo.com> Mime-Version: 1.0 (generated by tm-edit 1.8) Content-Type: text/plain; charset=US-ASCII Cc: Garrick Staples , nfs@lists.sourceforge.net Return-path: Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list2.sourceforge.net with esmtp (Exim 4.30) id 1CH94X-0002Vt-9d for nfs@lists.sourceforge.net; Mon, 11 Oct 2004 15:55:17 -0700 Received: from cyphermail.sandelman.ottawa.on.ca ([205.150.200.161] helo=noxmail.sandelman.ottawa.on.ca) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.41) id 1CH94V-0008G8-Ue for nfs@lists.sourceforge.net; Mon, 11 Oct 2004 15:55:17 -0700 To: Goutham Kurra In-Reply-To: Message from Goutham Kurra of "Mon, 11 Oct 2004 15:09:42 PDT." <20041011220942.96898.qmail@web20525.mail.yahoo.com> Errors-To: nfs-admin@lists.sourceforge.net List-Unsubscribe: , List-Id: Discussion of NFS under Linux development, interoperability, and testing. List-Post: List-Help: List-Subscribe: , List-Archive: -----BEGIN PGP SIGNED MESSAGE----- >>>>> "Goutham" == Goutham Kurra writes: Goutham> I can see that '-f' tries to stop all active rpc tasks to Goutham> the server, but I guess the reference counts on the mount Goutham> are not dropped. What would be cool is a 'brute-force' Goutham> option that kills any process that still holds a reference Goutham> to the filesystem and then also unmounts it. A good idea, but there are still things that "kill -9" won't kill, and people who don't understand why we need it. "Fix the application" they say. A better idea is that -f goes into the file table, and makes all of the references duds. When the applications writes, they get an I/O error, and when they read, they get EOF or I/O error. Goutham> The problem with using something like fuser is that it will Goutham> promptly hang on an unreachable server making it useless on Goutham> nfs filesystems. Goutham> Any ideas on what to do in this case (i.e, unreachable NFS Goutham> server, plus a bunch of processes hung on the mount)? Yes, a shame. Perhaps we can fix fuser as well? Goutham> I'm uncomfortable using lazy unmounts as I don't have a way Goutham> of knowing if the filesystem has finally been dropped or Goutham> not. For critical stuff, using lazy or soft mounts is not a good idea. - -- ] "Elmo went to the wrong fundraiser" - The Simpson | firewalls [ ] Michael Richardson, Xelerance Corporation, Ottawa, ON |net architect[ ] mcr@xelerance.com http://www.sandelman.ottawa.on.ca/mcr/ |device driver[ ] panic("Just another Debian GNU/Linux using, kernel hacking, security guy"); [ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Finger me for keys iQCVAwUBQWsPRIqHRg3pndX9AQH7XgP/Xx3uhOmjXZ/lVijYGSPxnldnYMo6s9Gp 0sc8IQepyaMZ9JSl/TnayvNTBjO2YXaBBliugDTqPp+RRV3lYXa0EXbTHtHRiBD0 KaGu98Z0k5iDhFrUcAcgUfU55AKDC2FtQ69YG5DhXt10EOIDtmvfcamy9ssiCRsj No/K5Fv2IJ0= =pzfz -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ NFS maillist - NFS@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nfs