<?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>resize lvm partition ext4 &#8211; Scott Mcintyre</title>
	<atom:link href="https://scott.cm/tag/resize-lvm-partition-ext4/feed/" rel="self" type="application/rss+xml" />
	<link>https://scott.cm</link>
	<description>Web Operations Engineer,  Linux Systems Administrator,  mySQL DBA,  MongoDB DBA,  Python+PHP Developer,  Performance Engineer</description>
	<lastBuildDate>Sat, 19 Jan 2013 07:59:22 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.2.2</generator>
	<item>
		<title>Resizing ext4 partition centos 5</title>
		<link>https://scott.cm/resizing-ext4-partition-centos-5/</link>
				<comments>https://scott.cm/resizing-ext4-partition-centos-5/#respond</comments>
				<pubDate>Sat, 19 Jan 2013 07:58:09 +0000</pubDate>
		<dc:creator><![CDATA[Scott Mcintyre]]></dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[MongoDB]]></category>
		<category><![CDATA[/sbin/resize4fs]]></category>
		<category><![CDATA[centos resize ext4 partition]]></category>
		<category><![CDATA[e4fsprogs]]></category>
		<category><![CDATA[increase lvm partition]]></category>
		<category><![CDATA[increase lvm size]]></category>
		<category><![CDATA[increase lvm volume]]></category>
		<category><![CDATA[increase lvm volume size]]></category>
		<category><![CDATA[resize ext4 lvm partition]]></category>
		<category><![CDATA[resize ext4 partition]]></category>
		<category><![CDATA[resize ext4 partition centos]]></category>
		<category><![CDATA[resize lvm centos]]></category>
		<category><![CDATA[resize lvm partition]]></category>
		<category><![CDATA[resize lvm partition ext4]]></category>

		<guid isPermaLink="false">https://scott.cm/?p=233</guid>
				<description><![CDATA[On CentOS 5 the e4fsprogs RPM provides a separate binary (/sbin/resize4fs) for resizing ext4 partitions. # rpm -qf /sbin/resize2fs e2fsprogs-1.39-23.el5_5.1 # rpm -qf /sbin/resize4fs e4fsprogs-1.41.9-3.el5 As I found out today when resizing an LVM partition on one of our mongodb snapshot systems. # lvextend -L+50G /dev/mapper/mongo Extending logical volume mongo]]></description>
								<content:encoded><![CDATA[<p>On CentOS 5 the e4fsprogs RPM provides a separate binary (/sbin/resize4fs) for resizing ext4 partitions.</p>
<blockquote><p>
# <strong>rpm -qf /sbin/resize2fs</strong><br />
e2fsprogs-1.39-23.el5_5.1<br />
# <strong>rpm -qf /sbin/resize4fs</strong><br />
e4fsprogs-1.41.9-3.el5
</p></blockquote>
<p>As I found out today when resizing an LVM partition on one of our mongodb snapshot systems.</p>
<blockquote><p>
# <strong>lvextend -L+50G /dev/mapper/mongo</strong><br />
  Extending logical volume mongo to 150.00 GB<br />
  Logical volume mongo successfully resized<br />
# <strong>resize2fs /dev/mapper/mongo</strong><br />
resize2fs 1.39 (29-May-2006)<br />
resize2fs: Filesystem has unsupported feature(s) while trying to open /dev/mapper/mongo<br />
Couldn&#8217;t find valid filesystem superblock.
</p></blockquote>
<p>Having alook around I noticed the resize4fs binary which resized it successfully.</p>
<blockquote><p>
# <strong>resize4fs /dev/mapper/mongo</strong><br />
resize4fs 1.41.9 (22-Aug-2009)<br />
Filesystem at /dev/mapper/mongo is mounted on /var/lib/mongodb; on-line resizing required<br />
old desc_blocks = 7, new_desc_blocks = 10<br />
Performing an on-line resize of /dev/mapper/mongo to 39321600 (4k) blocks.
</p></blockquote>
]]></content:encoded>
							<wfw:commentRss>https://scott.cm/resizing-ext4-partition-centos-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
							</item>
	</channel>
</rss>
