[Linux-HA] Filesystem resource agent will not mount device, "ERROR: unpack_rsc_op: Hard error"
Martin Oswald
martin.oswald at muenchen.de
Wed Oct 27 10:53:12 MDT 2010
>>>
>>> As I have only set "use_logd yes" in my ha.cf without any rules/filter
>>> in for the syslogd, all the logging goes to /var/log/message respectivly
>>> /var/log/warn. Or is there any other logfile I am missing?
>>> Perhaps increasing the debug level is the only thing that makes sense...
>> I suspect that this test failed:
>>
>> grep -e "$FSTYPE"'$' /proc/filesystems >/dev/null
>> if [ $? -ne 0 ] ; then
>> ocf_log err "Couldn't find filesystem $FSTYPE in
>> /proc/filesystems" return $OCF_ERR_ARGS
>> fi
>>
>> The exit code should perhaps be OCF_ERR_INSTALLED.
>
> that is what I also thought. Therefor my question xvfs beeing installed on the
> second node.
>
> @Martin: Can you mount the dir manually on the second machine?
> Can you run the ocf-tester in the second machine?
>
Hm, this will take some work. The problem is, we use the Veritas Volume
Manager which is like the LVM: I have a VolumeGroup mit several
LogicalVolumes in it. The mount is one of these LogicalVolumes.
If I want to mount the LogicalVolume on the other node, I have to switch
the whole VolumeGroup and therefore also the productive LogicalVolumes
in that VolumeGroup.
But I will remove the LogicalVolume from the Group and will test to
mount it on the other node. Perhaps this will deliver some clues.
More information about the Linux-HA
mailing list