[sos-devel] Adding the output of "mkqdisk -L"?

Pierguido Lambri plambri at redhat.com
Wed Apr 20 15:41:26 UTC 2011


On 04/20/2011 04:33 PM, Bryn M. Reeves wrote:
> This seems quite reasonable to me - probably should have included this some time
> ago. I'll let Pierre comment on it too but how about something like the patch at
> the foot of this mail?
>
> Regards,
> Bryn.
>
> diff --git a/sos/plugins/cluster.py b/sos/plugins/cluster.py
> index 45bb23e..4ab81f5 100644
> --- a/sos/plugins/cluster.py
> +++ b/sos/plugins/cluster.py
> @@ -79,6 +79,7 @@ class cluster(sos.plugintools.PluginBase):
>
>           if rhelver is not 4: # 5+
>             self.collectExtOutput("cman_tool -a nodes")
> +          self.collectExtOutput("mkqdisk -L")
>
>           if rhelver is 5:
>             self.collectExtOutput("group_tool -v")

If that easy, it would be perfect.
If need testing, just ping me, I have a couple of rhel6 clusters ;)

Pier




More information about the sos-devel mailing list