<br>
<div class="gmail_quote">On Wed, Feb 18, 2015 at 10:18 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 Wed, Feb 18, 2015 at 10:07:20AM -0500, Leonard Basuino wrote:<br>> > ><rescue> e2fsck -n /dev/sda1<br>> e2fsck 1.42.9 (28-Dec-2013)<br>> The filesystem size (according to the superblock) is 104388 blocks<br>> The physical size of the device is 103408 blocks<br>> Either the superblock or the partition table is likely to be corrupt!<br>> Abort? no<br>><br>> /boot contains a file system with errors, check forced.<br>> Pass 1: Checking inodes, blocks, and sizes<br>> Pass 2: Checking directory structure<br>> Pass 3: Checking directory connectivity<br>> Pass 4: Checking reference counts<br>> Pass 5: Checking group summary information<br>> /boot: 36/26104 files (2.8% non contiguous), 12201/104388 blocks<br><br>I would say this is (fairly) conclusive proof that the filesystem is<br>really truncated, and RHEL 6 is just ignoring that hard fact.  Note<br>that the code paths used by ext4 kernel and e2fsck (ie. e2fsprogs) are<br>quite different, and both think the filesystem is longer than the<br>containing device.<br><br>Sorry :-(<br><br></blockquote>
<div>No need to be sorry ... you have put me on a promising path ...</div>
<div>I was able to mount it after resizing the filesystem ... </div>
<div>within virt-rescue ...<br>><rescue> resize2fs -f /dev/sda1</div>
<div>then I was able to mount it with ...</div>
<div>guestmount -a <image> -m /dev/sda1 <mount point></div>
<div>Not ideal for my needs, but work in progress.</div>
<div> </div>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">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-p2v converts physical machines to virtual machines.  Boot with a<br>live CD or over the network (PXE) and turn machines into KVM guests.<br><a href="http://libguestfs.org/virt-v2v" target="_blank">http://libguestfs.org/virt-v2v</a><br></font></span></blockquote></div><br>