<?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: Disk Space: The Final Frontier</title>
	<atom:link href="http://www.linux-mag.com/id/7813/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.linux-mag.com/id/7813/</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: eperry</title>
		<link>http://www.linux-mag.com/id/7813/#comment-8513</link>
		<dc:creator>eperry</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.linux-mag.com/id/7813/#comment-8513</guid>
		<description>&lt;p&gt;Step 9 I personally believe that you should not remove the directory until you reboot at least once.&lt;/p&gt;
&lt;p&gt;To be safe it would be better to do the following&lt;br /&gt;
mv /usr /usr1&lt;br /&gt;
mkdir -p 755 /usr&lt;/p&gt;
&lt;p&gt;then after step 10 (the reboot) just clean up after your self&lt;br /&gt;
rm -rf1 /usr1
&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Step 9 I personally believe that you should not remove the directory until you reboot at least once.</p>
<p>To be safe it would be better to do the following<br />
mv /usr /usr1<br />
mkdir -p 755 /usr</p>
<p>then after step 10 (the reboot) just clean up after your self<br />
rm -rf1 /usr1</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: palov@bio.bas.bg</title>
		<link>http://www.linux-mag.com/id/7813/#comment-8514</link>
		<dc:creator>palov@bio.bas.bg</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.linux-mag.com/id/7813/#comment-8514</guid>
		<description>&lt;p&gt;I\&#039;d better mount the already populated \&quot;new\&quot; /dev/hdc1 over existing /usr, after step 7 and make some checks, and then fix /etc/fdisk in step 8; then I will mount /dev/hda1 on a temporary mount point, e.g. /mnt/tmp and there will remove /mnt/tmp/usr/* - cause I\&#039;m not sure how happy will be a running system with an empty /usr between steps 9 and 10! Maybe, before removing the old /usr/* I\&#039;d  make an \&quot;rsync -avn /mnt/tmp/usr/ /usr/\&quot; as a last check?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Petko
&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I\&#8217;d better mount the already populated \&#8221;new\&#8221; /dev/hdc1 over existing /usr, after step 7 and make some checks, and then fix /etc/fdisk in step 8; then I will mount /dev/hda1 on a temporary mount point, e.g. /mnt/tmp and there will remove /mnt/tmp/usr/* &#8211; cause I\&#8217;m not sure how happy will be a running system with an empty /usr between steps 9 and 10! Maybe, before removing the old /usr/* I\&#8217;d  make an \&#8221;rsync -avn /mnt/tmp/usr/ /usr/\&#8221; as a last check?</p>
<p>Regards,</p>
<p>Petko</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dbayer</title>
		<link>http://www.linux-mag.com/id/7813/#comment-8515</link>
		<dc:creator>dbayer</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.linux-mag.com/id/7813/#comment-8515</guid>
		<description>&lt;p&gt;I\&#039;m with eperry on this one.  If something were to go wrong, it makes for a much quicker &amp; easier fix, while at the same time adding only slightly to the work required to add the disk.
&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I\&#8217;m with eperry on this one.  If something were to go wrong, it makes for a much quicker &#38; easier fix, while at the same time adding only slightly to the work required to add the disk.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: symeonb</title>
		<link>http://www.linux-mag.com/id/7813/#comment-8516</link>
		<dc:creator>symeonb</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.linux-mag.com/id/7813/#comment-8516</guid>
		<description>&lt;p&gt;Interesting perhaps, but nowhere in the title or resume does this mention it is infact for a vbox ! ?   so perhaps not all that useful for many linux admins.
&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Interesting perhaps, but nowhere in the title or resume does this mention it is infact for a vbox ! ?   so perhaps not all that useful for many linux admins.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dragonwisard</title>
		<link>http://www.linux-mag.com/id/7813/#comment-8517</link>
		<dc:creator>dragonwisard</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.linux-mag.com/id/7813/#comment-8517</guid>
		<description>&lt;p&gt;@symeonb: I agree, it seems misleading. However I think it\&#039;s implied that the same technique he demonstrates with virtual disks could be replicated in meat-space with physical disks.
&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>@symeonb: I agree, it seems misleading. However I think it\&#8217;s implied that the same technique he demonstrates with virtual disks could be replicated in meat-space with physical disks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cldavisjr</title>
		<link>http://www.linux-mag.com/id/7813/#comment-8518</link>
		<dc:creator>cldavisjr</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.linux-mag.com/id/7813/#comment-8518</guid>
		<description>&lt;p&gt;Great article!  Simple and straight forward. Many different scenarios exist for this problem. Your example of it happening with a VM is appropriate. Once adding a new \&quot;disk\&quot; for your VM your solution follows and given no errors it is simple and easy to verify. With a VM (at least ours) you can take a snapshot of the current VM image and should a problem arise after editing the /etc/fstab or related to the newly created partition you can reboot into the backup VM image, mount the new partition on a temporary mount point and troubleshoot.&lt;br /&gt;
How about an additional article on the new file system features that allow dynamically growing a partition in a non-VM environment? They are a boon to the Linux community and have added to Linux\&#039; ability to stay at the top of the server world.
&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Great article!  Simple and straight forward. Many different scenarios exist for this problem. Your example of it happening with a VM is appropriate. Once adding a new \&#8221;disk\&#8221; for your VM your solution follows and given no errors it is simple and easy to verify. With a VM (at least ours) you can take a snapshot of the current VM image and should a problem arise after editing the /etc/fstab or related to the newly created partition you can reboot into the backup VM image, mount the new partition on a temporary mount point and troubleshoot.<br />
How about an additional article on the new file system features that allow dynamically growing a partition in a non-VM environment? They are a boon to the Linux community and have added to Linux\&#8217; ability to stay at the top of the server world.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: knightperson</title>
		<link>http://www.linux-mag.com/id/7813/#comment-8519</link>
		<dc:creator>knightperson</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.linux-mag.com/id/7813/#comment-8519</guid>
		<description>&lt;p&gt;While a reasonable option in some situations, this solution only works if it\&#039;s a system that can be shut down while you do the maintenance. If you don\&#039;t boot to single user mode, there\&#039;s the possibility that the old and new copies of /usr will end up different, or if you use mv then you will have parts of the OS not working when their /usr files suddenly disappear. In my opinion, a better solution, although it requires some forethought when building the machine, is to use LVM. With LVM and modern filesystems (most of the ones newer than ext3 can do this), you can do this all without rebooting the system or even unmounting anything.&lt;/p&gt;
&lt;p&gt;Going from memory, the steps would be&lt;br /&gt;
1) create the new partition with a hex ID of LVM physical volume (sfdisk or similar)&lt;br /&gt;
2) Put an LVM physical volume on the partition (pvcreate)&lt;br /&gt;
3) add it to the LVM system (vgchange, I think)&lt;br /&gt;
4) extend the volume group used by / to include the new physical volume (lvextend)&lt;br /&gt;
5) resize and expand the root filesystem (depends on the filesystem)&lt;/p&gt;
&lt;p&gt;It\&#039;s still a good idea to have your partitions separated when you build the system, of course, but LVM gives you much more flexibility in growing their sizes when necessary.
&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>While a reasonable option in some situations, this solution only works if it\&#8217;s a system that can be shut down while you do the maintenance. If you don\&#8217;t boot to single user mode, there\&#8217;s the possibility that the old and new copies of /usr will end up different, or if you use mv then you will have parts of the OS not working when their /usr files suddenly disappear. In my opinion, a better solution, although it requires some forethought when building the machine, is to use LVM. With LVM and modern filesystems (most of the ones newer than ext3 can do this), you can do this all without rebooting the system or even unmounting anything.</p>
<p>Going from memory, the steps would be<br />
1) create the new partition with a hex ID of LVM physical volume (sfdisk or similar)<br />
2) Put an LVM physical volume on the partition (pvcreate)<br />
3) add it to the LVM system (vgchange, I think)<br />
4) extend the volume group used by / to include the new physical volume (lvextend)<br />
5) resize and expand the root filesystem (depends on the filesystem)</p>
<p>It\&#8217;s still a good idea to have your partitions separated when you build the system, of course, but LVM gives you much more flexibility in growing their sizes when necessary.</p>
]]></content:encoded>
	</item>
</channel>
</rss>