<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
My understanding of running e2fsck is that it should only be done on an
unmounted file system (or setting to read-only, but I've never actually
done this).&nbsp; I've only ever run it on hda (usually a hard disk or flash
drive) or sda (usually a usb stick) after a umount.&nbsp; For me to e2fsck
on the build machine means that I'm applying it to files on a mounted
file system, not a complete unmounted drive.&nbsp; This is where I'm getting
confused.<br>
<br>
I'm obviously lacking some fundermental understanding of what e2fsck
does.&nbsp; I know to run it when advised to after repartitionning (entire)
drives with fdisk, and if I don't then sooner or later, inode errors
start popping up, and data gets lost.&nbsp; I'm getting the advisory on
start-up and as I'd expect, I'm getting inode errors on occasion.&nbsp; What
I can't seem to do is use the fix I'd normally apply.<br><br>&gt; Date: Mon, 13 Sep 2010 10:20:31 +0200<br>&gt; From: thomas.petazzoni@free-electrons.com<br>&gt; To: buildroot@busybox.net<br>&gt; Subject: Re: [Buildroot] EXT2-fs error<br>&gt; <br>&gt; Hello,<br>&gt; <br>&gt; On Mon, 13 Sep 2010 07:51:55 +0000<br>&gt; Johnny Beardsmore &lt;jny0@hotmail.com&gt; wrote:<br>&gt; <br>&gt; &gt; 1) e2fsck the rootfs file on the build machine.  This creates an error thus:<br>&gt; <br>&gt; Yann Morin has already told you that you are trying to run e2fsck on a<br>&gt; tarball. A tarball is not an ext2 image, so obviously it cannot work.<br>&gt; <br>&gt; What you're doing is exactly as if your trying to run an image<br>&gt; verification program on a text document. It doesn't work because it<br>&gt; makes no sense to try it in the first place.<br>&gt; <br>&gt; Regards,<br>&gt; <br>&gt; Thomas<br>&gt; -- <br>&gt; Thomas Petazzoni, Free Electrons<br>&gt; Kernel, drivers, real-time and embedded Linux<br>&gt; development, consulting, training and support.<br>&gt; http://free-electrons.com<br>&gt; _______________________________________________<br>&gt; buildroot mailing list<br>&gt; buildroot@busybox.net<br>&gt; http://lists.busybox.net/mailman/listinfo/buildroot<br>                                               </body>
</html>