All of lore.kernel.org
 help / color / mirror / Atom feed
* [Ocfs2-devel] shutdown of filesystems and quorum
@ 2005-09-28 18:32 Joel Becker
  2005-09-28 18:46 ` Sunil Mushran
  0 siblings, 1 reply; 4+ messages in thread
From: Joel Becker @ 2005-09-28 18:32 UTC (permalink / raw)
  To: ocfs2-devel

	I just realized.  Even with _netdev, we have a problem on Red
Hat.  Normally, we assume that netfs will start up our _netdev
filesystems and umount them on shutdown.  But what about filesystems
that aren't in /etc/fstab?  What about filesystems that are noauto?  I'm
not sure what netfs does with noauto on shutdown, but I'm certain it has
no idea about OCFS2 filesystems that aren't in /etc/fstab.  It knows
about nfs/gfs/etc, because it hardcodes those fs types.  But it only
tracks OCFS2 filesystems via the /etc/fstab entries.
	What does this mean?  Even with /etc/init.d/netfs, any
filesystem that isn't in /etc/fstab will not be umounted before the
network is stopped.  So every other node mounting that filesystem will
see:

	o network connection went away
	o heartbeat is still alive
	=> Ergo, make a quorum decision, perhaps killing myself.

Yuk.
	What should we do?  Try to persuade Red Hat to add OCFS2 as an
explicit type in netfs (means we don't even need to tell our customers
_netdev anymore)?  That doesn't help sles/debian.  We have a script for
sles.  Maybe use that everywhere?
	What are your thoughts?

Joel
-- 

"Reality is merely an illusion, albeit a very persistent one."
        - Albert Einstien

Joel Becker
Principal Software Developer
Oracle
E-mail: joel.becker@oracle.com
Phone: (650) 506-8127

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-09-28 19:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-28 18:32 [Ocfs2-devel] shutdown of filesystems and quorum Joel Becker
2005-09-28 18:46 ` Sunil Mushran
2005-09-28 18:54   ` Joel Becker
2005-09-28 19:08     ` Sunil Mushran

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.