[Linux-cluster] fencing node and filesystem
rpeterso at redhat.com
Mon Feb 8 14:49:34 UTC 2010
----- "Muhammad Ammad Shah" <mammadshah at hotmail.com> wrote:
| when a node(x) fenced by another node(y), will it corrupts the file
| system or no? and if the database was running and node(x) fenced by
| fenced node(y) will it corrupts the database or whats about the
| transaction ?
| Muhammad Ammad Shah
With GFS and GFS2 there should be no metadata corruption, in theory.
When quorum is regained (or if it's not lost) the fenced
node's journal is replayed so the file system metadata should
remain intact. That does not mean that data won't be lost.
If the node was fenced while it had data in its cache, that data
may be lost. In critical situations, you can mark files and/or
directories with a flag that makes the data journaled as well,
so the data should be protected. Of course, that has a performance
penalty. There's a small section about this in the GFS faq.
Red Hat File Systems
More information about the Linux-cluster