<?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/"
	xmlns:series="http://unfoldingneurons.com/"
		>
<channel>
	<title>Comments on: Determine the block size on hard disk filesystem for disk quota</title>
	<atom:link href="http://www.cyberciti.biz/tips/determine-block-size-on-hard-disk-quota.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.cyberciti.biz/tips/determine-block-size-on-hard-disk-quota.html</link>
	<description>This is a Linux sys admin journal by Vivek about sys admin work, Linux tips &#38; tricks, hacks, news and more.</description>
	<lastBuildDate>Sat, 20 Mar 2010 00:34:04 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: parvesh</title>
		<link>http://www.cyberciti.biz/tips/determine-block-size-on-hard-disk-quota.html#comment-153252</link>
		<dc:creator>parvesh</dc:creator>
		<pubDate>Sun, 31 Jan 2010 05:27:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/tips/determine-block-size-on-hard-disk-quota.html#comment-153252</guid>
		<description>hi all,
just wanted to know how no of blocks and size of disk are related just suppose i have 500gb of hard disk how blocks are numbered and how many bytes in one block</description>
		<content:encoded><![CDATA[<p>hi all,<br />
just wanted to know how no of blocks and size of disk are related just suppose i have 500gb of hard disk how blocks are numbered and how many bytes in one block</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TodayLinux</title>
		<link>http://www.cyberciti.biz/tips/determine-block-size-on-hard-disk-quota.html#comment-152371</link>
		<dc:creator>TodayLinux</dc:creator>
		<pubDate>Sat, 19 Dec 2009 11:54:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/tips/determine-block-size-on-hard-disk-quota.html#comment-152371</guid>
		<description>Hello Vivek / Admin,

This article is little confusing. I would suggest to make necessary correction on this article. 

The output of &lt;i&gt;# dumpe2fs /dev/sdb3 &#124; grep -i &#039;Block size&#039;&lt;/i&gt; is IO Block size.  not the block size of filesystem which is 512K (each sector size). In your example 8 x 512K = 4096K, which is the default IO Block size.</description>
		<content:encoded><![CDATA[<p>Hello Vivek / Admin,</p>
<p>This article is little confusing. I would suggest to make necessary correction on this article. </p>
<p>The output of <i># dumpe2fs /dev/sdb3 | grep -i &#8216;Block size&#8217;</i> is IO Block size.  not the block size of filesystem which is 512K (each sector size). In your example 8 x 512K = 4096K, which is the default IO Block size.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ramesh</title>
		<link>http://www.cyberciti.biz/tips/determine-block-size-on-hard-disk-quota.html#comment-151736</link>
		<dc:creator>Ramesh</dc:creator>
		<pubDate>Tue, 17 Nov 2009 12:05:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/tips/determine-block-size-on-hard-disk-quota.html#comment-151736</guid>
		<description>I am a bit confused...

when I try to see block size with command &quot;/sbin/dumpe2fs -h /dev/mapper/System-home&quot;
then it says:

Block size:               4096

but when i run df command: it shows
Filesystem                                1K-blocks      Used Available Use% Mounted on
/dev/mapper/System-home    61958132  49838676   8972092  85% /home

and when I run df -h, it shows

Filesystem                                1K-blocks      Used Available Use% Mounted on
/dev/mapper/System-home             60G   48G  8.6G          85%         /home

does this mean that 1Kb = 4096 blocks ??</description>
		<content:encoded><![CDATA[<p>I am a bit confused&#8230;</p>
<p>when I try to see block size with command &#8220;/sbin/dumpe2fs -h /dev/mapper/System-home&#8221;<br />
then it says:</p>
<p>Block size:               4096</p>
<p>but when i run df command: it shows<br />
Filesystem                                1K-blocks      Used Available Use% Mounted on<br />
/dev/mapper/System-home    61958132  49838676   8972092  85% /home</p>
<p>and when I run df -h, it shows</p>
<p>Filesystem                                1K-blocks      Used Available Use% Mounted on<br />
/dev/mapper/System-home             60G   48G  8.6G          85%         /home</p>
<p>does this mean that 1Kb = 4096 blocks ??</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: beanluc</title>
		<link>http://www.cyberciti.biz/tips/determine-block-size-on-hard-disk-quota.html#comment-149546</link>
		<dc:creator>beanluc</dc:creator>
		<pubDate>Fri, 17 Jul 2009 18:39:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/tips/determine-block-size-on-hard-disk-quota.html#comment-149546</guid>
		<description>linuxrawkstar:

No, James Cape&#039;s tip doesn&#039;t assume that all block sizes are all the same, all the time, on all filesystems.

His tip specifically follows the example in the article, in which LINUXTITLI &quot;discovered&quot; a 4096b block size for the filesystem he was discussing.

LINUXTITLI, and Shane too, already showed how to discover block size for some other particular filesystem.</description>
		<content:encoded><![CDATA[<p>linuxrawkstar:</p>
<p>No, James Cape&#8217;s tip doesn&#8217;t assume that all block sizes are all the same, all the time, on all filesystems.</p>
<p>His tip specifically follows the example in the article, in which LINUXTITLI &#8220;discovered&#8221; a 4096b block size for the filesystem he was discussing.</p>
<p>LINUXTITLI, and Shane too, already showed how to discover block size for some other particular filesystem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shane Menshik</title>
		<link>http://www.cyberciti.biz/tips/determine-block-size-on-hard-disk-quota.html#comment-148947</link>
		<dc:creator>Shane Menshik</dc:creator>
		<pubDate>Sat, 13 Jun 2009 11:07:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/tips/determine-block-size-on-hard-disk-quota.html#comment-148947</guid>
		<description>You can also get the block size for all disks using the following command, as well as readahead, size, etc.

blockdev --report</description>
		<content:encoded><![CDATA[<p>You can also get the block size for all disks using the following command, as well as readahead, size, etc.</p>
<p>blockdev &#8211;report</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: linuxrawkstar</title>
		<link>http://www.cyberciti.biz/tips/determine-block-size-on-hard-disk-quota.html#comment-148275</link>
		<dc:creator>linuxrawkstar</dc:creator>
		<pubDate>Thu, 23 Apr 2009 18:56:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/tips/determine-block-size-on-hard-disk-quota.html#comment-148275</guid>
		<description>Nice tip.  The comment by James Cape assumes that all block sizes are all the same, all the time, on all filesystems... hmmm.  Is that true??</description>
		<content:encoded><![CDATA[<p>Nice tip.  The comment by James Cape assumes that all block sizes are all the same, all the time, on all filesystems&#8230; hmmm.  Is that true??</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James Cape</title>
		<link>http://www.cyberciti.biz/tips/determine-block-size-on-hard-disk-quota.html#comment-147592</link>
		<dc:creator>James Cape</dc:creator>
		<pubDate>Sun, 08 Mar 2009 16:49:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/tips/determine-block-size-on-hard-disk-quota.html#comment-147592</guid>
		<description>Umm, 409600 blocks = 409600(blocks) * 4096(B) = 1.6G</description>
		<content:encoded><![CDATA[<p>Umm, 409600 blocks = 409600(blocks) * 4096(B) = 1.6G</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Teslamike</title>
		<link>http://www.cyberciti.biz/tips/determine-block-size-on-hard-disk-quota.html#comment-100180</link>
		<dc:creator>Teslamike</dc:creator>
		<pubDate>Wed, 28 Mar 2007 15:04:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/tips/determine-block-size-on-hard-disk-quota.html#comment-100180</guid>
		<description>100MB is the same size on one system as it is on another.  However, with varying block sizes, 100MB may spread over more blocks on systems with smaller block sizes than it does on a system with a larger block size.

For example, on a system with a 512B block size 100MB will take up 204800 blocks.  On a system with a 64K block size 100MB will take up 1600 blocks.</description>
		<content:encoded><![CDATA[<p>100MB is the same size on one system as it is on another.  However, with varying block sizes, 100MB may spread over more blocks on systems with smaller block sizes than it does on a system with a larger block size.</p>
<p>For example, on a system with a 512B block size 100MB will take up 204800 blocks.  On a system with a 64K block size 100MB will take up 1600 blocks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tortanick</title>
		<link>http://www.cyberciti.biz/tips/determine-block-size-on-hard-disk-quota.html#comment-50804</link>
		<dc:creator>Tortanick</dc:creator>
		<pubDate>Thu, 04 Jan 2007 11:58:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/tips/determine-block-size-on-hard-disk-quota.html#comment-50804</guid>
		<description>I just found this post, it was exactly what I was looking for, thanks for the help :)

Just two things:

1) on my system I had to use double quotes rather than single quotes, 

2) I think this means that 100MB could be bigger on one system than another? Am I right?</description>
		<content:encoded><![CDATA[<p>I just found this post, it was exactly what I was looking for, thanks for the help :)</p>
<p>Just two things:</p>
<p>1) on my system I had to use double quotes rather than single quotes, </p>
<p>2) I think this means that 100MB could be bigger on one system than another? Am I right?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: LinuxTitli</title>
		<link>http://www.cyberciti.biz/tips/determine-block-size-on-hard-disk-quota.html#comment-163</link>
		<dc:creator>LinuxTitli</dc:creator>
		<pubDate>Mon, 29 May 2006 12:08:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/tips/determine-block-size-on-hard-disk-quota.html#comment-163</guid>
		<description>Opps :( you are right. Above command is to determine the actual size of a block on the filesystem.

Thanks, I will update post :)</description>
		<content:encoded><![CDATA[<p>Opps :( you are right. Above command is to determine the actual size of a block on the filesystem.</p>
<p>Thanks, I will update post :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mj</title>
		<link>http://www.cyberciti.biz/tips/determine-block-size-on-hard-disk-quota.html#comment-162</link>
		<dc:creator>mj</dc:creator>
		<pubDate>Mon, 29 May 2006 11:57:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/tips/determine-block-size-on-hard-disk-quota.html#comment-162</guid>
		<description>hi,
i think that this is BLOCK SIZE OF FILESYSTEM not harddisk. Title is a bit missleading. BLOCK SIZE OF DISK is allmost always 512B</description>
		<content:encoded><![CDATA[<p>hi,<br />
i think that this is BLOCK SIZE OF FILESYSTEM not harddisk. Title is a bit missleading. BLOCK SIZE OF DISK is allmost always 512B</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.181 seconds -->
