[Pkg-sysvinit-devel] system hangs during shutdown...

Henrique de Moraes Holschuh hmh at debian.org
Mon Jul 25 20:00:06 UTC 2011


On Sun, 24 Jul 2011, Bruce Sass wrote:
> On July 23, 2011 06:56:44 AM Henrique de Moraes Holschuh wrote:
> > On Thu, 21 Jul 2011, Bruce Sass wrote:
> > > > This is not a bug.  NFS clients are supposed to keep on trying to reach
> > > > the server, by default.  You should have unmounted the directory from
> > > > the NFS client(s) before shutting down the server.
> > > > 
> > > > Ben.
> > > 
> > > Sounds like a desirable behaviour when the system is coming up, but
> > > having the client hang when *going down* because a server disappeared
> > > doesn't seem right.
> > 
> > Don't use NFS, then.  It does NOT tolerate servers going away.  Maybe
> > NFSv4 is a bit better, but v3 does not let you get away with it (maybe
> > it should for read-only mounts).
> 
> It looks like NFSv4 doesn't like that happening either.
> 
> Well, that kinda sucks,..
> 
> ...I'm thinking that initscripts should be smarter in that it should recognize 
> hopeless cases and set a limit on how long the system will wait before 
> shutting down. Fully configurable, of course.

The kernel will hang the umount command.

Maybe a cluster filesystem would be a better fit for your needs?  They
tolerate that sort of thing a lot better.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh



More information about the Pkg-sysvinit-devel mailing list