<?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: I Like My File Systems Chunky: UnionsFS and ChunkFS</title>
	<atom:link href="http://www.linux-mag.com/id/7437/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.linux-mag.com/id/7437/</link>
	<description>Open Source, Open Standards</description>
	<lastBuildDate>Sat, 05 Oct 2013 13:48:18 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
	<item>
		<title>By: typhoidmary</title>
		<link>http://www.linux-mag.com/id/7437/#comment-6744</link>
		<dc:creator>typhoidmary</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.linux-mag.com/id/7437/#comment-6744</guid>
		<description>&lt;p&gt;Why would you not just use device mapper with LVM or EVM?
&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Why would you not just use device mapper with LVM or EVM?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: laytonjb</title>
		<link>http://www.linux-mag.com/id/7437/#comment-6745</link>
		<dc:creator>laytonjb</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.linux-mag.com/id/7437/#comment-6745</guid>
		<description>&lt;p&gt;There are two reasons you don\&#039;t want to use LVM.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;1.&lt;/strong&gt; File systems such as ext3 have limited sizes but there are people who want to use ext3 for larger file systems. LVM doesn\&#039;t help in this context.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;2.&lt;/strong&gt; LVM doesn\&#039;t help with the &lt;code&gt;fsck&lt;/code&gt; times. Breaking up the file system into chunks can greatly reduce &lt;code&gt;fsck&lt;/code&gt; time.&lt;/p&gt;
&lt;p&gt;However, I am a proponent of using LVM if the file system is capable of growing to use added space. Emotionally I like the concept of shrinking a file system to gain back some space that I then can allocate somewhere else. But I have yet to do this myself and no one I\&#039;ve spoken with has done it yet (I\&#039;m sure there are people who would like to do - if so, let us know).&lt;/p&gt;
&lt;p&gt;If you are referring to the \&quot;homework\&quot; of using LVM, then I think that is a good solution (another person has emailed me about that as well).&lt;/p&gt;
&lt;p&gt;BTW - my email address in the original article is incorrect. It should be jlayton _at_ linux-mag.com. I fixed the article but the cache may trip up people.&lt;/p&gt;
&lt;p&gt;Thanks for the post!&lt;/p&gt;
&lt;p&gt;Jeff
&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>There are two reasons you don\&#8217;t want to use LVM.</p>
<p><strong>1.</strong> File systems such as ext3 have limited sizes but there are people who want to use ext3 for larger file systems. LVM doesn\&#8217;t help in this context.</p>
<p><strong>2.</strong> LVM doesn\&#8217;t help with the <code>fsck</code> times. Breaking up the file system into chunks can greatly reduce <code>fsck</code> time.</p>
<p>However, I am a proponent of using LVM if the file system is capable of growing to use added space. Emotionally I like the concept of shrinking a file system to gain back some space that I then can allocate somewhere else. But I have yet to do this myself and no one I\&#8217;ve spoken with has done it yet (I\&#8217;m sure there are people who would like to do &#8211; if so, let us know).</p>
<p>If you are referring to the \&#8221;homework\&#8221; of using LVM, then I think that is a good solution (another person has emailed me about that as well).</p>
<p>BTW &#8211; my email address in the original article is incorrect. It should be jlayton _at_ linux-mag.com. I fixed the article but the cache may trip up people.</p>
<p>Thanks for the post!</p>
<p>Jeff</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: caletronics</title>
		<link>http://www.linux-mag.com/id/7437/#comment-6746</link>
		<dc:creator>caletronics</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.linux-mag.com/id/7437/#comment-6746</guid>
		<description>&lt;p&gt;For a long time I\&#039;ve been using bind mounts (see below). I get the manageability of individual disks, one coherent /home, but, also (unlike chunkFS?) the ability to restrict the \&quot;view\&quot; to different NFS clients. I also share the pitfall of filling one disk while another may have lots of free space.&lt;/p&gt;
&lt;p&gt;My question: what does chunkFS get me compared to bind mounts?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;br /&gt;
Chris D&lt;/p&gt;
&lt;p&gt;For clarity I\&#039;m just showing excerpts. It\&#039;s worth pointing out that except for serval and ocelot other clients are unable to see my home directory and therefore the music directory inside that. But using bind I can also mount the music disk where all clients can see it.&lt;br /&gt;
/etc/fstab:&lt;br /&gt;
...&lt;br /&gt;
/dev/k01/01.3 /disk/01.3/ xfs rw 0 0&lt;br /&gt;
/dev/k02/02.3 /disk/02.3/ xfs rw 0 0&lt;br /&gt;
/dev/k03/03.1 /disk/03.1/ xfs rw 0 0&lt;br /&gt;
/disk/02.3/home/chrisd /home/chrisd none  rw,bind 0 0&lt;br /&gt;
/disk/01.3/mythtv /home/mythtv none rw,bind 0 0&lt;br /&gt;
/disk/03.1/music /home/chrisd/music  none rw,bind 0 0&lt;br /&gt;
/disk/03.1/music /home/mythtv/music  none ro,bind 0 0&lt;br /&gt;
...&lt;/p&gt;
&lt;p&gt;/etc/exports:&lt;br /&gt;
/home *(ro,fsid=0,no_root_squash,no_subtree_check,insecure)&lt;br /&gt;
/home/chrisd serval.zoo(rw,nohide,no_root_squash,no_subtree_check) \\&lt;br /&gt;
             ocelot.zoo(ro,nohide,no_root_squash,no_subtree_check)&lt;br /&gt;
/home/chrisd/music serval.zoo(rw,nohide,no_root_squash,no_subtree_check) \\&lt;br /&gt;
                   ocelot.zoo(ro,nohide,no_root_squash,no_subtree_check)&lt;br /&gt;
/home/mythtv *(ro,nohide,no_root_squash,no_subtree_check,insecure) \\&lt;br /&gt;
             serval.zoo(rw,nohide,no_root_squash,no_subtree_check)&lt;br /&gt;
/home/mythtv/music *(ro,nohide,no_root_squash,no_subtree_check,insecure)&lt;br /&gt;
...
&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>For a long time I\&#8217;ve been using bind mounts (see below). I get the manageability of individual disks, one coherent /home, but, also (unlike chunkFS?) the ability to restrict the \&#8221;view\&#8221; to different NFS clients. I also share the pitfall of filling one disk while another may have lots of free space.</p>
<p>My question: what does chunkFS get me compared to bind mounts?</p>
<p>Thanks,<br />
Chris D</p>
<p>For clarity I\&#8217;m just showing excerpts. It\&#8217;s worth pointing out that except for serval and ocelot other clients are unable to see my home directory and therefore the music directory inside that. But using bind I can also mount the music disk where all clients can see it.<br />
/etc/fstab:<br />
&#8230;<br />
/dev/k01/01.3 /disk/01.3/ xfs rw 0 0<br />
/dev/k02/02.3 /disk/02.3/ xfs rw 0 0<br />
/dev/k03/03.1 /disk/03.1/ xfs rw 0 0<br />
/disk/02.3/home/chrisd /home/chrisd none  rw,bind 0 0<br />
/disk/01.3/mythtv /home/mythtv none rw,bind 0 0<br />
/disk/03.1/music /home/chrisd/music  none rw,bind 0 0<br />
/disk/03.1/music /home/mythtv/music  none ro,bind 0 0<br />
&#8230;</p>
<p>/etc/exports:<br />
/home *(ro,fsid=0,no_root_squash,no_subtree_check,insecure)<br />
/home/chrisd serval.zoo(rw,nohide,no_root_squash,no_subtree_check) \\<br />
             ocelot.zoo(ro,nohide,no_root_squash,no_subtree_check)<br />
/home/chrisd/music serval.zoo(rw,nohide,no_root_squash,no_subtree_check) \\<br />
                   ocelot.zoo(ro,nohide,no_root_squash,no_subtree_check)<br />
/home/mythtv *(ro,nohide,no_root_squash,no_subtree_check,insecure) \\<br />
             serval.zoo(rw,nohide,no_root_squash,no_subtree_check)<br />
/home/mythtv/music *(ro,nohide,no_root_squash,no_subtree_check,insecure)<br />
&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: drogo</title>
		<link>http://www.linux-mag.com/id/7437/#comment-6747</link>
		<dc:creator>drogo</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.linux-mag.com/id/7437/#comment-6747</guid>
		<description>&lt;p&gt;I\&#039;ve shrunken an LVM device before. &lt;/p&gt;
&lt;p&gt;I wanted to backup a smallish RAID-5 array (3x200G drives) and came across the snapshot ability. Since I had originally used all the extents when I first created the array, I had to shrink the filesystem, then free up a few extents for the snapshot.&lt;/p&gt;
&lt;p&gt;I was successful, but I did have a fresh backup sitting right next to the system. Heck, the backup was probably the voodoo I needed to ensure success. :D
&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I\&#8217;ve shrunken an LVM device before. </p>
<p>I wanted to backup a smallish RAID-5 array (3x200G drives) and came across the snapshot ability. Since I had originally used all the extents when I first created the array, I had to shrink the filesystem, then free up a few extents for the snapshot.</p>
<p>I was successful, but I did have a fresh backup sitting right next to the system. Heck, the backup was probably the voodoo I needed to ensure success. :D</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: typhoidmary</title>
		<link>http://www.linux-mag.com/id/7437/#comment-6748</link>
		<dc:creator>typhoidmary</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.linux-mag.com/id/7437/#comment-6748</guid>
		<description>&lt;p&gt;I think my point about LVM was missed. The idea of a chunky FS is that you manage the fact that ext3 becomes less and less practical the bigger the span it has to cover. So a chunky FS system is really several smaller ext3 FS working \&quot;seamlessly\&quot; together. This is one of the things LVM does. While LVM is designed to grow and shrink and also span disks, there is nothing to stop it from spanning volumes on a disk. &lt;/p&gt;
&lt;p&gt;So take that 1 TB drive, partition it in 10 GB (to take a size at random) sections, and combine these sections as 1 logical volume. ext3 then takes care of a FS section closer to it\&#039;s \&quot;comfort\&quot; level, while LVM handles the issue of files spanning partitions. &lt;/p&gt;
&lt;p&gt;The question remaining is whether or not fsck can run on the individual partitions, or if it must run on the logical volume. If it can\&#039;t handle just the partition, then this is a great feature request for the LVM project.
&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I think my point about LVM was missed. The idea of a chunky FS is that you manage the fact that ext3 becomes less and less practical the bigger the span it has to cover. So a chunky FS system is really several smaller ext3 FS working \&#8221;seamlessly\&#8221; together. This is one of the things LVM does. While LVM is designed to grow and shrink and also span disks, there is nothing to stop it from spanning volumes on a disk. </p>
<p>So take that 1 TB drive, partition it in 10 GB (to take a size at random) sections, and combine these sections as 1 logical volume. ext3 then takes care of a FS section closer to it\&#8217;s \&#8221;comfort\&#8221; level, while LVM handles the issue of files spanning partitions. </p>
<p>The question remaining is whether or not fsck can run on the individual partitions, or if it must run on the logical volume. If it can\&#8217;t handle just the partition, then this is a great feature request for the LVM project.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: laytonjb</title>
		<link>http://www.linux-mag.com/id/7437/#comment-6749</link>
		<dc:creator>laytonjb</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.linux-mag.com/id/7437/#comment-6749</guid>
		<description>&lt;p&gt;@typhoidmary&lt;br /&gt;
I don\&#039;t think I missed your point but maybe you don\&#039;t see the difference between the two concepts. With your concept you combine partitions using LVM into a logical volume that you then use ext3. So for example, you could take five 1TB drives into a single 5TB LV. But when you run an fsck on the file system you are still running it across a single file system.&lt;/p&gt;
&lt;p&gt;Using the principles of ChunkFS you can combine separate file systems into a single logical file system using UnionFS. In this approach, for example, you would create an ext3 file system on each of the 5 drives, then combine them using UnionFS into a seemingly single file system. If you need to run an fsck you can run it on one of 5 pieces without having to run it on all 5.&lt;/p&gt;
&lt;p&gt;Note that you can still use LVM to create the LV\&#039;s for each of the \&quot;chunks\&quot; and combine them with UnionFS.&lt;/p&gt;
&lt;p&gt;So the big difference between your approach the approach in the article is that your approach creates a single ext3 file system and the article creates multiple ext3 file systems and combine them using UnionFS. Your approach allows you to have files that fill up the entire file system but the fsck is slow. In the approach in the article you can fill a chunk without filling the entire union, possibly causing problems. But the fsck is much faster than your approach.&lt;/p&gt;
&lt;p&gt;Does this make sense or did I make it worse?&lt;/p&gt;
&lt;p&gt;Jeff
&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>@typhoidmary<br />
I don\&#8217;t think I missed your point but maybe you don\&#8217;t see the difference between the two concepts. With your concept you combine partitions using LVM into a logical volume that you then use ext3. So for example, you could take five 1TB drives into a single 5TB LV. But when you run an fsck on the file system you are still running it across a single file system.</p>
<p>Using the principles of ChunkFS you can combine separate file systems into a single logical file system using UnionFS. In this approach, for example, you would create an ext3 file system on each of the 5 drives, then combine them using UnionFS into a seemingly single file system. If you need to run an fsck you can run it on one of 5 pieces without having to run it on all 5.</p>
<p>Note that you can still use LVM to create the LV\&#8217;s for each of the \&#8221;chunks\&#8221; and combine them with UnionFS.</p>
<p>So the big difference between your approach the approach in the article is that your approach creates a single ext3 file system and the article creates multiple ext3 file systems and combine them using UnionFS. Your approach allows you to have files that fill up the entire file system but the fsck is slow. In the approach in the article you can fill a chunk without filling the entire union, possibly causing problems. But the fsck is much faster than your approach.</p>
<p>Does this make sense or did I make it worse?</p>
<p>Jeff</p>
]]></content:encoded>
	</item>
</channel>
</rss>