On 01/09/2012 08:56 AM, Ulrich Windl wrote: >> However, I'm not going to write a patch for the filesystem agent, as I'm >> right now not working with pacemaker anyway and as I think the generic >> filesystem agent is far too complex for a shell script anyway. > > ??? Check the filesystem, and if it's OK, mount it. Ist that so very much > complicated? >
Yes it is, as you don't know how much time fsck will take. Unless you configured infinity timeouts... But even with infinity timeouts it is not HA, if the mount process (including fsck ) takes ages. Also, if an underlying hardware problem causes the filesystem corruption you definitely do not want to fsck at all, but want to manually investigate, if you just blindly fsck you might cause more damage than there has been before (and yes, I had to deal with such issues a few time already). So all together, it is not as simply as you think and needs to be configurable for the admin. As you then also need advanced fsck options (at least for e2fsck) to know about corruption, patching the general filesystem agent is not so easy any more. Cheers, Bernd _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
