Patrick de Ruiter | 8 Aug 08:54 2012
Picon

Filesystem will not mount (mounts fine when mannualy mounted)

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" \
(Continue reading)

emmanuel segura | 8 Aug 10:45 2012
Picon

Re: Filesystem will not mount (mounts fine when mannualy mounted)

are you using /dev/mapper/mpath0 directly, i don't think this is the problem, but i always used lvm with multipath

2012/8/8 Patrick de Ruiter <p.a.p.de.ruiter-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
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

_______________________________________________
Pacemaker mailing list: Pacemaker-BSnDWwoz/2aRShoRxXF5/EB+6BGkLq7r@public.gmane.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org



--
esta es mi vida e me la vivo hasta que dios quiera
_______________________________________________
Pacemaker mailing list: Pacemaker@...
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org
Andrew Beekhof | 10 Aug 22:00 2012
Picon

Re: Filesystem will not mount (mounts fine when mannualy mounted)

The pengine logs aren't going to help you, its just saying "something
failed and this is what we're going to do about it".
You need the original error from your resource to know why it failed.

On Wed, Aug 8, 2012 at 4:54 PM, Patrick de Ruiter
<p.a.p.de.ruiter@...> wrote:
> 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
>
> _______________________________________________
> Pacemaker mailing list: Pacemaker@...
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org

_______________________________________________
Pacemaker mailing list: Pacemaker@...
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org


Gmane