From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fabio Massimo Di Nitto Date: Mon, 29 Oct 2007 22:36:18 +0100 Subject: [Cluster-devel] [RFC - PATCH] gfs2/gfs kernel: warn if mount/umount helpers are missing Message-ID: <47265252.4040608@ubuntu.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi guys, I have recently been bitten by a bad installation where the either the mount or the umount helper was not installed properly in the system. After discussing a bit on IRC with David, we agreed that the best approach to warn the user about this situation was a kernel message. Looking in the default set of options that mount.gfs* sets there is at least hostdata that is mandatory. The patch in attachment verifies that hostdata is set after parsing all the options and if empty will warn the users that the helpers might not have been installed properly. The same method could be applied to gfs2 but at the moment it OOPS'es on my test cluster and I can't verify it. Please apply or ACK and I will apply to CVS HEAD. Thanks Fabio -- I'm going to make him an offer he can't refuse. -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: foo.diff URL: