<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://wiki.ledhed.net/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.ledhed.net/index.php?action=history&amp;feed=atom&amp;title=Extending_a_Logical_Volume_with_LVM</id>
		<title>Extending a Logical Volume with LVM - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.ledhed.net/index.php?action=history&amp;feed=atom&amp;title=Extending_a_Logical_Volume_with_LVM"/>
		<link rel="alternate" type="text/html" href="https://wiki.ledhed.net/index.php?title=Extending_a_Logical_Volume_with_LVM&amp;action=history"/>
		<updated>2026-04-29T09:29:38Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.23.2</generator>

	<entry>
		<id>//wiki.ledhed.net/index.php?title=Extending_a_Logical_Volume_with_LVM&amp;diff=3344&amp;oldid=prev</id>
		<title>Ledhed: Created page with &quot;== Overview == Down and dirty on how to add storage to an existing LVM and grow the filesystem.   == Steps ==  Add physical storage to the server, this can be physical or virt...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.ledhed.net/index.php?title=Extending_a_Logical_Volume_with_LVM&amp;diff=3344&amp;oldid=prev"/>
				<updated>2016-09-08T22:35:27Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Overview == Down and dirty on how to add storage to an existing LVM and grow the filesystem.   == Steps ==  Add physical storage to the server, this can be physical or virt...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Overview ==&lt;br /&gt;
Down and dirty on how to add storage to an existing LVM and grow the filesystem.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Steps ==&lt;br /&gt;
&lt;br /&gt;
Add physical storage to the server, this can be physical or virtual. &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Prepare the new storage with fdisk&lt;br /&gt;
&lt;br /&gt;
Find the new storage&lt;br /&gt;
 fdisk -l&lt;br /&gt;
Lets assume its /dev/sdb&lt;br /&gt;
&lt;br /&gt;
Now lets create a new partition&lt;br /&gt;
 fdisk /dev/sdb&lt;br /&gt;
 n   &amp;lt;-- New Partition&lt;br /&gt;
 p   &amp;lt;-- Primary&lt;br /&gt;
 1   &amp;lt;-- First Partition&lt;br /&gt;
 t   &amp;lt;-- Change Volume Type&lt;br /&gt;
 8e  &amp;lt;-- Set type to Linux LVM&lt;br /&gt;
 w   &amp;lt;-- Write changes to partition table&lt;br /&gt;
This creates /dev/sdb1&lt;br /&gt;
&lt;br /&gt;
Add new partition to Volume Group&lt;br /&gt;
 pvcreate /dev/sdb1&lt;br /&gt;
&lt;br /&gt;
Get LVM Info&lt;br /&gt;
 lvdisplay&lt;br /&gt;
&lt;br /&gt;
Extent the Volume Group&lt;br /&gt;
 vgextend VG_NAME /dev/sdb1&lt;br /&gt;
VG_NAME can be obtained from lvdisplay&lt;br /&gt;
&lt;br /&gt;
Extend the Logical Volume&lt;br /&gt;
 lvextend -l +100%FREE LV_PATH&lt;br /&gt;
LV_PATH can be obtained from lvdisplay&lt;br /&gt;
&lt;br /&gt;
Grow the filesystem&lt;br /&gt;
 resize2fs LV_PATH&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Wait for resize2fs to complete and you're done.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Reference ==&lt;br /&gt;
https://access.redhat.com/solutions/24770&lt;br /&gt;
&lt;br /&gt;
http://www.tecmint.com/extend-and-reduce-lvms-in-linux/&lt;br /&gt;
&lt;br /&gt;
https://www.centos.org/docs/5/html/Cluster_Logical_Volume_Manager/lv_extend.html&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Linux]]&lt;/div&gt;</summary>
		<author><name>Ledhed</name></author>	</entry>

	</feed>