<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>egloo &#187; Filesystems</title>
	<atom:link href="http://egloo.wordpress.com/tag/filesystems/feed/" rel="self" type="application/rss+xml" />
	<link>http://egloo.wordpress.com</link>
	<description>Linux Sysadmin Blog</description>
	<lastBuildDate>Sat, 18 Apr 2009 19:35:52 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='egloo.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/4f738d3a8dae6c0af9ecb7fb5c48f4a5?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>egloo &#187; Filesystems</title>
		<link>http://egloo.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://egloo.wordpress.com/osd.xml" title="egloo" />
		<item>
		<title>Linux Out Of Space</title>
		<link>http://egloo.wordpress.com/2008/08/12/linux-out-of-space/</link>
		<comments>http://egloo.wordpress.com/2008/08/12/linux-out-of-space/#comments</comments>
		<pubDate>Tue, 12 Aug 2008 14:52:36 +0000</pubDate>
		<dc:creator>pcabrerat</dc:creator>
				<category><![CDATA[Filesystems]]></category>
		<category><![CDATA[Hard Disk]]></category>
		<category><![CDATA[HardDisk]]></category>

		<guid isPermaLink="false">http://egloo.wordpress.com/?p=93</guid>
		<description><![CDATA[You know the scene. Your system is just too slow, processes are queuing up, you can&#8217;t create a new text file because your computer ran out of space.
This is not a system failure nor a mistake on the operating system and you&#8217;re desperate trying to find those unused and less important files to delete.
The most [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=egloo.wordpress.com&blog=4102430&post=93&subd=egloo&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><a href="http://None"><img class="alignleft size-medium wp-image-96" src="http://egloo.files.wordpress.com/2008/08/hard-disk-drive-with-smoke.jpg?w=141&#038;h=167" alt="" width="141" height="167" /></a>You know the scene. Your system is just too slow, processes are queuing up, you can&#8217;t create a new text file because your computer ran out of space.</p>
<p>This is not a system failure nor a mistake on the operating system and you&#8217;re desperate trying to find those unused and less important files to delete.</p>
<p>The most obvious action to take is start jumping from directory to directory removing files you don&#8217;t require, but after awhile this becomes a painful task.</p>
<p>Before you start removing files, you need to actually know how many free space is left and, in case you have a partitioned system, which filesystems are the affected ones. You know, its always easier to divide a problem to a smaller pieces and attack only the significant ones.</p>
<p>Fortunately this is performed very easily in Linux with the <strong>df</strong> command.</p>
<p>Open a terminal and type <strong><code>df -h</code></strong> to show the disk space usage report. The <code><strong>-h</strong></code> option tells the system to format the values in human readable form.</p>
<p><a href="http://None"><img class="aligncenter size-full wp-image-94" src="http://egloo.files.wordpress.com/2008/08/disk1.png?w=339&#038;h=99" alt="" width="339" height="99" /></a></p>
<p>As you can see, the problem lies in the <code>/<strong>usr </strong></code>filesystem.</p>
<p>Now lets have a look at the directory used space. What we want to know is exactly which folders are the ones using the most disk space; The <strong>du</strong> command will helps us a lot in this situation.</p>
<p><code>$ cd /usr</code><br />
<code>$ du -Sm | sort -n</code></p>
<p><strong><code>du</code></strong> shows the estimated disk usage on the current folder. After executing the command you will see a list of the directories ordered by disk space usage.</p>
<p><a href="http://None"><img class="aligncenter size-full wp-image-95" src="http://egloo.files.wordpress.com/2008/08/disk2.png?w=405&#038;h=172" alt="" width="405" height="172" /></a></p>
<p>In the first column you will see the directory size (in Megabytes) followed by the folder name. The last record will always be a single <strong>. </strong>(dot) representing the total size of all the files and folders where you executed the command.</p>
<p>Now we have delimited the problem to just a few folders, the repairing tasks should cause you no trouble.</p>
<p>Finally, think outside the box, nowadays storage media is cheap and there may be nothing you can do but go buy another hard drive.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/egloo.wordpress.com/93/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/egloo.wordpress.com/93/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/egloo.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/egloo.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/egloo.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/egloo.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/egloo.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/egloo.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/egloo.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/egloo.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/egloo.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/egloo.wordpress.com/93/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=egloo.wordpress.com&blog=4102430&post=93&subd=egloo&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://egloo.wordpress.com/2008/08/12/linux-out-of-space/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">pcabrerat</media:title>
		</media:content>

		<media:content url="http://egloo.files.wordpress.com/2008/08/hard-disk-drive-with-smoke.jpg?w=273" medium="image" />

		<media:content url="http://egloo.files.wordpress.com/2008/08/disk1.png" medium="image" />

		<media:content url="http://egloo.files.wordpress.com/2008/08/disk2.png" medium="image" />
	</item>
	</channel>
</rss>