When using a active/passive array, fence_scsi will get errors in the list of devices. This will cause fencing to fail. The problem appears to be that the command we use to get a list of devices (vgs) will scan all devices, including the passive path. This generates errors to stderr, and these errors get including in the list of devices. Solution is to redirect stderr to /dev/null as part of this command. We already do this in the scsi_reserve init script.
Fixed in RHEL5 branch.
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2009-0189.html