[ClusterLabs] trace of Filesystem RA does not log

Gang He GHe at suse.com
Mon Oct 14 01:04:52 EDT 2019


Hello Lentes,



> -----Original Message-----
> From: Users [mailto:users-bounces at clusterlabs.org] On Behalf Of Lentes,
> Bernd
> Sent: 2019年10月11日 22:32
> To: Pacemaker ML <users at clusterlabs.org>
> Subject: [ClusterLabs] trace of Filesystem RA does not log
> 
> Hi,
> 
> occasionally the stop of a Filesystem resource for an OCFS2 Partition fails to
> stop.
Which SLE version are you using? 
When ocfs2 file system stop fails, that means the umount process is hung?
Could you cat that process stack via /proc/xxx/stack? 
Of course, you also can use o2locktop to identify if there is any active/hanged dlm lock at that moment.

Thanks
Gang

> I'm currently tracing this RA hoping to find the culprit.
> I'm putting one of both nodes into standby, hoping the error appears.
> Afterwards setting it online again and doing the same procedure with the
> other node.
> Of course now the error does not appear :-)) But i don't find any files under
> /var/lib/heartbeat/trace_ra/Filesystem for a stop operation.
> Resource is part of a group which is cloned.
> 
> I configured the tracing with "crm resource trace fs_ocfs2 stop".
> 
> Result:
> primitive fs_ocfs2 Filesystem \
>         params device="/dev/vg_san/lv_ocfs2" directory="/mnt/ocfs2"
> fstype=ocfs2 \
>         params fast_stop=no force_unmount=true \
>         op monitor interval=30 timeout=20 \
>         op start timeout=60 interval=0 \
>         op stop timeout=60 interval=0 \
>         op_params trace_ra=1 \
>         meta is-managed=true target-role=Started
> 
> I expect log files for the stop operation in
> /var/lib/heartbeat/trace_ra/Filesystem.
> But i don't get any.
> 
> Thanks.
> 
> Bernd
> 
> --
> 
> Bernd Lentes
> Systemadministration
> Institut für Entwicklungsgenetik
> Gebäude 35.34 - Raum 208
> HelmholtzZentrum münchen
> bernd.lentes at helmholtz-muenchen.de
> phone: +49 89 3187 1241
> phone: +49 89 3187 3827
> fax: +49 89 3187 2294
> http://www.helmholtz-muenchen.de/idg
> 
> Perfekt ist wer keine Fehler macht
> Also sind Tote perfekt
> 
> 
> Helmholtz Zentrum Muenchen
> Deutsches Forschungszentrum fuer Gesundheit und Umwelt (GmbH)
> Ingolstaedter Landstr. 1
> 85764 Neuherberg
> www.helmholtz-muenchen.de
> Aufsichtsratsvorsitzende: MinDir'in Prof. Dr. Veronika von Messling
> Geschaeftsfuehrung: Prof. Dr. med. Dr. h.c. Matthias Tschoep, Kerstin Guenther
> Registergericht: Amtsgericht Muenchen HRB 6466
> USt-IdNr: DE 129521671
> 
> _______________________________________________
> Manage your subscription:
> https://lists.clusterlabs.org/mailman/listinfo/users
> 
> ClusterLabs home: https://www.clusterlabs.org/


More information about the Users mailing list