<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hello Rich,</p>
    <p>thank you for your information.</p>
    <p>There are 3 Files attached to this E-Mail.</p>
    <p>1. Output of libguestfs-test-tool with Result  = OK</p>
    <p>2. guestfish session with the first Server mail019001. There are
      problems with vmail-vg and vmail-lv.</p>
    <p>This Server is actual productive. <br>
    </p>
    <p>3. guestfish session with the second server mail019000-backup.
      There are problems with mail-vg and mail-lv.</p>
    <p>This server is newly installed with comparable VGs and LVs except
      of Partitions on /dev/sdb and /dev/sdc.</p>
    <p><br>
    </p>
    <p>The Backupserver, where the images were restored from Bareos, is
      a Ubuntu 20.04 LTS with actual Updates and Upgrades. <br>
    </p>
    <p>root@b019001:/restore/mail019001/mail019001-restore-05# cat
      /etc/issue<br>
      Ubuntu 20.04.2 LTS \n \l<br>
      <br>
      root@b019001:/restore/mail019001/mail019001-restore-05# uname -a<br>
      Linux b019001 5.4.0-73-generic #82-Ubuntu SMP Wed Apr 14 17:39:42
      UTC 2021 x86_64 x86_64 x86_64 GNU/Linux<br>
      root@b019001:/restore/mail019001/mail019001-restore-05# <br>
      <br>
    </p>
    <p>libguestfs was installed with "apt install libguestfs-tools".</p>
    <div class="moz-signature">
      <meta charset="UTF-8">
      <div align="left"><br>
        <table width="557" cellpadding="0" border="0">
          <tbody>
            <tr>
              <td class="auto-style6" width="242" height="20">Mit
                freundlichen Grüßen</td>
            </tr>
            <tr>
              <td class="auto-style6" width="242" height="20">ppa. Olaf
                Gottschalk</td>
            </tr>
            <tr>
              <td class="auto-style4" width="242"> </td>
            </tr>
          </tbody>
        </table>
        <table class="auto-style7" cellpadding="0" border="0">
          <tbody>
            <tr>
              <td class="auto-style1"><font style="font-weight: bold"
                  size="4">raw Rechen-Anlage West GmbH</font></td>
              <td class="auto-style1"><br>
              </td>
              <td class="auto-style1"> </td>
              <td class="auto-style1"> </td>
            </tr>
            <tr>
              <td class="auto-style1"><font size="3">Postfach 1120 |
                  52368 Kreuzau</font></td>
              <td class="auto-style1"><br>
              </td>
              <td class="auto-style1"> </td>
              <td class="auto-style1"> </td>
            </tr>
            <tr>
              <td class="auto-style1"><br>
              </td>
              <td class="auto-style1"><br>
              </td>
              <td class="auto-style1"> </td>
              <td class="auto-style1"> </td>
            </tr>
          </tbody>
        </table>
        <table class="auto-style7" cellspacing="0" cellpadding="2"
          border="0">
          <tbody>
            <tr>
              <td class="auto-style1"><font style="font-weight: bold"
                  size="2">Empfang:</font></td>
              <td class="auto-style1"><font size="2"><a href="tel:+49
                    2421 9555-0">+49 2421 9555-0</a> | <a
                    href="mailto:raw@raw.de">raw@raw.de</a></font></td>
              <td class="auto-style1"><font style="font-weight: bold"
                  size="2">Sitz der Gesellschaft:</font></td>
              <td class="auto-style3"><font size="2"> Am Burgholz 33-35
                  | 52372 Kreuzau-Stockheim</font></td>
            </tr>
            <tr>
              <td class="auto-style1"><font style="font-weight: bold"
                  size="2">Hotline:</font></td>
              <td class="auto-style1"><font size="2"><a href="tel:+49
                    2421 9555-55">+49 2421 9555-55</a> | <a
                    href="mailto:hotline@raw.de">hotline@raw.de</a></font></td>
              <td class="auto-style1"><font style="font-weight: bold"
                  size="2">Geschäftsführer:</font></td>
              <td class="auto-style2"><font size="2">Dipl.-Ing.
                  Alexander Kutsch</font></td>
            </tr>
            <tr>
              <td class="auto-style1"><font style="font-weight: bold"
                  size="2">Internet:</font></td>
              <td class="auto-style1"><font size="2"><a
                    href="https://www.raw.de" target="_blank">www.raw.de</a></font></td>
              <td class="auto-style1"><font style="font-weight: bold"
                  size="2">Handelsregister:</font></td>
              <td class="auto-style3"><font size="2">Amtsgericht Düren
                  HRB 134</font></td>
            </tr>
            <tr>
              <td class="auto-style1"><br>
              </td>
              <td class="auto-style1"><br>
              </td>
              <td class="auto-style1"><font style="font-weight: bold"
                  size="2">UST- ID:</font></td>
              <td class="auto-style3"><font size="2">DE 122 278 535</font></td>
            </tr>
          </tbody>
        </table>
        <table cellpadding="0" border="0">
          <tbody>
            <tr>
              <td><span class="auto-style1"><font size="1"> Der Inhalt
                    dieser E-Mail ist ausschließlich für den
                    bezeichneten Adressaten bestimmt. Wenn Sie nicht der
                    vorgesehene Adressat dieser E-Mail oder dessen
                    Vertreter sein sollten, so beachten Sie bitte, dass
                    jede Form der Kenntnisnahme, Veröffentlichung,
                    Vervielfältigung oder Weitergabe des Inhalts dieser
                    E-Mail unzulässig sind. Wir bitten Sie, sich in
                    diesem Fall mit dem Absender der E-Mail in
                    Verbindung zu setzen. Aussagen gegenüber dem
                    Adressaten unterliegen den Regelungen des
                    zugrundeliegenden Angebotes bzw. Auftrages,
                    insbesondere den allgemeinen Auftragsbedingungen und
                    der individuellen Haftungsvereinbarung. Der Inhalt
                    dieser E-Mail ist nur rechtsverbindlich, wenn er
                    unsererseits durch einen Brief entsprechend
                    bestätigt wird. Die Versendung von E-Mails an uns
                    hat keine fristwahrende Wirkung. Wir möchten Sie
                    außerdem darauf hinweisen, dass die Kommunikation
                    per E-Mail über das Internet unsicher ist, da für
                    unberechtigte Dritte grundsätzlich die Möglichkeit
                    der Kenntnisnahme und Manipulation besteht.</font></span>
              </td>
            </tr>
          </tbody>
        </table>
      </div>
    </div>
    <div class="moz-cite-prefix">Am 18.05.21 um 11:37 schrieb Richard
      W.M. Jones:<br>
    </div>
    <blockquote type="cite" cite="mid:20210518093759.GH26415@redhat.com">
      <pre class="moz-quote-pre" wrap="">On Tue, May 18, 2021 at 09:36:12AM +0200, Gottschalk wrote:
</pre>
      <blockquote type="cite">
        <pre class="moz-quote-pre" wrap="">Hello Mr. Jones,

we use guestfish 1.4
</pre>
      </blockquote>
      <pre class="moz-quote-pre" wrap="">
This version was released 11 years ago??

</pre>
      <blockquote type="cite">
        <pre class="moz-quote-pre" wrap="">we have an emergency of Data Recovery. We restored a ESXi 6.7 VMware-Image and
wanted to read the data inside with guestfish.

The structure of the vm is based on LVM.

The first disk with the os inside a LV can be mounted correctly.

Two disks a 400GB are covered in a Volumegroup. There is one logical Volume
with 800GB in this VG.

Guestfish does not read the filesystem in this LV.

I tried

</pre>
        <blockquote type="cite">
          <pre class="moz-quote-pre" wrap=""><fs>add disk1.vmdk
</pre>
        </blockquote>
        <pre class="moz-quote-pre" wrap="">
</pre>
        <blockquote type="cite">
          <pre class="moz-quote-pre" wrap=""><fs>add disk2.vmdk
</pre>
        </blockquote>
        <pre class="moz-quote-pre" wrap="">
</pre>
        <blockquote type="cite">
          <pre class="moz-quote-pre" wrap=""><fs>add disk3.vmdk
</pre>
        </blockquote>
        <pre class="moz-quote-pre" wrap="">
</pre>
        <blockquote type="cite">
          <pre class="moz-quote-pre" wrap=""><fs>run
</pre>
        </blockquote>
        <pre class="moz-quote-pre" wrap="">
</pre>
        <blockquote type="cite">
          <pre class="moz-quote-pre" wrap=""><fs>list-devices
</pre>
        </blockquote>
        <pre class="moz-quote-pre" wrap="">/dev/sda
/dev/sdb
/dev/sdc

</pre>
        <blockquote type="cite">
          <pre class="moz-quote-pre" wrap=""><fs>list-partitions
</pre>
        </blockquote>
        <pre class="moz-quote-pre" wrap="">/dev/sda1
On sdb and sdc there are no partitions. The LV resides directly on these disks.
I simulated  this with partitioned disks and identically result.

behavior without partitions on sdb and sdc
</pre>
        <blockquote type="cite">
          <pre class="moz-quote-pre" wrap=""><fs> list-filesystems
</pre>
        </blockquote>
        <pre class="moz-quote-pre" wrap="">/dev/mailxxx-vg/root: ext4
/dev/mailxxx-vg/swap_1: swap
/dev/vmail-vg/vmail-lv: unknown

behavior with partitions on sdb and sdc
</pre>
        <blockquote type="cite">
          <pre class="moz-quote-pre" wrap=""><fs> list-filesystems
</pre>
        </blockquote>
        <pre class="moz-quote-pre" wrap="">libguestfs: error: list_filesystems: parted exited with status 1: Error: Can't
have a partition outside the disk!
</pre>
        <blockquote type="cite">
          <pre class="moz-quote-pre" wrap=""><fs>
</pre>
        </blockquote>
        <pre class="moz-quote-pre" wrap="">

</pre>
        <blockquote type="cite">
          <pre class="moz-quote-pre" wrap=""><fs>mount /dev/mailxxx-vg/root /
</pre>
        </blockquote>
        <pre class="moz-quote-pre" wrap="">works fine
</pre>
        <blockquote type="cite">
          <pre class="moz-quote-pre" wrap=""><fs>mount/dev/vmail-vg/vmail-lv /
</pre>
        </blockquote>
        <pre class="moz-quote-pre" wrap="">libguestfs: error: mount: mount_stub: /dev/vmail-vg/vmail-lv: expecting a
device name

How can i get access to this LV?
Can you help me please?
Thank you very much.
</pre>
      </blockquote>
      <pre class="moz-quote-pre" wrap="">
I would suggest enabling debugging to start with, which should give
you more information about what is actually going on.  This section of
the FAQ will explain how to do that:

<a class="moz-txt-link-freetext" href="https://libguestfs.org/guestfs-faq.1.html#debugging-libguestfs">https://libguestfs.org/guestfs-faq.1.html#debugging-libguestfs</a>

Rich.

</pre>
    </blockquote>
  </body>
</html>