<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p><br>
    </p>
    <br>
    <div class="moz-cite-prefix">Le 06/12/2017 à 15:56, Maor Lipchuk a
      écrit :<br>
    </div>
    <blockquote type="cite"
cite="mid:CAJ1JNOfreVDtuZQaxMfpTaAi=gAmnOZzpLcpW8dkXmJBA9O6zg@mail.gmail.com">
      <div dir="ltr"><br>
        <div class="gmail_extra"><br>
          <div class="gmail_quote">On Wed, Dec 6, 2017 at 12:30 PM,
            Nicolas Ecarnot <span dir="ltr">&lt;<a
                href="mailto:nicolas@ecarnot.net" target="_blank"
                moz-do-not-send="true">nicolas@ecarnot.net</a>&gt;</span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0px 0px 0px
              0.8ex;border-left:1px solid
              rgb(204,204,204);padding-left:1ex"><span class="gmail-">Le
                06/12/2017 à 11:21, Nathanaël Blanchet a écrit :<br>
              </span>
              <blockquote class="gmail_quote" style="margin:0px 0px 0px
                0.8ex;border-left:1px solid
                rgb(204,204,204);padding-left:1ex"><span class="gmail-">
                  Hi all,<br>
                  <br>
                  I'm about to lose one very important vm. I shut down
                  this vm for maintenance and then I moved the four
                  disks to a new created lun. This vm has 2 snapshots.<br>
                  <br>
                  After successful move, the vm refuses to start with
                  this message:<br>
                  <br>
                  Bad volume specification {u'index': 0, u'domainID':
                  u'961ea94a-aced-4dd0-a9f0-266c<wbr>e1810177',
                  'reqsize': '0', u'format': u'cow', u'bootOrder': u'1',
                  u'discard': False, u'volumeID':
                  u'a0b6d5cb-db1e-4c25-aaaf-1bbe<wbr>e142c60b',
                  'apparentsize': '<a href="tel:%28214%29%20748-3648"
                    value="+12147483648" target="_blank"
                    moz-do-not-send="true">2147483648</a>', u'imageID':
                  u'4a95614e-bf1d-407c-aa72-2df4<wbr>14abcb7a',
                  u'specParams': {}, u'readonly': u'false', u'iface':
                  u'virtio', u'optional': u'false', u'deviceId':
                  u'4a95614e-bf1d-407c-aa72-2df4<wbr>14abcb7a',
                  'truesize': '<a href="tel:%28214%29%20748-3648"
                    value="+12147483648" target="_blank"
                    moz-do-not-send="true">2147483648</a>', u'poolID':
                  u'48ca3019-9dbf-4ef3-98e9-0810<wbr>5d396350',
                  u'device': u'disk', u'shared': u'false',
                  u'propagateErrors': u'off', u'type': u'disk'}.<br>
                  <br>
                  I tried to merge the snaphots, export , clone from
                  snapshot, copy disks, or deactivate disks and every
                  action fails when it is about disk.<br>
                  <br>
                  I began to dd lv group to get a new vm intended to a
                  standalone libvirt/kvm, the vm quite boots up but it
                  is an outdated version before the first snapshot.
                  There is a lot of disks when doing a "lvs | grep
                  961ea94a" supposed to be disks snapshots. Which of
                  them must I choose to get the last vm before shutting
                  down? I'm not used to deal snapshot with
                  virsh/libvirt, so some help will be much appreciated.<br>
                </span></blockquote>
            </blockquote>
            <div><br>
            </div>
            <div>The disks which you want to copy should contain the
              entire volume chain.</div>
            <div>Based on the log you mentioned, It looks like this
              image is problematic:</div>
            <div><br>
            </div>
            <div>  storage id: '961ea94a-aced-4dd0-a9f0-266c<wbr>e1810177',</div>
            <div>  imageID': u'4a95614e-bf1d-407c-aa72-2df4<wbr>14abcb7a<br>
            </div>
            <div>  volumeID': u'a0b6d5cb-db1e-4c25-aaaf-1bbe<wbr>e142c60b'</div>
            <div><br>
            </div>
            <div>What if you try to deactivate this image and try to run
              the VM, will it run?</div>
          </div>
        </div>
      </div>
    </blockquote>
    I already tried to do what you suggest, but it is the same, and more
    this disk is part of a volume groupe, so I can't boot the vm without
    it.<br>
    <blockquote type="cite"
cite="mid:CAJ1JNOfreVDtuZQaxMfpTaAi=gAmnOZzpLcpW8dkXmJBA9O6zg@mail.gmail.com">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote">
            <div><br>
            </div>
            <div><br>
            </div>
            <div> </div>
            <blockquote class="gmail_quote" style="margin:0px 0px 0px
              0.8ex;border-left:1px solid
              rgb(204,204,204);padding-left:1ex">
              <blockquote class="gmail_quote" style="margin:0px 0px 0px
                0.8ex;border-left:1px solid
                rgb(204,204,204);padding-left:1ex"><span class="gmail-">
                  <br>
                  Is there some unknown command to recover this vm into
                  ovirt?<br>
                  <br>
                  Thank you in advance.<br>
                  <br>
                  <br>
                </span></blockquote>
            </blockquote>
            <div><br>
            </div>
            <div><br>
            </div>
            <div><br>
            </div>
            <div> </div>
            <blockquote class="gmail_quote" style="margin:0px 0px 0px
              0.8ex;border-left:1px solid
              rgb(204,204,204);padding-left:1ex">
              <blockquote class="gmail_quote" style="margin:0px 0px 0px
                0.8ex;border-left:1px solid
                rgb(204,204,204);padding-left:1ex"><span class="gmail-">
                  <br>
                </span>
                ______________________________<wbr>_________________<br>
                Users mailing list<br>
                <a href="mailto:Users@ovirt.org" target="_blank"
                  moz-do-not-send="true">Users@ovirt.org</a><br>
                <a href="http://lists.ovirt.org/mailman/listinfo/users"
                  rel="noreferrer" target="_blank"
                  moz-do-not-send="true">http://lists.ovirt.org/mailman<wbr>/listinfo/users</a><br>
                <br>
              </blockquote>
              <br>
              Beside specific oVirt answers, did you try to get
              informations about the snapshot tree with qemu-img info
              --backing-chain on the adequate /dev/... logical volume?<br>
              As you know how to dd from LVs, you could extract every
              needed snapshots files and rebuild your VM outside of
              oVirt.<br>
              Then take time to re-import it later and safely.<span
                class="gmail-HOEnZb"><font color="#888888"><br>
                  <br>
                  -- <br>
                  Nicolas ECARNOT<br>
                  ______________________________<wbr>_________________<br>
                  Users mailing list<br>
                  <a href="mailto:Users@ovirt.org" target="_blank"
                    moz-do-not-send="true">Users@ovirt.org</a><br>
                  <a
                    href="http://lists.ovirt.org/mailman/listinfo/users"
                    rel="noreferrer" target="_blank"
                    moz-do-not-send="true">http://lists.ovirt.org/mailman<wbr>/listinfo/users</a><br>
                </font></span></blockquote>
          </div>
          <br>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@ovirt.org">Users@ovirt.org</a>
<a class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5         
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
<a class="moz-txt-link-abbreviated" href="mailto:blanchet@abes.fr">blanchet@abes.fr</a> </pre>
  </body>
</html>