<br>
<div class="gmail_quote">On Wed, Feb 18, 2015 at 6:52 AM, Richard W.M. Jones <span dir="ltr"><<a href="mailto:rjones@redhat.com" target="_blank">rjones@redhat.com</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">On Tue, Feb 17, 2015 at 01:37:55PM -0500, Leonard Basuino wrote:<br>> I get the following debug info:<br>><br>> mount -o /dev/sda1 /<br>> [ <time> ] EXT4-fs (sda1): mounting ext2 file system using the ext4<br>> subsystem<br>> [ <time> ] EXT4-fs (sda1): bad geometry: block count 104388 exceeds size of<br>> device (103408 blocks)<br>> mount: wrong fs type, bad option, bad superblock on /dev/sda1<br><br>It looks as if the image is properly corrupt.  My suggestion<br>is to try 'virt-rescue' on it.<br><br></blockquote>
<div>virt-rescue --suggest -a <image></div>
<div> </div>
<div>Inspecting the virtual machine or disk image ...</div>
<div> </div>
<div>This disk contains one or more filesystems, but we don't recognize any</div>
<div>operating system.  You can use these mount commands in virt-rescue (at the</div>
<div>><rescue> prompt) to mount these filesystems.</div>
<div> </div>
<div># /dev/sda1 has type 'ext2'</div>
<div>mount /dev/sda1 /sysroot</div>
<div> </div>
<div>So I tried ...</div>
<div> </div>
<div>><rescue> mount /dev/sda1 /sysroot</div>
<div>[<time>] EXT4-fs (sda1): mounting ext2 filesystem using the ext4 subsystem</div>
<div>[<time>] EXT4-fs (sda1): bad geometry: block count 104388 exceeds size of device (103408 blocks)</div>
<div>mount: wrong fs type, bad option, bad superblock on /dev/sda1,</div>
<div>           missing codepage or helper program, or other error</div>
<div> </div>
<div>          In some cases useful info is found in syslog - try</div>
<div>          dmesg | tail</div>
<div> </div>
<div>I don't think the image is corrupt because a colleague is able to mount it with guestfish on a RHEL 6 box.</div>
<div> </div>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">> This has me wondering because the debug messages from guestfish -v -x<br>> indicate it is mouting ext2 with ext4.<br>> EXT4-fs (sdb): mounting ext2 filesystem using the ext4 subsystem<br><br>This is just the way that RHEL 7 works. ie. CONFIG_EXT4_USE_FOR_EXT23=y<br>is now always used.  <a href="http://lwn.net/Articles/378913/" target="_blank">http://lwn.net/Articles/378913/</a><br><br>Rich.<br><span class="HOEnZb"><font color="#888888"><br>--<br>Richard Jones, Virtualization Group, Red Hat <a href="http://people.redhat.com/~rjones" target="_blank">http://people.redhat.com/~rjones</a><br>Read my programming and virtualization blog: <a href="http://rwmj.wordpress.com/" target="_blank">http://rwmj.wordpress.com</a><br>virt-top is 'top' for virtual machines.  Tiny program with many<br>powerful monitoring features, net stats, disk stats, logging, etc.<br><a href="http://people.redhat.com/~rjones/virt-top" target="_blank">http://people.redhat.com/~rjones/virt-top</a><br></font></span></blockquote></div><br>