<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.16.2">
</HEAD>
<BODY>
Ran that and yes the snapshot area filled up BEFORE the errors.  Let me know what I can do....<BR>
<BR>
MikeD<BR>
<BR>
On Thu, 2008-01-03 at 16:31 -0600, Douglas McClendon wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">Mike Dickson wrote:</FONT>
<FONT COLOR="#000000">> Guys,</FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">> I got a LiveCD + Persistence usb drive running from your scripts, but </FONT>
<FONT COLOR="#000000">> got I/O errors if I tried to do a yum update.</FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">> Before that I was able to vi test.txt and put some text in and it </FONT>
<FONT COLOR="#000000">> survived a reboot.</FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">> What can I do to address the i/o errors?</FONT>

<FONT COLOR="#000000">My first question/explanation would be that you filled up the snapshot </FONT>
<FONT COLOR="#000000">device.  This is quite possible, as a yum install involves creating </FONT>
<FONT COLOR="#000000">several copies of the actual files you end up installing.</FONT>

<FONT COLOR="#000000">The way to see if this is what is happening would be to have another </FONT>
<FONT COLOR="#000000">terminal open, and periodically watch the output of "dmsetup status". </FONT>
<FONT COLOR="#000000">As new blocks are written to the rootfs snapshot device, you will see </FONT>
<FONT COLOR="#000000">the snapshot filling up.</FONT>

<FONT COLOR="#000000">If you get these IO errors even before the snapshot fills up, please try </FONT>
<FONT COLOR="#000000">to post some more detailed output.</FONT>

<FONT COLOR="#000000">In general, as discussed there are pros and cons with this method, and a </FONT>
<FONT COLOR="#000000">unionfs method.  I do think there are ways to work around the cons of </FONT>
<FONT COLOR="#000000">this method in such a way that it is useful.  For instance, I'll play </FONT>
<FONT COLOR="#000000">around and see if I can prescribe a process of using yum that will get </FONT>
<FONT COLOR="#000000">it to create all of its intermediate files in a native tmpfs (/dev/shm </FONT>
<FONT COLOR="#000000">or the like) instead of the rootfs, so that they don't eat into the </FONT>
<FONT COLOR="#000000">snapshot space.  Likewise, now that I have my first actual tester, maybe </FONT>
<FONT COLOR="#000000">I'll figure out some other creative ways to improve the method (I have </FONT>
<FONT COLOR="#000000">some ideas I need to experiment with...).</FONT>

<FONT COLOR="#000000">Thanks,</FONT>

<FONT COLOR="#000000">-dmc</FONT>



<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">> MikeD</FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">> "Messsage from syslogd@localhost <<A HREF="mailto:syslogd@localhost">mailto:syslogd@localhost</A>> at</FONT>
<FONT COLOR="#000000">>   kernel: journal commit i/o error"</FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">> On Wed, 2008-01-02 at 04:07 -0800, Mike Dickson wrote:</FONT>
<FONT COLOR="#000000">>> I have some time now.  I am attempting this tonight and tomorrow.  I </FONT>
<FONT COLOR="#000000">>> will let you know.</FONT>
<FONT COLOR="#000000">>></FONT>
<FONT COLOR="#000000">>> MikeD</FONT>
<FONT COLOR="#000000">>></FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">> ------------------------------------------------------------------------</FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">> --</FONT>
<FONT COLOR="#000000">> Fedora-livecd-list mailing list</FONT>
<FONT COLOR="#000000">> <A HREF="mailto:Fedora-livecd-list@redhat.com">Fedora-livecd-list@redhat.com</A></FONT>
<FONT COLOR="#000000">> <A HREF="https://www.redhat.com/mailman/listinfo/fedora-livecd-list">https://www.redhat.com/mailman/listinfo/fedora-livecd-list</A></FONT>

</PRE>
</BLOCKQUOTE>
</BODY>
</HTML>