All of lore.kernel.org
 help / color / mirror / Atom feed
* [Cluster-devel] [RFC - PATCH] gfs2/gfs kernel: warn if mount/umount helpers are missing
@ 2007-10-29 21:36 Fabio Massimo Di Nitto
  0 siblings, 0 replies; only message in thread
From: Fabio Massimo Di Nitto @ 2007-10-29 21:36 UTC (permalink / raw)
  To: cluster-devel.redhat.com


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>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-10-29 21:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-29 21:36 [Cluster-devel] [RFC - PATCH] gfs2/gfs kernel: warn if mount/umount helpers are missing Fabio Massimo Di Nitto

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.