[Cluster-devel] [RFC - PATCH] gfs2/gfs kernel: warn if mount/umount helpers are missing

Fabio Massimo Di Nitto fabbione at ubuntu.com
Mon Oct 29 21:36:18 UTC 2007


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: <http://listman.redhat.com/archives/cluster-devel/attachments/20071029/8a46c2bd/attachment.ksh>


More information about the Cluster-devel mailing list