<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hello Openstack-Discuss,</p>
    <p>after some digging I found out that cinder learned to resize
      attached (in-use) volumes quite a while ago with the introduction
      <br>
      of the initial "extend 'in-use' volume" feature: <br>
      <a class="moz-txt-link-freetext" href="https://review.opendev.org/c/openstack/cinder/+/454287/">https://review.opendev.org/c/openstack/cinder/+/454287/</a></p>
    <p>The support was then extended to also cover Ceph RBD backed
      volumes with:<br>
      <a class="moz-txt-link-freetext" href="https://review.opendev.org/c/openstack/nova/+/613039/">https://review.opendev.org/c/openstack/nova/+/613039/</a><br>
    </p>
    <p>Since this is only about the cinder part, I was wondering if nova
      would ever find out and would actively rescan the device / volume
      and quintessentially present an increased new size to the guest.
      Apparently this is where a certain <span id="output">volume-extended
        event</span> comes into play:
      <a class="moz-txt-link-freetext" href="https://review.opendev.org/c/openstack/nova/+/454322/">https://review.opendev.org/c/openstack/nova/+/454322/</a> that is to
      be emitted by cinder when a volume had been extened.<br>
    </p>
    <p>I then went head and tried this with the openstack cli (as
      Horizon does not seem to support / offer to resize in-use volumes.<br>
      I run Openstack Train with Ceph RBD as storage. First I ran into
      an issue with the openstack cli (<a class="external-link"
        href="https://bugs.launchpad.net/cinder/+bug/1871759/comments/2"
        target="_blank" rel="nofollow noopener">https://bugs.launchpad.net/cinder/+bug/1871759/comments/2</a>)
      but using <br>
    </p>
    <p>  cinder extend $volumeid $newsize</p>
    <p>I was able to resize in-use volumes just fine.</p>
    <p>The only thing missing was the propagation to the guest. I played
      around with SCSI rescans, but that did not work, reboots also
      failed to do anyting in this regards. Stopping and starting the VM
      did work, but why having the capability to online-resize an
      attached volume when not being able to resize the guest volume as
      well?<br>
    </p>
    <p>Apparently there seems to be an old and somewhat similar
      observation / bug with
      <a class="moz-txt-link-freetext" href="https://bugs.launchpad.net/nova/+bug/1369465">https://bugs.launchpad.net/nova/+bug/1369465</a></p>
    <p><br>
    </p>
    <p><br>
    </p>
    <p>So I was simply wondering if this is expected to be working?<br>
      Are there any special settings / options I need to set to enable
      this feature?</p>
    <p><br>
    </p>
    <p><br>
    </p>
    <p>Thanks and with kind regards</p>
    <p><br>
    </p>
    <p>Christian<br>
    </p>
  </body>
</html>