<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>WiredRevolution.com &#187; filesystem</title>
	<atom:link href="http://www.wiredrevolution.com/tag/filesystem/feed" rel="self" type="application/rss+xml" />
	<link>http://www.wiredrevolution.com</link>
	<description>A Bit of Linux Wisdom</description>
	<lastBuildDate>Sat, 22 May 2010 16:03:56 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Skip network filesystems when searching with find</title>
		<link>http://www.wiredrevolution.com/system-administration/skip-network-filesystems-when-searching-with-find</link>
		<comments>http://www.wiredrevolution.com/system-administration/skip-network-filesystems-when-searching-with-find#comments</comments>
		<pubDate>Mon, 19 Jan 2009 16:45:06 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[system administration]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[filesystem]]></category>
		<category><![CDATA[find]]></category>
		<category><![CDATA[mount]]></category>
		<category><![CDATA[network filesystem]]></category>
		<category><![CDATA[shared filesystem]]></category>
		<category><![CDATA[xdev]]></category>

		<guid isPermaLink="false">http://www.wiredrevolution.com/?p=932</guid>
		<description><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/sysadmin_icon.png" width="80" height="94" alt="" title="system administration" /><br/>When you run the find command on the root directory of a system you may want to exclude all network filesystems and confine your search to only your local machine.  The benefits of this are obvious as it will save you a great amount of time especially if the mounted filesystem is very large.
Luckily [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/sysadmin_icon.png" width="80" height="94" alt="" title="system administration" /><br/><p>When you run the <strong>find</strong> command on the root directory of a system you may want to exclude all network filesystems and confine your search to only your local machine.  The benefits of this are obvious as it will save you a great amount of time especially if the mounted filesystem is very large.</p>
<p>Luckily the find command provides this ability with the &#8216;<strong>-xdev</strong>&#8216; or &#8216;<strong>-mount</strong>&#8216; options.</p>
<p>For example:</p>
<pre>
$ find / -xdev -name myfile.txt
</pre>
<p>This command will recursively search for myfile.txt starting in your root directory and skip all externally mounted filesystems.</p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.wiredrevolution.com/system-administration/skip-network-filesystems-when-searching-with-find/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Free ext3 reserved blocks with tune2fs</title>
		<link>http://www.wiredrevolution.com/system-administration/free-ext3-reserved-blocks-with-tune2fs</link>
		<comments>http://www.wiredrevolution.com/system-administration/free-ext3-reserved-blocks-with-tune2fs#comments</comments>
		<pubDate>Sun, 23 Nov 2008 16:02:03 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[system administration]]></category>
		<category><![CDATA[ext3]]></category>
		<category><![CDATA[filesystem]]></category>
		<category><![CDATA[reserved blocks]]></category>
		<category><![CDATA[tune2fs]]></category>

		<guid isPermaLink="false">http://www.wiredrevolution.com/?p=718</guid>
		<description><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/sysadmin_icon.png" width="80" height="94" alt="" title="system administration" /><br/>As a security measure the ext3 file system reserves 5% of device space for administrative processes. This protects the system by allowing root processes to continue using the disk if a user process runs wild and fills it up. With today&#8217;s larger disk capacities, 5% equates into gigabytes of arguably wasted space. Thankfully with the [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/sysadmin_icon.png" width="80" height="94" alt="" title="system administration" /><br/><p>As a security measure the ext3 file system reserves 5% of device space for administrative processes. This protects the system by allowing root processes to continue using the disk if a user process runs wild and fills it up. With today&#8217;s larger disk capacities, 5% equates into gigabytes of arguably wasted space. Thankfully with the <strong>tune2fs</strong> command you can reduce this percentage and free most if not all of the reserved space.</p>
<p>The tune2fs command utility operates exclusively on ext2/ext3 file systems.</p>
<p>To run these commands you must run the command as root or <a href="/commands/submit-commands-as-root-with-sudo">use sudo</a>.</p>
<p>You can run tune2fs on the ext3 partition with the &#8216;<strong>-l</strong>&#8216; option to show you all the filesystem details. The important information to focus on are the &#8220;Reserved block count&#8221; and &#8220;Block size&#8221; lines. Multiply these lines together to see how many bytes are currently reserved on the filesystem.</p>
<pre>
$ tune2fs -l /dev/sda1
</pre>
<pre>
...
Reserved block count:     1929908
...
Block size:               4096
...
</pre>
<p>That&#8217;s more than 7GB of space that is reserved.</p>
<p>Run the <strong>df</strong> command to see the current used space on the device before you make any changes. </p>
<pre>
$ df -h
</pre>
<pre>
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda1             145G  3.1G  135G   3% /
</pre>
<p>Run the tune2fs command to change your reserved block percentage. The &#8216;<strong>-m</strong>&#8216; option sets the new reserved percentage.</p>
<p>In this example I am setting the percentage to 0 and completely removing the reserved space. This will effectively disable the security feature but free the most space.  You may choose to reduce the reserved percentage instead in order to preserve the security benefit while still freeing some space.</p>
<pre>
$ sudo tune2fs -m 0 /dev/sda1
</pre>
<p>You can confirm the changes have taken effect by viewing the filesystem details.</p>
<pre>
$ tune2fs -l /dev/sda1
</pre>
<pre>
...
Reserved block count:     0
...
</pre>
<p>You can directly see the changes by looking at your system disk space usage. We now have an additional 7GB available.</p>
<pre>
$ df -h
</pre>
<pre>
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda1             145G  3.1G  142G   3% /
</pre>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.wiredrevolution.com/system-administration/free-ext3-reserved-blocks-with-tune2fs/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Disable ext3 boot-time check with tune2fs</title>
		<link>http://www.wiredrevolution.com/system-administration/disable-ext3-boot-time-check-with-tune2fs</link>
		<comments>http://www.wiredrevolution.com/system-administration/disable-ext3-boot-time-check-with-tune2fs#comments</comments>
		<pubDate>Sun, 26 Oct 2008 19:09:18 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[system administration]]></category>
		<category><![CDATA[boot]]></category>
		<category><![CDATA[ext3]]></category>
		<category><![CDATA[filesystem]]></category>
		<category><![CDATA[fsck]]></category>
		<category><![CDATA[livecd]]></category>
		<category><![CDATA[partition]]></category>
		<category><![CDATA[sudo]]></category>
		<category><![CDATA[tune2fs]]></category>

		<guid isPermaLink="false">http://www.wiredrevolution.com/?p=520</guid>
		<description><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/sysadmin_icon.png" width="80" height="94" alt="" title="system administration" /><br/>The ext3 file system forces an fsck once it has been mounted a certain number of times. By default this maximum mount count is usually set between 20-30.  On many systems such as laptops which can be rebooted quite often this can quickly become a problem. To turn off this checking you can use [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/sysadmin_icon.png" width="80" height="94" alt="" title="system administration" /><br/><p>The <strong>ext3</strong> file system forces an <strong>fsck</strong> once it has been mounted a certain number of times. By default this maximum mount count is usually set between 20-30.  On many systems such as laptops which can be rebooted quite often this can quickly become a problem. To turn off this checking you can use the <strong>tune2fs</strong> command.</p>
<p>The tune2fs command utility operates exclusively on ext2/ext3 file systems.</p>
<p>To run these commands you must run the command as root or <a href="/commands/submit-commands-as-root-with-sudo">use sudo</a>. You must also <strong>make sure that your filesystem is unmounted before making any changes</strong>. If you are doing this on your root partition the best solution is to use a LiveCD.</p>
<p>You can run tune2fs on the ext3 partition with the &#8216;<strong>-l</strong>&#8216; option to view what your current and maximum mount count is set to currently.</p>
<pre>
tune2fs -l /dev/sda1
</pre>
<pre>
...
Mount count:              2
Maximum mount count:      25
...
</pre>
<p>To turn off this check set the maximum count to 0 with the &#8216;<strong>-c</strong>&#8216; option.</p>
<pre>
# tune2fs -c 0 /dev/sda1
</pre>
<p>If you do not want to completely disable the file system checking, you can also increase the maximum count.</p>
<pre>
# tune2fs -c 100 /dev/sda1
</pre>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.wiredrevolution.com/system-administration/disable-ext3-boot-time-check-with-tune2fs/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
