[Pacemaker] Filesystem resource killing innocent processes on stop

Vladislav Bogdanov bubble at hoster-ok.com
Tue May 19 05:30:37 EDT 2015


19.05.2015 11:46, Dejan Muhamedagic wrote:
> On Mon, May 18, 2015 at 07:34:38PM +0300, Vladislav Bogdanov wrote:
>> 18.05.2015 18:57, Nikola Ciprich wrote:
>>> Hi Vladislav,
>>>
>>>>
>>>> Isn't that a bind-mount?
>>> nope, but your question lead me to possible culprit..
>>> it's cephfs mount, when I try to some local filesystem, I don't
>>> see this weird fuser behaviour..
>>>
>>> so maybe fuser does not work correctly on cephfs?
>>
>> yep, for bind-mounts fuser shows/kills both processes which use
>> bounded tree and original filesystem.
>>
>>>
>>> this is how fs is mounted:
>>>
>>> 10.0.0.1,10.0.0.2,10.0.0.3:/ on /home/cluster/virt type ceph (name=admin,key=client.admin)
>>>
>>> I should probably ask in ceph maillist..
>>
>> There are alternative ways to determine mountpoint usage btw.
>> One of them is lsof, I use it for bind-mounts.
>
> The Filesystem RA supports bind mounts. Is there a problem then
> with it using fuser?

Definitely (but may be kernel/fuser version specific).

>
> Thanks,
>
> Dejan
>
>
>>>
>>> n.
>>>
>>>
>>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Pacemaker mailing list: Pacemaker at oss.clusterlabs.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
>>>
>>
>>
>> _______________________________________________
>> Pacemaker mailing list: Pacemaker at oss.clusterlabs.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
>
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.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
>





More information about the Pacemaker mailing list