fence_scsi: Unable to execute vgs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I am testing GFS. But fencing yet does not work correctly. I am using
fence_scsi and have these messages in the logfile (repeating every 5
seconds):

Mar 13 04:03:36 host7 fenced[7243]: fencing node "host11"
Mar 13 04:03:36 host7 fenced[7243]: agent "fence_scsi" reports: version: 0.33 20070919 Unable to execute vgs. 
Mar 13 04:03:36 host7 fenced[7243]: fence "host11" failed

I change fence_scsi to log the actual command line executed and also the
return code. The command line is

vgs --config 'global { locking_type = 0 }' --noheadings --separator : -o vg_attr,pv_name,pv_uuid

Which returns code 1 (256 in Perl's $?) I also changed the command in
fence_scsi file to use the full path (same behaviour).

When executing the command line manually I get a return code of 0, but a
warning shown in the terminal:

[root@host7 ~]# vgs --config 'global { locking_type = 0 }' --noheadings --separator : -o vg_attr,pv_name,pv_uuid
  WARNING: Locking disabled. Be careful! This could corrupt your metadata.
  wz--n-:/dev/dm-2:NP01BE-d1Lu-qRoz-eVIX-UuCs-FuZK-fuNtr3
  wz--n-:/dev/dm-6:XTu0my-wcNR-g2F3-ai2e-W0rM-UPNi-eGTDTp

The devices listed here are not used for the cluster. For testing I use
a simple multipath device without a volume group on top of it
(/dev/mapper/mpath2p1)

The version information in fence_scsi says:
$FENCE_RELEASE_NAME="2.0.115";
$REDHAT_COPYRIGHT=("Copyright (C) Red Hat, Inc.  2004  All rights reserved.");
$BUILD_DATE="(built Thu Nov 11 13:23:18 EST 2010)";

Someone has an idea?

Best,
Matthias


--
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster


[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux