<div dir="ltr"><div>Hi, </div><div>My cluster is presenting error on startup of the service postgresql because this service is being initialized before mounting the partition /sistema.</div><div><br></div><div>How can I configure Pacemaker to start the Postgresql only after mounting the partition /sistema?</div>
<div><br></div><div><br></div><div>My server configuration:</div><div><br></div><div>primitive drbd_sistema ocf:linbit:drbd \</div><div>        params drbd_resource=&quot;sistema&quot; \</div><div>        op monitor interval=&quot;15s&quot;</div>
<div>primitive sistema_fs ocf:heartbeat:Filesystem \</div><div>        params device=&quot;/dev/drbd2&quot; directory=&quot;/sistema&quot; fstype=&quot;ext4&quot;</div><div><br></div><div><br></div><div>...  </div><div><br>
</div><div>primitive postgresql ocf:heartbeat:pgsql \</div><div>        params pgctl=&quot;/usr/bin/pg_ctl&quot; psql=&quot;/usr/bin/psql&quot; start_opt=&quot;&quot; pgdata=&quot;/sistema/pgsql/data/&quot; config=&quot;/sistema/pgsql/data/postgresq</div>
<div>l.conf&quot; pgdba=&quot;postgres&quot; \</div><div>        op start interval=&quot;0&quot; timeout=&quot;120s&quot; \</div><div>        op stop interval=&quot;0&quot; timeout=&quot;120s&quot; \</div><div>        op monitor interval=&quot;30s&quot; timeout=&quot;30s&quot; depth=&quot;0&quot; \</div>
<div>        meta target-role=&quot;Started&quot;</div><div><br></div><div><br></div><div><br></div><div>Regards,</div><div>Cristiane</div></div>