<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>Unclean I tell you, unclean...</title>
        <description> About once every six months the power goes off long enough that even my UPS gives up, which causes the DebianDock(dockstar with debian) to just get cut off. Problem is, the last few times this has happened, it will not reboot. The only way I can fix this is boot my main PC in debian mount the USB key an do a fsck to fix the filesystem. I think it said something about unclean prior to the fsck. I try to login about once a week and just do a sync, but I guess that is not enough. Is this normal? What can I do to help a good reboot after power lose?

It's just a bit more important now since I host my website itself of my pogoplug vs just using it for fun like I was a few months before. 

Glen Lalonde
www.binarysearchtree.com

(Just noticed another thread on this issue, but I don't see a way to delete this one...sorry)</description>
        <link>http://forum.doozan.com/read.php?2,5631,5631#msg-5631</link>
        <lastBuildDate>Sat, 18 May 2013 12:37:39 -0400</lastBuildDate>
        <generator>Phorum 5.2.18</generator>
        <item>
            <guid>http://forum.doozan.com/read.php?2,5631,6238#msg-6238</guid>
            <title>Re: Unclean I tell you, unclean...</title>
            <link>http://forum.doozan.com/read.php?2,5631,6238#msg-6238</link>
            <description><![CDATA[ It's not only the wear issue, but writes are generally slow to flash media, so using journaling can also slow down the 'o' in i/o.  On the other hand, the downside of ext2 is that this file system is more fragile.]]></description>
            <dc:creator>restamp</dc:creator>
            <category>Debian</category>
            <pubDate>Sat, 12 Nov 2011 02:17:00 -0500</pubDate>
        </item>
        <item>
            <guid>http://forum.doozan.com/read.php?2,5631,6237#msg-6237</guid>
            <title>Re: Unclean I tell you, unclean...</title>
            <link>http://forum.doozan.com/read.php?2,5631,6237#msg-6237</link>
            <description><![CDATA[ I'm thinking that ext2 is better to use on a USB flash drive...  I have an SATA drive attached via USB ...  so that's why I chose ext3 ....  ext3 has journaling enabled... but the way writes are done, it can wear a USB flash drive out more quickly...  YMMV]]></description>
            <dc:creator>davygravy</dc:creator>
            <category>Debian</category>
            <pubDate>Fri, 11 Nov 2011 23:17:34 -0500</pubDate>
        </item>
        <item>
            <guid>http://forum.doozan.com/read.php?2,5631,6231#msg-6231</guid>
            <title>Re: Unclean I tell you, unclean...</title>
            <link>http://forum.doozan.com/read.php?2,5631,6231#msg-6231</link>
            <description><![CDATA[ davygravy Wrote:<br />
<br />
&gt; fw_setenv usb_rootfstype ext3<br />
&gt; <br />
&gt; <br />
&gt; fixed it ...   :)<br />
<br />
<br />
When I try to use this command (fw_setenv), it says command not found. Can you tell me which package have this command? I tried to use &quot;aptitude search fw_setenv&quot;, but nothing come out. Thanks.<br />
<br />
UPDATE: found out that fw_setenv is in package uboot-envtools. BTW, from this thread, is it true that the ext3 flash drive will not have the same problem ext2 drive have (unclean after power failure)? Thanks.]]></description>
            <dc:creator>davidnewton</dc:creator>
            <category>Debian</category>
            <pubDate>Thu, 10 Nov 2011 19:24:48 -0500</pubDate>
        </item>
        <item>
            <guid>http://forum.doozan.com/read.php?2,5631,6228#msg-6228</guid>
            <title>Re: Unclean I tell you, unclean...</title>
            <link>http://forum.doozan.com/read.php?2,5631,6228#msg-6228</link>
            <description><![CDATA[ varkey Wrote:<br />
-------------------------------------------------------<br />
&gt; Yes, just switch to ext3 and all these problems<br />
&gt; will be automatically solved. <br />
&gt; <br />
&gt; To convert to ext3, connect the hard disk to<br />
&gt; another linux system or the rescue system. Then<br />
&gt; <br />
&gt; tune2fs -j /dev/sda1<br />
&gt; <br />
&gt; After that edit the fstab file to mount it as<br />
&gt; ext3. One additional step you need to do is<br />
&gt; <br />
&gt; <b>fw_setenv usb_rootfstype ext3</b><br />
<br />
big thanks at varkey - the uboot env variable passed to kernel was the thing I had missed... I had /dev/sda1 declared as ext3 in my /etc/fstab, but for the life of me I couldn't get it to mount as ext3 (only as ext2).<br />
<br />
<pre class="bbcode">fw_setenv usb_rootfstype ext3</pre>
<br />
fixed it ...   :)]]></description>
            <dc:creator>davygravy</dc:creator>
            <category>Debian</category>
            <pubDate>Wed, 09 Nov 2011 23:28:28 -0500</pubDate>
        </item>
        <item>
            <guid>http://forum.doozan.com/read.php?2,5631,5984#msg-5984</guid>
            <title>Re: Unclean I tell you, unclean...</title>
            <link>http://forum.doozan.com/read.php?2,5631,5984#msg-5984</link>
            <description><![CDATA[ I'm fairly certain is mounted using the TYPE and not the SEC_TYPE from blkid.  <br />
<br />
Sorry about that.  I could've sworn the &quot;/dev/root&quot; line in the mount output displayed the actual file system type.  I forgot about the virtual rootfs type.  What does &quot;df -T&quot; report?  I believe that will tell you the real type for /dev/root.  And ls -l /dev/root should show you what device it's symlinked to.  (I'm not in a place now where I can check myself.)]]></description>
            <dc:creator>kraqh3d</dc:creator>
            <category>Debian</category>
            <pubDate>Tue, 04 Oct 2011 17:18:24 -0400</pubDate>
        </item>
        <item>
            <guid>http://forum.doozan.com/read.php?2,5631,5948#msg-5948</guid>
            <title>Re: Unclean I tell you, unclean...</title>
            <link>http://forum.doozan.com/read.php?2,5631,5948#msg-5948</link>
            <description><![CDATA[ My guess is that it's mounted as ext3.  An ext3 file system can be explicitly mounted as ext2.  It just means that logging will not be used.  But normally, if you just execute a &quot;mount&quot;, it will defer to the primary type specified in the fs.<br />
<br />
What does /proc/commandline show (&quot;cat /proc/commandline&quot;).  Is <i>rootfstype</i> set to anything?<br />
<br />
Does /etc/fstab not have an explicit mount type for the root filesystem?  If not, I'd add one.  My entry for that fs on my Dockstar is:<br />
<pre class="bbcode"># &lt;device&gt; &lt;mnt pt&gt; &lt;type&gt;  &lt;options&gt;                             &lt;dump&gt; &lt;pass&gt;
/dev/root   /        ext3    relatime,errors=remount-ro               0      1</pre>And it's a good idea to specify the fstype.  I had problems under ubuntu 9.04 with root fs corruption until I specified the fs type explicitly in fstab.<br />
<br />
YMMV.  Good luck.]]></description>
            <dc:creator>restamp</dc:creator>
            <category>Debian</category>
            <pubDate>Tue, 27 Sep 2011 00:30:48 -0400</pubDate>
        </item>
        <item>
            <guid>http://forum.doozan.com/read.php?2,5631,5946#msg-5946</guid>
            <title>Re: Unclean I tell you, unclean...</title>
            <link>http://forum.doozan.com/read.php?2,5631,5946#msg-5946</link>
            <description><![CDATA[ I'm confused!<br />
One stick shows this:<br />
<br />
/dev/sda1: LABEL=&quot;rootfs&quot; UUID=&quot;58360b8f-8a39-4a4b-96c3-562ba5d15c55&quot; SEC_TYPE=&quot;ext2&quot; TYPE=&quot;ext3&quot;<br />
<br />
root@squeezeplug:~# mount<br />
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)<br />
proc on /proc type proc (rw,noexec,nosuid,nodev)<br />
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)<br />
udev on /dev type tmpfs (rw,mode=0755)<br />
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)<br />
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)<br />
rootfs on / type rootfs (rw)<br />
tmpfs on /tmp type tmpfs (rw)<br />
<br />
an the other stick showes this:<br />
<br />
/dev/sda1: LABEL=&quot;rootfs&quot; UUID=&quot;58360b8f-8a39-4a4b-96c3-562ba5d15c55&quot; TYPE=&quot;ext3&quot;<br />
<br />
root@squeezeplug:~# mount<br />
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)<br />
proc on /proc type proc (rw,noexec,nosuid,nodev)<br />
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)<br />
udev on /dev type tmpfs (rw,mode=0755)<br />
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)<br />
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)<br />
rootfs on / type rootfs (rw)<br />
tmpfs on /tmp type tmpfs (rw)<br />
<br />
In both cases I have no entry to mount /dev/sda1 in the /etc/fstab. The file system is mounted automatically.<br />
<br />
???<br />
<br />
Greetings,<br />
Thomas]]></description>
            <dc:creator>squeezeplug</dc:creator>
            <category>Debian</category>
            <pubDate>Mon, 26 Sep 2011 16:22:48 -0400</pubDate>
        </item>
        <item>
            <guid>http://forum.doozan.com/read.php?2,5631,5945#msg-5945</guid>
            <title>Re: Unclean I tell you, unclean...</title>
            <link>http://forum.doozan.com/read.php?2,5631,5945#msg-5945</link>
            <description><![CDATA[ What does mount report?  Mount will tell you if it was mounted as ext2 or ext3.  I've experienced this funniness with (lib)blkid.  Some partitions report a secondary type (SEC_TYPE=&quot;ext2&quot;) in addition to the primary type (TYPE=&quot;ext3&quot;), but not all.  I've never found a reasonable explanation of why only some report this.  I just ignore it as it seems mount ignores it.]]></description>
            <dc:creator>kraqh3d</dc:creator>
            <category>Debian</category>
            <pubDate>Mon, 26 Sep 2011 13:59:39 -0400</pubDate>
        </item>
        <item>
            <guid>http://forum.doozan.com/read.php?2,5631,5944#msg-5944</guid>
            <title>Re: Unclean I tell you, unclean...</title>
            <link>http://forum.doozan.com/read.php?2,5631,5944#msg-5944</link>
            <description><![CDATA[ Hi,<br />
what does this mean: &quot;type ext3 sec type ext2&quot; if I type blkid ???<br />
<br />
Is the fs mounted as ext2 or ext3 ???<br />
<br />
Normaly I don't use an entry for the rootfs in fstab. The rootfs is mounted automatically without such an entry. Is this right?<br />
<br />
Greetings<br />
Thomas]]></description>
            <dc:creator>squeezeplug</dc:creator>
            <category>Debian</category>
            <pubDate>Mon, 26 Sep 2011 03:59:53 -0400</pubDate>
        </item>
        <item>
            <guid>http://forum.doozan.com/read.php?2,5631,5698#msg-5698</guid>
            <title>Re: Unclean I tell you, unclean...</title>
            <link>http://forum.doozan.com/read.php?2,5631,5698#msg-5698</link>
            <description><![CDATA[ Also edit the fstab not just from ext2 to ext3 and use the defaults but add barrier=1 to the defaults,<br />
e.g. defaults,relatime,barrier=1<br />
slows down metawrites (delete) but makes power failure way safer. it's disabled by default for some strange reason in ext3. ext4 has it enabled.<br />
man page:<br />
       barrier=0 / barrier=1<br />
              This enables/disables barriers.   barrier=0  disables  it,  bar‐<br />
              rier=1 enables it.  Write barriers enforce proper on-disk order‐<br />
              ing of journal commits, making volatile disk write  caches  safe<br />
              to  use,  at some performance penalty.  The ext3 filesystem does<br />
              not enable write barriers by default.  Be sure to enable  barri‐<br />
              ers  unless  your  disks  are battery-backed one way or another.<br />
              Otherwise you risk filesystem corruption in case of power  fail‐<br />
              ure.]]></description>
            <dc:creator>bas</dc:creator>
            <category>Debian</category>
            <pubDate>Mon, 29 Aug 2011 17:10:10 -0400</pubDate>
        </item>
        <item>
            <guid>http://forum.doozan.com/read.php?2,5631,5678#msg-5678</guid>
            <title>Re: Unclean I tell you, unclean...</title>
            <link>http://forum.doozan.com/read.php?2,5631,5678#msg-5678</link>
            <description><![CDATA[ Switching an ext2 fs to ext3 is fairly straightforward:<br />
<br />
1. Make sure the fs is unmounted and fscked<br />
2. As root, add a journal:  tune2fs -j /dev/whatever<br />
3. If the fs is automounted from /etc/fstab, change its entry from ext2 to ext3 there<br />
<br />
Technically, you can run the &quot;tune2fs -j&quot; command on a mounted fs, and this is necessary if you want to convert the root file system in place.  In this case, the journal file will be visible (as .journal) until the fs is next fscked, or in the case of the root file system, fscked externally.<br />
<br />
BTW, after rolling the journal, an ext3 fs may be safely mounted as ext2 just by explicitly specifying this in the mount command.<br />
<br />
YMMV]]></description>
            <dc:creator>restamp</dc:creator>
            <category>Debian</category>
            <pubDate>Thu, 25 Aug 2011 11:29:22 -0400</pubDate>
        </item>
        <item>
            <guid>http://forum.doozan.com/read.php?2,5631,5676#msg-5676</guid>
            <title>Re: Unclean I tell you, unclean...</title>
            <link>http://forum.doozan.com/read.php?2,5631,5676#msg-5676</link>
            <description><![CDATA[ &gt; I do the same thing using multiple USB keys. I<br />
&gt; guess a better questions is how to switch to ext3<br />
&gt; or 4 from ext2?<br />
<br />
I can't really help you there. Sorry.]]></description>
            <dc:creator>hanker</dc:creator>
            <category>Debian</category>
            <pubDate>Thu, 25 Aug 2011 08:59:47 -0400</pubDate>
        </item>
        <item>
            <guid>http://forum.doozan.com/read.php?2,5631,5673#msg-5673</guid>
            <title>Re: Unclean I tell you, unclean...</title>
            <link>http://forum.doozan.com/read.php?2,5631,5673#msg-5673</link>
            <description><![CDATA[ Yes, just switch to ext3 and all these problems will be automatically solved. <br />
<br />
To convert to ext3, connect the hard disk to another linux system or the rescue system. Then<br />
<br />
<blockquote class="bbcode"><div><small>Quote<br/></small><strong></strong><br/>tune2fs -j /dev/sda1</div></blockquote>
<br />
After that edit the fstab file to mount it as ext3. One additional step you need to do is<br />
<br />
<blockquote class="bbcode"><div><small>Quote<br/></small><strong></strong><br/>fw_setenv usb_rootfstype ext3</div></blockquote>]]></description>
            <dc:creator>varkey</dc:creator>
            <category>Debian</category>
            <pubDate>Thu, 25 Aug 2011 07:31:19 -0400</pubDate>
        </item>
        <item>
            <guid>http://forum.doozan.com/read.php?2,5631,5669#msg-5669</guid>
            <title>Re: Unclean I tell you, unclean...</title>
            <link>http://forum.doozan.com/read.php?2,5631,5669#msg-5669</link>
            <description><![CDATA[ hanker Wrote:<br />
-------------------------------------------------------<br />
&gt; glalonde Wrote:<br />
&gt; --------------------------------------------------<br />
&gt; -----<br />
&gt; &gt; About once every six months the power goes off<br />
&gt; &gt; long enough that even my UPS gives up, which<br />
&gt; &gt; causes the DebianDock(dockstar with debian) to<br />
&gt; &gt; just get cut off. Problem is, the last few<br />
&gt; times<br />
&gt; &gt; this has happened, it will not reboot. The only<br />
&gt; &gt; way I can fix this is boot my main PC in debian<br />
&gt; &gt; mount the USB key an do a fsck to fix the<br />
&gt; &gt; filesystem. I think it said something about<br />
&gt; &gt; unclean prior to the fsck. I try to login about<br />
&gt; &gt; once a week and just do a sync, but I guess<br />
&gt; that<br />
&gt; &gt; is not enough. Is this normal? What can I do to<br />
&gt; &gt; help a good reboot after power lose?<br />
&gt; &gt; <br />
&gt; &gt; It's just a bit more important now since I host<br />
&gt; my<br />
&gt; &gt; website itself of my pogoplug vs just using it<br />
&gt; for<br />
&gt; &gt; fun like I was a few months before. <br />
&gt; <br />
&gt; <br />
&gt; I've had the same experience - have a power outage<br />
&gt; and then sometimes the Dockstar won't boot. <br />
&gt; <br />
&gt; My solution: once I have a boot software load that<br />
&gt; works, I clone it to a hard disk with Clonezilla.<br />
&gt; See <a href="http://clonezilla.org/"  rel="nofollow">http://clonezilla.org/</a> <br />
&gt; <br />
&gt; Then I can restore that image to two different<br />
&gt; boot drives, say A and B. Then boot the Dockstar<br />
&gt; from A. If there's a power outage and A won't boot<br />
&gt; anymore, boot the Dockstar from B, use Clonezilla<br />
&gt; to reload the bootable image from the hard disk to<br />
&gt; A, and wait for the next power outage.<br />
&gt; <br />
&gt; If your boot software load changes frequently this<br />
&gt; may be too time-consuming, though.<br />
<br />
I do the same thing using multiple USB keys. I guess a better questions is how to switch to ext3 or 4 from ext2?<br />
<br />
Glen.]]></description>
            <dc:creator>glalonde</dc:creator>
            <category>Debian</category>
            <pubDate>Wed, 24 Aug 2011 23:36:53 -0400</pubDate>
        </item>
        <item>
            <guid>http://forum.doozan.com/read.php?2,5631,5657#msg-5657</guid>
            <title>Re: Unclean I tell you, unclean...</title>
            <link>http://forum.doozan.com/read.php?2,5631,5657#msg-5657</link>
            <description><![CDATA[ glalonde Wrote:<br />
-------------------------------------------------------<br />
&gt; About once every six months the power goes off<br />
&gt; long enough that even my UPS gives up, which<br />
&gt; causes the DebianDock(dockstar with debian) to<br />
&gt; just get cut off. Problem is, the last few times<br />
&gt; this has happened, it will not reboot. The only<br />
&gt; way I can fix this is boot my main PC in debian<br />
&gt; mount the USB key an do a fsck to fix the<br />
&gt; filesystem. I think it said something about<br />
&gt; unclean prior to the fsck. I try to login about<br />
&gt; once a week and just do a sync, but I guess that<br />
&gt; is not enough. Is this normal? What can I do to<br />
&gt; help a good reboot after power lose?<br />
&gt; <br />
&gt; It's just a bit more important now since I host my<br />
&gt; website itself of my pogoplug vs just using it for<br />
&gt; fun like I was a few months before. <br />
<br />
<br />
I've had the same experience - have a power outage and then sometimes the Dockstar won't boot. <br />
<br />
My solution: once I have a boot software load that works, I clone it to a hard disk with Clonezilla. See <a href="http://clonezilla.org/"  rel="nofollow">http://clonezilla.org/</a> <br />
<br />
Then I can restore that image to two different boot drives, say A and B. Then boot the Dockstar from A. If there's a power outage and A won't boot anymore, boot the Dockstar from B, use Clonezilla to reload the bootable image from the hard disk to A, and wait for the next power outage.<br />
<br />
If your boot software load changes frequently this may be too time-consuming, though.]]></description>
            <dc:creator>hanker</dc:creator>
            <category>Debian</category>
            <pubDate>Tue, 23 Aug 2011 09:11:15 -0400</pubDate>
        </item>
        <item>
            <guid>http://forum.doozan.com/read.php?2,5631,5631#msg-5631</guid>
            <title>Unclean I tell you, unclean...</title>
            <link>http://forum.doozan.com/read.php?2,5631,5631#msg-5631</link>
            <description><![CDATA[ About once every six months the power goes off long enough that even my UPS gives up, which causes the DebianDock(dockstar with debian) to just get cut off. Problem is, the last few times this has happened, it will not reboot. The only way I can fix this is boot my main PC in debian mount the USB key an do a fsck to fix the filesystem. I think it said something about unclean prior to the fsck. I try to login about once a week and just do a sync, but I guess that is not enough. Is this normal? What can I do to help a good reboot after power lose?<br />
<br />
It's just a bit more important now since I host my website itself of my pogoplug vs just using it for fun like I was a few months before. <br />
<br />
Glen Lalonde<br />
www.binarysearchtree.com<br />
<br />
(Just noticed another thread on this issue, but I don't see a way to delete this one...sorry)]]></description>
            <dc:creator>glalonde</dc:creator>
            <category>Debian</category>
            <pubDate>Mon, 22 Aug 2011 19:40:23 -0400</pubDate>
        </item>
    </channel>
</rss>
