<?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>Personal Blog of Emre Yaşar &#187; Linux</title>
	<atom:link href="http://www.yasars.com/index.php/tag/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.yasars.com</link>
	<description>A bit technical, a bit lifestyle..</description>
	<lastBuildDate>Tue, 27 Apr 2010 19:55:21 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Missing Disk Space</title>
		<link>http://www.yasars.com/index.php/2009/08/17/missing-disk-space/</link>
		<comments>http://www.yasars.com/index.php/2009/08/17/missing-disk-space/#comments</comments>
		<pubDate>Mon, 17 Aug 2009 03:05:21 +0000</pubDate>
		<dc:creator>Admin - Emre Yasar</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[disk]]></category>
		<category><![CDATA[ext3]]></category>
		<category><![CDATA[missing]]></category>
		<category><![CDATA[reiserfs]]></category>
		<category><![CDATA[tune2fs]]></category>

		<guid isPermaLink="false">http://www.yasars.com/?p=13</guid>
		<description><![CDATA[
Last night I made a test for making a comparison between ext2, ext3 and reiser file systems about missing (!) disk spaces.
Basically I created 3 disk partitions with 1 gb size and formatted them with ext2, ext3 and reiser file system types. Then mounted them to folders same with filesystem names. The result df -h [...]]]></description>
			<content:encoded><![CDATA[<p><img class="size-medium wp-image-15 alignright" title="disk1_emreyasar" src="http://www.yasars.com/wp-content/uploads/2009/08/disk1_emreyasar-251x300.jpg" alt="disk1_emreyasar" width="251" height="300" /></p>
<p><strong>Last night I made a test for making a comparison between ext2, ext3 and reiser file systems about missing (!) disk spaces.</strong></p>
<p>Basically I created 3 disk partitions with 1 gb size and formatted them with ext2, ext3 and reiser file system types. Then mounted them to folders same with filesystem names. The result df -h output is as below:</p>
<p>Filesystem            Size  Used Avail Use% Mounted on<br />
/dev/sdb1            1004M   20K  953M   1% /ext2_fs<br />
/dev/sdb2            1004M   17M  937M   2% /ext3_fs<br />
/dev/sdb3            1020M   33M  988M   4% /reiser_fs</p>
<p>As you can see both ext2 and ext3 file systems are reserved 50 megabytes at 1 gigabyte disk partition.<br />
This means 5% of disk is missing!!!</p>
<p>Calm down, here is the reason: (man tells everything to us )</p>
<p><span id="more-13"></span>This  reserved disk area avoids fragmentation,  and  allows  root-owned  daemons, such  as  syslog,  to continue to function correctly after on-privileged processes are prevented from writing to the filesystem.  <strong>The default percentage is 5%.</strong><br />
This means if you format a 300GB disk with ext2 or ext3, you will lost about 15GB for root owned daemons as default.</p>
<p>But you can modify this ratio by using tune2fs command.</p>
<p>For instance, after umounting the partition, you may run tune2fs command as below for decreasing reserved block at /dev/sdb2 partition to 1%:</p>
<p>tune2fs -m 1 /dev/sdb2</p>
<p>You may sea the result bye typing</p>
<p>tune2fs -l /dev/sdb2</p>
<p>and comparing &#8221;      block count&#8221; and &#8220;reserved block count&#8221; values.</p>
<p>I want to remind a little point about tune2fs. tune2fs tool can be used just for ext2 and ext3 file systems.<br />
If you want to use a tool like tune2fs for resier file system you have to use <strong>reiserfstune</strong> tool.<br />
But you have to consider that there is not a parameter for setting reserved disk percentage for reiserfs.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.yasars.com/index.php/2009/08/17/missing-disk-space/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Change Linux Console Resolution</title>
		<link>http://www.yasars.com/index.php/2009/08/16/how-to-change-linux-console-resolution/</link>
		<comments>http://www.yasars.com/index.php/2009/08/16/how-to-change-linux-console-resolution/#comments</comments>
		<pubDate>Sun, 16 Aug 2009 18:22:34 +0000</pubDate>
		<dc:creator>Admin - Emre Yasar</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[console]]></category>
		<category><![CDATA[resolution]]></category>

		<guid isPermaLink="false">http://www.yasars.com/?p=3</guid>
		<description><![CDATA[It&#8217;s very easy to use sax or sax2 tool for configuring screen resolution, monitor dimension, etc for X session.
Or you may modify the xorg.conf file for this purpose.
But, it&#8217;s too bothersome to see a warning message about your &#8220;high resolution&#8221; at the center of monitor if you are using a KVM-over-IP switch like Raritan or [...]]]></description>
			<content:encoded><![CDATA[<p><img class="size-medium wp-image-8 alignright" title="LINUX1-emreyasar" src="http://www.yasars.com/wp-content/uploads/2009/08/LINUX1-full-300x187.jpg" alt="LINUX1-emreyasar" width="300" height="187" /><strong>It&#8217;s very easy to use sax or sax2 tool for configuring screen resolution, monitor dimension, etc for X session.</strong></p>
<p>Or you may modify the xorg.conf file for this purpose.</p>
<p>But, it&#8217;s too bothersome to see a warning message about your &#8220;high resolution&#8221; at the center of monitor if you are using a KVM-over-IP switch like Raritan or Avocent. Also you are in text mode&#8230;</p>
<p>So, do you know a tool for modifying the resolution of your console (tty1, tty2, ..) resolution.</p>
<p><span id="more-3"></span>You may change your resolution of your console by editing the kernel parameter only.</p>
<p>You must have a look at your boot manager&#8217;s (GRUB/LILO) configuration file first.</p>
<p>For instance, if you use GRUB, you have to look for the value of VGA parameter at /boot/grub/menu.lst file.</p>
<p>You may change the value of VGA for best performance according to your hardwares.</p>
<p>You must enter a hexadecimal value for VGA parameter.</p>
<p>Have a look at the table below..</p>
<p>Colours   640&#215;400 640&#215;480 800&#215;600 1024&#215;768 1152&#215;864 1280&#215;1024<br />
&#8212;&#8212;&#8211;+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
4 bits |    ?       ?     0&#215;302      ?        ?        ?<br />
8 bits |  0&#215;300   0&#215;301   0&#215;303    0&#215;305    0&#215;161    0&#215;307<br />
15 bits |    ?     0&#215;310   0&#215;313    0&#215;316    0&#215;162    0&#215;319<br />
16 bits |    ?     0&#215;311   0&#215;314    0&#215;317    0&#215;163    0&#215;31A<br />
24 bits |    ?     0&#215;312   0&#215;315    0&#215;318      ?      0&#215;31B<br />
32 bits |    ?       ?       ?        ?      0&#215;164      ?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.yasars.com/index.php/2009/08/16/how-to-change-linux-console-resolution/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

