[Pacemaker] Filesystem will not mount (mounts fine when mannualy mounted)

Patrick de Ruiter p.a.p.de.ruiter at gmail.com
Wed Aug 8 06:54:13 UTC 2012


I currently have a problem with mounting a filesystem, it fails and
somehow  I cannot seem to figure out why.
Could someone have a look to point me in the right direction

Below is first my cluster configuration and afer that a piece of
logfile with the error.

Thanks,
Patrick

<snip--------------------------------------------------------------------------->
[root at cb92002s log]# crm configure show
node cb92001s
node cb92002s
primitive ClusterIP ocf:heartbeat:IPaddr2 \
        params ip="10.76.130.46" cidr_netmask="32" \
        op monitor interval="30s"
primitive mount-data ocf:heartbeat:Filesystem \
        params device="/dev/mapper/mpath0" directory="/data/pgsql"
fstype="ext3" options="noatime"
primitive postgresql ocf:heartbeat:pgsql \
        op monitor interval="10" timeout="10" depth="0"
group postgres ClusterIP mount-data postgresql
location prefer-cb92001s postgresql 50: cb92001s
colocation node-with-ip inf: postgresql ClusterIP mount-data
order postgres-after-mount inf: ClusterIP mount-data postgresql
property $id="cib-bootstrap-options" \
        dc-version="1.0.12-unknown" \
        cluster-infrastructure="openais" \
        expected-quorum-votes="2" \
        dtonith-enabled="false" \
        stonith-enabled="false" \
        no-quorum-policy="ignore"
<snap-------------------------------------------------------------------------------->
Aug  8 08:18:36 cb92002s pengine: [1256]: notice: unpack_config: On
loss of CCM Quorum: Ignore
Aug  8 08:18:36 cb92002s pengine: [1256]: info: unpack_config: Node
scores: 'red' = -INFINITY, 'yellow' = 0, 'green' = 0
Aug  8 08:18:36 cb92002s pengine: [1256]: info:
determine_online_status: Node cb92002s is online
Aug  8 08:18:36 cb92002s pengine: [1256]: info:
determine_online_status: Node cb92001s is online
Aug  8 08:18:36 cb92002s pengine: [1256]: notice: unpack_rsc_op: Hard
error - mount-data_start_0 failed with rc=5: Preventing mount-data
from re-starting on cb92002s
Aug  8 08:18:36 cb92002s pengine: [1256]: WARN: unpack_rsc_op:
Processing failed op mount-data_start_0 on cb92002s: not installed (5)
Aug  8 08:18:36 cb92002s pengine: [1256]: notice: unpack_rsc_op: Hard
error - mount-data_start_0 failed with rc=5: Preventing mount-data
from re-starting on cb92001s
Aug  8 08:18:36 cb92002s pengine: [1256]: WARN: unpack_rsc_op:
Processing failed op mount-data_start_0 on cb92001s: not installed (5)
Aug  8 08:18:36 cb92002s pengine: [1256]: notice: group_print:
Resource Group: postgres
Aug  8 08:18:36 cb92002s pengine: [1256]: notice: native_print:
ClusterIP  (ocf::heartbeat:IPaddr2):       Stopped
Aug  8 08:18:36 cb92002s pengine: [1256]: notice: native_print:
mount-data (ocf::heartbeat:Filesystem):    Stopped
Aug  8 08:18:36 cb92002s pengine: [1256]: notice: native_print:
postgresql (ocf::heartbeat:pgsql): Stopped
Aug  8 08:18:36 cb92002s pengine: [1256]: info: get_failcount:
mount-data has failed INFINITY times on cb92002s
Aug  8 08:18:36 cb92002s pengine: [1256]: WARN:
common_apply_stickiness: Forcing mount-data away from cb92002s after
1000000 failures (max=1000000)
Aug  8 08:18:36 cb92002s pengine: [1256]: info: get_failcount:
mount-data has failed INFINITY times on cb92001s
Aug  8 08:18:36 cb92002s pengine: [1256]: WARN:
common_apply_stickiness: Forcing mount-data away from cb92001s after
1000000 failures (max=1000000)
Aug  8 08:18:36 cb92002s pengine: [1256]: info: rsc_merge_weights:
mount-data: Rolling back scores from postgresql
Aug  8 08:18:36 cb92002s pengine: [1256]: info: native_color: Resource
mount-data cannot run anywhere
Aug  8 08:18:36 cb92002s pengine: [1256]: info: rsc_merge_weights:
postgresql: Rolling back scores from ClusterIP
Aug  8 08:18:36 cb92002s pengine: [1256]: info: native_color: Resource
postgresql cannot run anywhere
Aug  8 08:18:36 cb92002s pengine: [1256]: info: rsc_merge_weights:
ClusterIP: Rolling back scores from mount-data
Aug  8 08:18:36 cb92002s pengine: [1256]: info: rsc_merge_weights:
ClusterIP: Rolling back scores from mount-data
Aug  8 08:18:36 cb92002s pengine: [1256]: info: native_color: Resource
ClusterIP cannot run anywhere
Aug  8 08:18:36 cb92002s pengine: [1256]: notice: LogActions: Leave
resource ClusterIP        (Stopped)
Aug  8 08:18:36 cb92002s pengine: [1256]: notice: LogActions: Leave
resource mount-data       (Stopped)
Aug  8 08:18:36 cb92002s pengine: [1256]: notice: LogActions: Leave
resource postgresql       (Stopped




More information about the Pacemaker mailing list