<div dir="ltr">Hi,<div><br></div><div>I'm experiencing a weird behavior when tried to use guestmount with a XFS formatted volume. I have created a RHEL 8 virtual machine using libvirt. I have retrieved the disk image on a RHEL 7.7 server to mount the image root filesystem and explore it.</div><div><br></div><div>The command returns an error message:</div><div><br></div><div><font face="monospace"># guestmount -a /disks/jamesdream.qcow2 -m /dev/sda1 /mnt/<br>libguestfs: error: mount_options: mount exited with status 32: mount: wrong fs type, bad option, bad superblock on /dev/sda1,<br>       missing codepage or helper program, or other error<br><br>       In some cases useful info is found in syslog - try<br>       dmesg | tail or so.<br>guestmount: ‘/dev/sda1’ could not be mounted.<br>guestmount: Did you mean to mount one of these filesystems?<br>guestmount:  /dev/sda1 (xfs)<br>guestmount:    /dev/rhel/root (xfs)<br>guestmount:       /dev/rhel/swap (swap)</font><br><div><br></div><div>I have also run the same command with -x and -v options and the log is attached.</div><div><br></div><div>Seeing that it's not working on RHEL 7, I've tried the same command on another RHEL 8.1 machine and it works. Looking at libguestfs-tools package version, it appears that the package on RHEL 7.7 (1.40.2-5.el7_7.2) is more recent than on RHEL 8.1 (1.38.4-14.module+el8.1.0+4066+0f1aadab). Is that normal ?</div><div><br></div><div>Thanks for your help.</div><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>
        <p style="font-weight:bold;margin:0px;padding:0px;text-transform:capitalize;font-family:"RedHatText",sans-serif">
          <font size="2"><span>Fabien</span> <span>Dupont</span><span style="color:rgb(170,170,170);margin:0px">, RHCA</span></font>
        </p>
        
        <p style="font-weight:normal;margin:0px;text-transform:capitalize;font-family:"RedHatText",sans-serif">
          <font size="2"><span>Principal Software Engineer</span></font>
        </p>
        <p style="font-weight:normal;margin:0px 0px 4px;font-family:"RedHatText",sans-serif">
          <font size="2"><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 - Migration Engineering<span></span></a></font>
        </p>
    <div style="margin-bottom:4px">
      
      
    </div>
    
    
    

    <div style="margin-top:12px">
      <table border="0">
        <tbody><tr>
          <td width="100px"><a href="https://red.ht/sig" target="_blank"> <img src="https://static.redhat.com/libs/redhat/brand-assets/latest/corp/logo.png" width="90" height="auto"></a> </td>
          <td style="font-weight:normal;font-size:12px">
            <div><a href="https://redhat.com/summit" style="text-decoration:none" target="_blank"><img style="outline:currentcolor none 0px" src="https://static.redhat.com/libs/redhat/brand-assets/latest/events/red-hat-summit.png" width="53px" height="auto"></a></div>
          </td>
        </tr>
      </tbody></table>
    </div>

  </div></div></div></div></div>