<div dir="ltr"><div>Greetings,</div><div>> probably I must use the same backend name for both and a cinder type
associated to it and the scheduler will use the backend with more space
available ?</div><div>I'm not familiar with your deployment but there's a example in the documentation that I think It may help you:<br></div><div><br></div><div>In a multiple-storage back-end configuration, each back end has a name
(<code><span>volume_backend_name</span></code>). Several back ends can have the same name.
In that case, the scheduler properly decides which back end the volume
has to be created in. i.e [1] In this configuration, <code><span>lvmdriver-1</span></code> and <code><span>lvmdriver-2</span></code> have the same
<code><span>volume_backend_name</span></code>. If a volume creation requests the <code><span>LVM</span></code>
back end name, the scheduler uses the capacity filter scheduler to choose
the most suitable driver, which is either <code><span>lvmdriver-1</span></code> or <code><span>lvmdriver-2</span></code>.
The capacity filter scheduler is enabled by default. The next section
provides more information. In addition, this example presents a
<code><span>lvmdriver-3</span></code> back end.</div><div><br></div><div>Cheers,</div><div>Sofia<br></div><div>[1] <a href="https://docs.openstack.org/cinder/xena/admin/blockstorage-multi-backend.html" target="_blank">https://docs.openstack.org/cinder/xena/admin/blockstorage-multi-backend.html</a></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Nov 11, 2021 at 4:25 PM Ignazio Cassano <<a href="mailto:ignaziocassano@gmail.com" target="_blank">ignaziocassano@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">Hello again, probably I must use the same backend name for both and a cinder type associated to it and the scheduler will use the backend with more space available ?<div dir="auto">Ignazio</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il Gio 11 Nov 2021, 20:00 Ignazio Cassano <<a href="mailto:ignaziocassano@gmail.com" target="_blank">ignaziocassano@gmail.com</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">Hello All, <div dir="auto">I read that capacity filters for cinder is the default, so, if I understood well, a volume is placed on the backend where more space is available. </div><div dir="auto">Since my two backends are on storage with same features, I wonder if I must specify a default storage backend in cinder.conf or not.</div><div dir="auto">Must I create a cinder volume without cinder type and scheduler evaluate where there is more space available?</div><div dir="auto">Thanks </div><div dir="auto">Ignazio</div><div dir="auto"><br></div><div dir="auto"><br></div></div>
</blockquote></div>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div>
<p style="font-weight:bold;margin:0px;padding:0px;font-size:14px;text-transform:capitalize;font-family:"RedHatText",sans-serif">
<font size="1"><span>Sofía</span> <span>Enriquez</span><span style="color:rgb(170,170,170);margin:0px"></span>
</font></p><font size="1">
</font><p style="font-weight:normal;margin:0px 0px 4px;text-transform:capitalize;font-family:"RedHatText",sans-serif"><font size="1">she/her</font></p><font size="1">
</font><p style="font-weight:normal;margin:0px;text-transform:capitalize;font-family:"RedHatText",sans-serif">
<font size="1"><span>Software Engineer</span></font>
</p><font size="1">
</font><p style="font-weight:normal;margin:0px 0px 4px;font-family:"RedHatText",sans-serif">
<font size="1"><a style="color:rgb(0,136,206);margin:0px;text-decoration:none;font-family:"RedHatText",sans-serif" href="https://www.redhat.com" target="_blank">Red Hat <span>PnT</span></a></font>
</p><font size="1"><span></span></font><p style="font-weight:normal;margin:0px;font-family:"RedHatText",sans-serif"><font size="1"><span><span>IRC: @enriquetaso</span></span></font>
</p><font size="1">
</font><div style="font-weight:normal;font-size:12px;font-family:"RedHatText",sans-serif;margin-bottom:8px"><font size="1">
</font><div><font size="1">
<a href="https://twitter.com/redhat" title="twitter" style="background:transparent url("https://marketing-outfit-prod-images.s3-us-west-2.amazonaws.com/3780bd4ede961ef3cd4108b8c0e80186/web-icon-twitter.png") no-repeat scroll 0px 50%/13px;text-decoration:none;color:rgb(0,0,0);display:inline-block;line-height:20px;padding-left:13px" target="_blank"> <span style="margin-left:2px">@RedHat</span> </a> <a href="https://www.linkedin.com/company/red-hat" title="LinkedIn" style="background:transparent url("https://marketing-outfit-prod-images.s3-us-west-2.amazonaws.com/8d3507e3c6b6c9ad10e301accf1a4af0/web-icon-linkedin.png") no-repeat scroll 0px 50%/12px;text-decoration:none;color:rgb(0,0,0);display:inline-block;line-height:20px;padding-left:12px;margin:0px 4px 0px 3px;padding-top:1px" target="_blank"> <span style="margin-left:4px">Red Hat</span> </a> </font><a href="https://www.facebook.com/RedHatInc" title="Facebook" style="background:transparent url("https://marketing-outfit-prod-images.s3-us-west-2.amazonaws.com/220b85e2f100025e94cb1bcd993bd51d/web-icon-facebook.png") no-repeat scroll 0px 50%/11px;text-decoration:none;color:rgb(0,0,0);display:inline-block;line-height:20px;padding-left:13px" target="_blank"><font size="1"> <span>Red Hat</span></font> </a>
</div>
</div>
<div style="margin-top:12px">
<table border="0">
<tbody><tr>
<td width="100px"><a href="https://www.redhat.com" target="_blank"> <img src="https://marketing-outfit-prod-images.s3-us-west-2.amazonaws.com/f5445ae0c9ddafd5b2f1836854d7416a/Logo-RedHat-Email.png" width="90" height="auto"></a> </td>
</tr>
</tbody></table>
</div>
</div><table border="0"><tbody><tr><td width="100px"><br></td>
</tr></tbody></table>
</div></div></div></div></div></div></div></div></div></div></div></div></div></div>