<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
> <channel><title>Comments on: Forced File System Check After 30 Boot Ups &#8211; How to Improve it.</title> <atom:link href="http://ubuntulinuxhelp.com/forced-file-system-check-after-30-boot-ups-how-to-improve-it/feed/" rel="self" type="application/rss+xml" /><link>http://ubuntulinuxhelp.com/forced-file-system-check-after-30-boot-ups-how-to-improve-it/</link> <description>Tips, Tricks and How To&#039;s for the Ubuntu Linux User</description> <lastBuildDate>Sun, 29 Jan 2012 22:09:33 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=</generator> <item><title>By: aL</title><link>http://ubuntulinuxhelp.com/forced-file-system-check-after-30-boot-ups-how-to-improve-it/#comment-1022</link> <dc:creator>aL</dc:creator> <pubDate>Wed, 07 Jul 2010 03:38:01 +0000</pubDate> <guid
isPermaLink="false">http://ubuntulinuxhelp.com/forced-file-system-check-after-30-boot-ups-how-to-improve-it/#comment-1022</guid> <description>This one is not working on my ubuntu 7.x</description> <content:encoded><![CDATA[<p>This one is not working on my ubuntu 7.x</p> ]]></content:encoded> </item> <item><title>By: RedEye</title><link>http://ubuntulinuxhelp.com/forced-file-system-check-after-30-boot-ups-how-to-improve-it/#comment-1021</link> <dc:creator>RedEye</dc:creator> <pubDate>Fri, 10 Jul 2009 16:17:07 +0000</pubDate> <guid
isPermaLink="false">http://ubuntulinuxhelp.com/forced-file-system-check-after-30-boot-ups-how-to-improve-it/#comment-1021</guid> <description>Here is a bit of code I use on RHEL 4/5 &amp; SLES10 to grab the filesystem names and feed it to tune2fsfor FS in `df -lHP -t ext3&#124;egrep -vE &quot;^Filesystem&#124;none&quot;&#124;cut -d&quot; &quot; -f1`
do echo &quot;FS check status - $FS&quot;
tune2fs -c 0 $FS
done</description> <content:encoded><![CDATA[<p>Here is a bit of code I use on RHEL 4/5 &amp; SLES10 to grab the filesystem names and feed it to tune2fs</p><p>for FS in `df -lHP -t ext3|egrep -vE &#8220;^Filesystem|none&#8221;|cut -d&#8221; &#8221; -f1`<br
/> do echo &#8220;FS check status &#8211; $FS&#8221;<br
/> tune2fs -c 0 $FS<br
/> done</p> ]]></content:encoded> </item> <item><title>By: frg_udc</title><link>http://ubuntulinuxhelp.com/forced-file-system-check-after-30-boot-ups-how-to-improve-it/#comment-1020</link> <dc:creator>frg_udc</dc:creator> <pubDate>Sun, 22 Mar 2009 16:15:03 +0000</pubDate> <guid
isPermaLink="false">http://ubuntulinuxhelp.com/forced-file-system-check-after-30-boot-ups-how-to-improve-it/#comment-1020</guid> <description>simply for convenience: the scripts, as it might be slightly difficult for people who never programmed:script 1:#!/bin/bash
echo Do you want a forced filesystem check after the next boot? y/n
read ANSWER
if [$ANSWER = &#039;y&#039;]; then
tune2fs -c 1 /dev/sda1 (repeat for every filesystem, filesystem mentioned here is an example)
fiscript 2:#!/bin/bash
tune2fs -c 0 /dev/sda1 (repeat for every filesystem, filesystem mentioned here is an example)</description> <content:encoded><![CDATA[<p>simply for convenience: the scripts, as it might be slightly difficult for people who never programmed:</p><p>script 1:</p><p>#!/bin/bash<br
/> echo Do you want a forced filesystem check after the next boot? y/n<br
/> read ANSWER<br
/> if [$ANSWER = 'y']; then<br
/> tune2fs -c 1 /dev/sda1 (repeat for every filesystem, filesystem mentioned here is an example)<br
/> fi</p><p>script 2:</p><p>#!/bin/bash<br
/> tune2fs -c 0 /dev/sda1 (repeat for every filesystem, filesystem mentioned here is an example)</p> ]]></content:encoded> </item> <item><title>By: frg_udc</title><link>http://ubuntulinuxhelp.com/forced-file-system-check-after-30-boot-ups-how-to-improve-it/#comment-1019</link> <dc:creator>frg_udc</dc:creator> <pubDate>Sun, 22 Mar 2009 16:02:42 +0000</pubDate> <guid
isPermaLink="false">http://ubuntulinuxhelp.com/forced-file-system-check-after-30-boot-ups-how-to-improve-it/#comment-1019</guid> <description>why not just use your terminals guys?tune2fs -c 0 [a filesystem]on every filesystem will stop forced fs checks.If you want to be asked whether you want to have a forced fs check after reboot, create 2 little scripts in /etc/init.d/:
One that asks whether you want a forced fs check and then does &#039;tune2fs -c 1&#039; on your filesystems if you answer yes (link to that script in /etc/rc0.d and /etc/rc6.d)
And a second one that simply resets it by doing &#039;tune2fs -c 0&#039; (link to that script in /etc/rc1.d, /etc/rc2.d, /etc/rc3.d, /etc/rc4.d and /etc/rc5.d).
Use a low S number for the link to the first script, as you want it to be launched before the OS starts going through its shutdown scripts (between 0 and 10 should be right), for the link to the second script a very high S number as you want it to be launched after all the other boot scripts (between 90 and 100 should be fine).need info about bash scripting? http://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO-10.html#ss10.1 -&gt; this shows you exactly what you need to do for the first script, only without the tune2fs command at the end. The second script only needs the #!/bin/bash line and the tune2fs command...</description> <content:encoded><![CDATA[<p>why not just use your terminals guys?</p><p>tune2fs -c 0 [a filesystem]</p><p>on every filesystem will stop forced fs checks.</p><p>If you want to be asked whether you want to have a forced fs check after reboot, create 2 little scripts in /etc/init.d/:<br
/> One that asks whether you want a forced fs check and then does &#8216;tune2fs -c 1&#8242; on your filesystems if you answer yes (link to that script in /etc/rc0.d and /etc/rc6.d)<br
/> And a second one that simply resets it by doing &#8216;tune2fs -c 0&#8242; (link to that script in /etc/rc1.d, /etc/rc2.d, /etc/rc3.d, /etc/rc4.d and /etc/rc5.d).<br
/> Use a low S number for the link to the first script, as you want it to be launched before the OS starts going through its shutdown scripts (between 0 and 10 should be right), for the link to the second script a very high S number as you want it to be launched after all the other boot scripts (between 90 and 100 should be fine).</p><p>need info about bash scripting? <a
href="http://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO-10.html#ss10.1"  rel="nofollow">http://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO-10.html#ss10.1</a> -&gt; this shows you exactly what you need to do for the first script, only without the tune2fs command at the end. The second script only needs the #!/bin/bash line and the tune2fs command&#8230;</p> ]]></content:encoded> </item> <item><title>By: UbuntuLinuxHelp</title><link>http://ubuntulinuxhelp.com/forced-file-system-check-after-30-boot-ups-how-to-improve-it/#comment-1018</link> <dc:creator>UbuntuLinuxHelp</dc:creator> <pubDate>Sat, 25 Oct 2008 15:45:43 +0000</pubDate> <guid
isPermaLink="false">http://ubuntulinuxhelp.com/forced-file-system-check-after-30-boot-ups-how-to-improve-it/#comment-1018</guid> <description>@anze - Nice! :) Thanks. Nice follow up/update on that! Cheers! :)</description> <content:encoded><![CDATA[<p>@anze &#8211; Nice! :) Thanks. Nice follow up/update on that! Cheers! :)</p> ]]></content:encoded> </item> <item><title>By: anze</title><link>http://ubuntulinuxhelp.com/forced-file-system-check-after-30-boot-ups-how-to-improve-it/#comment-1017</link> <dc:creator>anze</dc:creator> <pubDate>Sat, 25 Oct 2008 13:25:31 +0000</pubDate> <guid
isPermaLink="false">http://ubuntulinuxhelp.com/forced-file-system-check-after-30-boot-ups-how-to-improve-it/#comment-1017</guid> <description>A better solution than AutoFsck (IMHO) is just allowing the Ctrl+C:
http://www.mail-archive.com/debian-bugs-dist%40lists.debian.org/msg251597.htmlBasically, just add these lines to /etc/e2fsck.conf:
[options]
allow_cancellation = trueJust included it in my setup, now I have to wait 30 reboots to check it... ;)</description> <content:encoded><![CDATA[<p>A better solution than AutoFsck (IMHO) is just allowing the Ctrl+C:<br
/> <a
href="http://www.mail-archive.com/debian-bugs-dist%40lists.debian.org/msg251597.html"  rel="nofollow">http://www.mail-archive.com/debian-bugs-dist%40lists.debian.org/msg251597.html</a></p><p>Basically, just add these lines to /etc/e2fsck.conf:<br
/> [options]<br
/> allow_cancellation = true</p><p>Just included it in my setup, now I have to wait 30 reboots to check it&#8230; ;)</p> ]]></content:encoded> </item> <item><title>By: Open Community Tutorial :: Talking Free Software and Share GNU/Linux Tutorial and Howto &#187; Blog Archive &#187; Merubah Kebiasaan FSCK Dengan AutoFSCK</title><link>http://ubuntulinuxhelp.com/forced-file-system-check-after-30-boot-ups-how-to-improve-it/#comment-1016</link> <dc:creator>Open Community Tutorial :: Talking Free Software and Share GNU/Linux Tutorial and Howto &#187; Blog Archive &#187; Merubah Kebiasaan FSCK Dengan AutoFSCK</dc:creator> <pubDate>Tue, 22 Apr 2008 12:36:18 +0000</pubDate> <guid
isPermaLink="false">http://ubuntulinuxhelp.com/forced-file-system-check-after-30-boot-ups-how-to-improve-it/#comment-1016</guid> <description>[...] blog are free translation from this post by ubuntulinuxhelp.   [...] </description> <content:encoded><![CDATA[<p>[...] blog are free translation from this post by ubuntulinuxhelp.   [...]</p> ]]></content:encoded> </item> <item><title>By: Forced File System Check After 30 Boot Ups - How to Improve it. : HowtoMatrix</title><link>http://ubuntulinuxhelp.com/forced-file-system-check-after-30-boot-ups-how-to-improve-it/#comment-1015</link> <dc:creator>Forced File System Check After 30 Boot Ups - How to Improve it. : HowtoMatrix</dc:creator> <pubDate>Thu, 17 Apr 2008 15:51:13 +0000</pubDate> <guid
isPermaLink="false">http://ubuntulinuxhelp.com/forced-file-system-check-after-30-boot-ups-how-to-improve-it/#comment-1015</guid> <description>[...] Read more at Ubuntu Linux Help [...] </description> <content:encoded><![CDATA[<p>[...] Read more at Ubuntu Linux Help [...]</p> ]]></content:encoded> </item> <item><title>By: Autofsck: Controla cuando y como se hacen las verificaciones de tus discos en Ubuntu &#124; Blog de Marcelo Ramos &#124; Lo que hago, lo que me interesa, lo que me llama la atención</title><link>http://ubuntulinuxhelp.com/forced-file-system-check-after-30-boot-ups-how-to-improve-it/#comment-1014</link> <dc:creator>Autofsck: Controla cuando y como se hacen las verificaciones de tus discos en Ubuntu &#124; Blog de Marcelo Ramos &#124; Lo que hago, lo que me interesa, lo que me llama la atención</dc:creator> <pubDate>Wed, 16 Apr 2008 05:42:40 +0000</pubDate> <guid
isPermaLink="false">http://ubuntulinuxhelp.com/forced-file-system-check-after-30-boot-ups-how-to-improve-it/#comment-1014</guid> <description>[...] UbuntuLinuxHelp el autor del artículo &#8220;sufrió&#8221; ése inconveniente justo cuando iniciaba su notebook [...] </description> <content:encoded><![CDATA[<p>[...] UbuntuLinuxHelp el autor del artículo &#8220;sufrió&#8221; ése inconveniente justo cuando iniciaba su notebook [...]</p> ]]></content:encoded> </item> <item><title>By: Joe</title><link>http://ubuntulinuxhelp.com/forced-file-system-check-after-30-boot-ups-how-to-improve-it/#comment-1013</link> <dc:creator>Joe</dc:creator> <pubDate>Wed, 16 Apr 2008 01:52:19 +0000</pubDate> <guid
isPermaLink="false">http://ubuntulinuxhelp.com/forced-file-system-check-after-30-boot-ups-how-to-improve-it/#comment-1013</guid> <description>Don&#039;t feed the trolls.</description> <content:encoded><![CDATA[<p>Don&#8217;t feed the trolls.</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Served from: ubuntulinuxhelp.com @ 2012-02-10 19:12:11 by W3 Total Cache -->
