<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Roboto;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
p.yiv6406426161msonormal, li.yiv6406426161msonormal, div.yiv6406426161msonormal
        {mso-style-name:yiv6406426161msonormal;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
p.yiv6406426161msonormal3, li.yiv6406426161msonormal3, div.yiv6406426161msonormal3
        {mso-style-name:yiv6406426161msonormal3;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:11.0pt;
        font-family:"Arial",sans-serif;}
span.EmailStyle22
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">Okay, it turns out I was wrong. I thought I had it working, but I keep running into problems. Sometimes when I demote a DRBD resource on Node A and promote it on Node B, and I try to mount the filesystem, the system complains that it cannot
 read the superblock. But when I move the DRBD primary back to Node A, the file system is mountable again. Also, I have problems with filesystems not mounting because the vdo devices are not present. All kinds of issues.<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt">
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> Users <users-bounces@clusterlabs.org> <b>On Behalf Of
</b>Eric Robinson<br>
<b>Sent:</b> Friday, May 14, 2021 3:55 PM<br>
<b>To:</b> Strahil Nikolov <hunter86_bg@yahoo.com>; Cluster Labs - All topics related to open-source clustering welcomed <users@clusterlabs.org><br>
<b>Subject:</b> Re: [ClusterLabs] DRBD + VDO HowTo?<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Okay, I have it working now. The default systemd service definitions did not work, so I created my own.
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt">
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> Strahil Nikolov <<a href="mailto:hunter86_bg@yahoo.com">hunter86_bg@yahoo.com</a>>
<br>
<b>Sent:</b> Friday, May 14, 2021 3:41 AM<br>
<b>To:</b> Eric Robinson <<a href="mailto:eric.robinson@psmnv.com">eric.robinson@psmnv.com</a>>; Cluster Labs - All topics related to open-source clustering welcomed <<a href="mailto:users@clusterlabs.org">users@clusterlabs.org</a>><br>
<b>Subject:</b> RE: [ClusterLabs] DRBD + VDO HowTo?<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">There is no VDO RA according to my knowledge, but you can use systemd service as a resource.<o:p></o:p></p>
<div id="yMail_cursorElementTracker_1620979503479">
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div id="yMail_cursorElementTracker_1620979505648">
<p class="MsoNormal">Yet, the VDO service that comes with thr OS is a generic one and controlls all VDOs - so you need to create your own vdo service.<o:p></o:p></p>
</div>
<div id="yMail_cursorElementTracker_1620979573043">
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div id="yMail_cursorElementTracker_1620979573221">
<p class="MsoNormal">Best Regards,<o:p></o:p></p>
</div>
<div id="yMail_cursorElementTracker_1620981647955">
<p class="MsoNormal" style="margin-bottom:12.0pt">Strahil Nikolov<o:p></o:p></p>
<blockquote style="margin-left:0in;margin-top:5.0pt;margin-right:0in;margin-bottom:15.0pt">
<div>
<div>
<p class="MsoNormal"><span style="font-family:Roboto;color:#6D00F6">On Fri, May 14, 2021 at 6:55, Eric Robinson<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:Roboto;color:#6D00F6"><<a href="mailto:eric.robinson@psmnv.com">eric.robinson@psmnv.com</a>> wrote:<o:p></o:p></span></p>
</div>
</div>
<div style="border:none;border-left:solid #6D00F6 1.0pt;padding:0in 0in 0in 15.0pt;margin-top:7.5pt">
<div id="yiv6406426161">
<div>
<div>
<p class="yiv6406426161msonormal">I created the VDO volumes fine on the drbd devices, formatted them as xfs filesystems, created cluster filesystem resources, and the cluster us using them. But the cluster won’t fail over. Is there a VDO cluster RA out there
 somewhere already? <o:p></o:p></p>
<p class="yiv6406426161msonormal"> <o:p></o:p></p>
<p class="yiv6406426161msonormal"> <o:p></o:p></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt">
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="yiv6406426161msonormal"><b>From:</b> Strahil Nikolov <<a href="mailto:hunter86_bg@yahoo.com">hunter86_bg@yahoo.com</a>>
<br>
<b>Sent:</b> Thursday, May 13, 2021 10:07 PM<br>
<b>To:</b> Cluster Labs - All topics related to open-source clustering welcomed <<a href="mailto:users@clusterlabs.org">users@clusterlabs.org</a>>; Eric Robinson <<a href="mailto:eric.robinson@psmnv.com">eric.robinson@psmnv.com</a>><br>
<b>Subject:</b> Re: [ClusterLabs] DRBD + VDO HowTo?<o:p></o:p></p>
</div>
</div>
<p class="yiv6406426161msonormal"> <o:p></o:p></p>
<p class="yiv6406426161msonormal">For DRBD there is enough info, so let's focus on VDO.<o:p></o:p></p>
<div id="yiv6406426161yMail_cursorElementTracker_1620961478467">
<p class="yiv6406426161msonormal">There is a systemd service that starts all VDOs on the system. You can create the VDO once drbs is open for writes and then you can create your own systemd '.service' file which can be used as a cluster resource.<br>
<br>
<br>
Best Regards,<o:p></o:p></p>
</div>
<div id="yiv6406426161yMail_cursorElementTracker_1620961591508">
<p class="yiv6406426161msonormal">Strahil Nikolov<o:p></o:p></p>
</div>
<div id="yiv6406426161yMail_cursorElementTracker_1620961598346">
<p class="yiv6406426161msonormal"> <o:p></o:p></p>
<blockquote style="margin-left:0in;margin-top:5.0pt;margin-right:0in;margin-bottom:15.0pt">
<div>
<div>
<p class="yiv6406426161msonormal"><span style="font-family:"Arial",sans-serif;color:#6D00F6">On Fri, May 14, 2021 at 2:33, Eric Robinson</span><o:p></o:p></p>
</div>
<div>
<p class="yiv6406426161msonormal"><span style="font-family:"Arial",sans-serif;color:#6D00F6"><<a href="mailto:eric.robinson@psmnv.com" target="_blank">eric.robinson@psmnv.com</a>> wrote:</span><o:p></o:p></p>
</div>
</div>
<div style="border:none;border-left:solid #6D00F6 1.0pt;padding:0in 0in 0in 15.0pt;margin-top:7.5pt">
<div id="yiv6406426161">
<div>
<div>
<p class="yiv6406426161msonormal3">Can anyone point to a document on how to use VDO de-duplication with DRBD? Linbit has a blog page about it, but it was last updated 6 years ago and the embedded links are dead.<o:p></o:p></p>
<p class="yiv6406426161msonormal3"> <o:p></o:p></p>
<p class="yiv6406426161msonormal3"><a href="https://linbit.com/blog/albireo-virtual-data-optimizer-vdo-on-drbd/" target="_blank">https://linbit.com/blog/albireo-virtual-data-optimizer-vdo-on-drbd/</a><o:p></o:p></p>
<p class="yiv6406426161msonormal3"> <o:p></o:p></p>
<p class="yiv6406426161msonormal3">-Eric<o:p></o:p></p>
<p class="yiv6406426161msonormal3"> <o:p></o:p></p>
<p class="yiv6406426161msonormal3"> <o:p></o:p></p>
<p class="yiv6406426161msonormal3"> <o:p></o:p></p>
<p class="yiv6406426161msonormal3"> <o:p></o:p></p>
</div>
<p class="yiv6406426161msonormal3">Disclaimer : This email and any files transmitted with it are confidential and intended solely for intended recipients. If you are not the named addressee you should not disseminate, distribute, copy or alter this email. Any
 views or opinions presented in this email are solely those of the author and might not represent those of Physician Select Management. Warning: Although Physician Select Management has taken reasonable precautions to ensure no viruses are present in this email,
 the company cannot accept responsibility for any loss or damage arising from the use of this email or attachments.
<o:p></o:p></p>
</div>
</div>
<p class="yiv6406426161msonormal">_______________________________________________<br>
Manage your subscription:<br>
<a href="https://lists.clusterlabs.org/mailman/listinfo/users" target="_blank">https://lists.clusterlabs.org/mailman/listinfo/users</a><br>
<br>
ClusterLabs home: <a href="https://www.clusterlabs.org/" target="_blank">https://www.clusterlabs.org/</a><o:p></o:p></p>
</div>
</blockquote>
</div>
</div>
</div>
<div id="yiv6406426161yqtfd67470">
<p class="MsoNormal">Disclaimer : This email and any files transmitted with it are confidential and intended solely for intended recipients. If you are not the named addressee you should not disseminate, distribute, copy or alter this email. Any views or opinions
 presented in this email are solely those of the author and might not represent those of Physician Select Management. Warning: Although Physician Select Management has taken reasonable precautions to ensure no viruses are present in this email, the company
 cannot accept responsibility for any loss or damage arising from the use of this email or attachments.
<o:p></o:p></p>
</div>
</div>
</div>
</div>
</blockquote>
</div>
</div>
<p class="MsoNormal">Disclaimer : This email and any files transmitted with it are confidential and intended solely for intended recipients. If you are not the named addressee you should not disseminate, distribute, copy or alter this email. Any views or opinions
 presented in this email are solely those of the author and might not represent those of Physician Select Management. Warning: Although Physician Select Management has taken reasonable precautions to ensure no viruses are present in this email, the company
 cannot accept responsibility for any loss or damage arising from the use of this email or attachments.
<o:p></o:p></p>
</div>
</div>
Disclaimer : This email and any files transmitted with it are confidential and intended solely for intended recipients. If you are not the named addressee you should not disseminate, distribute, copy or alter this email. Any views or opinions presented in this
 email are solely those of the author and might not represent those of Physician Select Management. Warning: Although Physician Select Management has taken reasonable precautions to ensure no viruses are present in this email, the company cannot accept responsibility
 for any loss or damage arising from the use of this email or attachments.
</body>
</html>