Re: Killing process in D state on mount to dead NFS server. (when process is in fsync)

2014-08-01 Thread Trond Myklebust
On Fri, Aug 1, 2014 at 11:19 PM, NeilBrown wrote: > On Fri, 1 Aug 2014 22:55:42 -0400 Trond Myklebust wrote: > >> > That still leaves some open questions though... >> > >> > Is that enough to fix it? You'd still have the dirty pages lingering >> > around, right? Would a umount -f presumably work

Re: Killing process in D state on mount to dead NFS server. (when process is in fsync)

2014-08-01 Thread NeilBrown
On Fri, 1 Aug 2014 22:55:42 -0400 Trond Myklebust wrote: > > That still leaves some open questions though... > > > > Is that enough to fix it? You'd still have the dirty pages lingering > > around, right? Would a umount -f presumably work at that point? > > 'umount -f' will kill any outstanding

Re: Killing process in D state on mount to dead NFS server. (when process is in fsync)

2014-08-01 Thread Trond Myklebust
On Fri, Aug 1, 2014 at 9:21 PM, Jeff Layton wrote: > On Fri, 1 Aug 2014 07:50:53 +1000 > NeilBrown wrote: > >> On Thu, 31 Jul 2014 14:20:07 -0700 Ben Greear >> wrote: >> >> > -BEGIN PGP SIGNED MESSAGE- >> > Hash: SHA1 >> > >> > On 07/31/2014 01:42 PM, NeilBrown wrote: >> > > On Thu, 31

Re: Killing process in D state on mount to dead NFS server. (when process is in fsync)

2014-08-01 Thread Jeff Layton
On Fri, 1 Aug 2014 20:50:13 -0500 Roger Heflin wrote: > Doesn't NFS have an intr flag to allow kill -9 to work? Whenever I > have had that set it has appeared to work after about 30 seconds or > so...without that kill -9 does not work when the nfs server is > missing. > > Not anymore. That m

Re: Killing process in D state on mount to dead NFS server. (when process is in fsync)

2014-08-01 Thread Roger Heflin
Doesn't NFS have an intr flag to allow kill -9 to work? Whenever I have had that set it has appeared to work after about 30 seconds or so...without that kill -9 does not work when the nfs server is missing. On Fri, Aug 1, 2014 at 8:21 PM, Jeff Layton wrote: > On Fri, 1 Aug 2014 07:50:53 +1000

Re: Killing process in D state on mount to dead NFS server. (when process is in fsync)

2014-08-01 Thread Jeff Layton
On Fri, 1 Aug 2014 07:50:53 +1000 NeilBrown wrote: > On Thu, 31 Jul 2014 14:20:07 -0700 Ben Greear wrote: > > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA1 > > > > On 07/31/2014 01:42 PM, NeilBrown wrote: > > > On Thu, 31 Jul 2014 11:00:35 -0700 Ben Greear > > > wrote: > > > > > >> So

Re: Killing process in D state on mount to dead NFS server. (when process is in fsync)

2014-08-01 Thread Jan Kara
On Fri 01-08-14 07:50:53, NeilBrown wrote: > On Thu, 31 Jul 2014 14:20:07 -0700 Ben Greear wrote: > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA1 > > > > On 07/31/2014 01:42 PM, NeilBrown wrote: > > > On Thu, 31 Jul 2014 11:00:35 -0700 Ben Greear > > > wrote: > > > > > >> So, this has be

Re: Killing process in D state on mount to dead NFS server. (when process is in fsync)

2014-07-31 Thread NeilBrown
On Thu, 31 Jul 2014 14:20:07 -0700 Ben Greear wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 07/31/2014 01:42 PM, NeilBrown wrote: > > On Thu, 31 Jul 2014 11:00:35 -0700 Ben Greear > > wrote: > > > >> So, this has been asked all over the interweb for years and years, but the