<?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>NewPush &#187; LVM</title> <atom:link href="http://newpush.com/tag/lvm/feed/" rel="self" type="application/rss+xml" /><link>http://newpush.com</link> <description>Server Hosting, Data Warehouse Hosting, Collaboration</description> <lastBuildDate>Fri, 20 Apr 2012 10:25:44 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <item><title>Extending a Filesystem in AIX 6.1</title><link>http://newpush.com/2009/07/extending-a-filesystem-in-aix-6-1/</link> <comments>http://newpush.com/2009/07/extending-a-filesystem-in-aix-6-1/#comments</comments> <pubDate>Thu, 30 Jul 2009 16:38:07 +0000</pubDate> <dc:creator>Balazs</dc:creator> <category><![CDATA[AIX]]></category> <category><![CDATA[AIX 6.1]]></category> <category><![CDATA[IBM]]></category> <category><![CDATA[LVM]]></category><guid isPermaLink="false">http://www.wdream.com/?p=340</guid> <description><![CDATA[Aix allows extending a filesystem on the fly. This feature has been around for over 15 years. I first used it with AIX 3.1. What an AIX system is intalled, it can be set up with minimal requirements and then &#8230; <a href="http://newpush.com/2009/07/extending-a-filesystem-in-aix-6-1/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p>Aix allows extending a filesystem on the fly.  This feature has been around for over 15 years.  I first used it with AIX 3.1.  What an AIX system is intalled, it can be set up with minimal requirements and then each filesystem can be grown on the fly as needed.  In fact the installer has an option to grow automatically any file system as needed during the install of a new package.</p><p>However, there is always a time when the physical limits of the available storage are reached.  In that case, it is needed to either add a physical disk to the machine, or add a LUN from the SAN, or add a virtual disk to the LPAR.  Next I show what to do once the additional physical storage has been added:</p><ul><li>First lets make sure that the new storage is recognized:<code>lspv</code> will list the recognized storage units.  If the new storage is regocnized, it will be visible on a line like:<pre>
hdiskX               none             none</pre><p>&#8220;X&#8221; is a placeholder for a number, like &#8220;hdisk3.&#8221;  If the new storage isn&#8217;t visible yet, then we need to tell AIX to look for it with: <code>cfgmgr</code> this command should take only a few seconds to rescan the system.  Once it returns list the physical volumes again, and you should see the new volume.</li><li>Now we need to decide which logical volume to extend.  The list of logical volumes is shown by <code>lsvg</code>.  On simple installs, all you will see is <code>rootvg</code>.  To extend <code>rootvg</code> all you have to do is:<pre>
extendvg rootvg hdiskX</pre></li><li>Finally we can grow the file system that we needed to grow either with <code>smit</code>, <code>smitty</code> or the direct command <code>chfs</code>.  For example:<pre>
chfs -a size=+1048576 /opt</pre></li></ul><h4>References</h4><ul><li><a href="http://networktechnologist.com/tips-aix-lvm.html">Logical Volume Manager (LVM) Commands for AIX</a></li></ul> ]]></content:encoded> <wfw:commentRss>http://newpush.com/2009/07/extending-a-filesystem-in-aix-6-1/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Adding a second disk to an LVM</title><link>http://newpush.com/2009/01/adding-a-second-disk-to-an-lvm/</link> <comments>http://newpush.com/2009/01/adding-a-second-disk-to-an-lvm/#comments</comments> <pubDate>Fri, 23 Jan 2009 21:04:34 +0000</pubDate> <dc:creator>Balazs</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[add disk]]></category> <category><![CDATA[LVM]]></category> <category><![CDATA[resize]]></category> <category><![CDATA[storage]]></category><guid isPermaLink="false">http://www.wdream.com/archives/33</guid> <description><![CDATA[In a world of storage on demand and virtualized environments, adding more storage on the fly has become simple even on Linux machines without expensive software like Veritas storage manager.&#160; Here is how to proceed: need to use LVM or &#8230; <a href="http://newpush.com/2009/01/adding-a-second-disk-to-an-lvm/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p>In a world of storage on demand and virtualized environments, adding more storage on the fly has become simple even on Linux machines without expensive software like Veritas storage manager.&nbsp; Here is how to proceed:<ul><li>need to use LVM or LVM 2</li><li>add the new disk as an LVM capable physical volume: pvcreate /dev/sdb (or hdX)</li><li>add the new disk to the volume group, e.g. vgextend VolGroup00 /dev/sdb</li><li>extend the logical volume, e.g. lvextend -L +55G /dev/VolGroup00/LogVol00</li><li>unmount the volume to resize (this may require stopping services and/or boot into rescue mode)</li><li>check the partition: e2fsck -f /dev/VolGroup00/LogVol00</li><li>resizet the partition: resize2fs /dev/VolGroup00/LogVol00</li></ul><p>If booting from rescue, before you can act on the partition, you need to enable it with:<ul><li>vgchange -a y VolGroup00</li><li>lvchange -a y /dev/VolGroup00/LogVol00</li></ul> ]]></content:encoded> <wfw:commentRss>http://newpush.com/2009/01/adding-a-second-disk-to-an-lvm/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
<!-- Served from: newpush.com @ 2012-05-22 12:13:06 by W3 Total Cache -->
