/usr/share/crmsh/templates/gfs2-base is in crmsh 1.2.5+hg1034-1ubuntu3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | %name gfs2-base
# Copyright (C) 2009 Andrew Beekhof
#
# License: GNU General Public License (GPL)
# gfs2 filesystem base (cloned)
#
# This template generates a cloned instance of the ocfs2 filesystem
#
# The filesystem should be on the device, unless clvm is used
# To use clvm, pull it along with this template:
# new myfs ocfs2 clvm
#
# NB: You need just one dlm and o2cb, regardless of how many
# filesystems. In other words, you can use this template only for
# one filesystem and to make another one, you'll have to edit the
# resulting configuration yourself.
%suggests clvm
%required
%generate
primitive dlm ocf:pacemaker:controld
clone dlm-clone dlm
meta interleave="true" ordered="true"
primitive gfs-controld ocf:pacemaker:controld
clone gfs-clone gfs-controld
meta interleave="true" ordered="true"
colocation colo-gfs-dlm inf: gfs-clone dlm-clone
order order-gfs-dlm inf: dlm-clone gfs-clone
# if there's clvm, generate some constraints too
#
%if %clvm
colocation colo-clvm-dlm inf: clvm-clone dlm-clone
order order-clvm-dlm inf: dlm-clone clvm-clone
%fi
|