<div dir="ltr">I knew it would be something simple and sensible :)<div><br></div><div>Thank you!<br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 31, 2017 at 2:38 PM, Ian Booth <span dir="ltr"><<a href="mailto:ian.booth@canonical.com" target="_blank">ian.booth@canonical.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Of the top of my head, you want to do something like:<br>
<br>
$ juju create-storage-pool ssd-disks maas tags=ssd<br>
$ juju deploy postgresql --storage pgdata=ssd-disks,32G<br>
<br>
The above assumes you have tagged in MAAS any SSD disks with the "ssd" tag. You<br>
can select whatever criteria you want and whatever tags you want to use.<br>
<br>
The deploy command above selects a MAAS node with a disk tagged "ssd" which is<br>
at least 32GB in size.<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
On 01/11/17 07:04, James Beedy wrote:<br>
> Trying to check out Juju storage capabilities on MAAS I found [0], but<br>
> can't quite wrap my head around what the syntax might be to make it work,<br>
> and what the extent of the capability of the Juju storage features are when<br>
> used with MAAS.<br>
><br>
> Re-reading [0], and looking for anything else I can find on Juju storage<br>
> every day for a week now thinking it may click or I might find the right<br>
> doc,  but it hasn't, and I haven't.<br>
><br>
> I filed a bug with juju/docs here [1] .........<br>
><br>
> Does anyone have an example of how to consume Juju storage using the MAAS<br>
> provider?<br>
><br>
> Thanks!<br>
><br>
> [0] <a href="https://jujucharms.com/docs/devel/charms-storage#maas-(maas)" rel="noreferrer" target="_blank">https://jujucharms.com/docs/<wbr>devel/charms-storage#maas-(<wbr>maas)</a><br>
> [1] <a href="https://github.com/juju/docs/issues/2251" rel="noreferrer" target="_blank">https://github.com/juju/docs/<wbr>issues/2251</a><br>
><br>
><br>
><br>
</div></div></blockquote></div><br></div></div></div>