<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://dikapediav2.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Resize2fs</id>
	<title>Resize2fs - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://dikapediav2.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Resize2fs"/>
	<link rel="alternate" type="text/html" href="https://dikapediav2.com/wiki/index.php?title=Resize2fs&amp;action=history"/>
	<updated>2026-05-15T07:13:28Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>https://dikapediav2.com/wiki/index.php?title=Resize2fs&amp;diff=161&amp;oldid=prev</id>
		<title>Ardika Sulistija: Created page with &quot;====“resize2fs: Permission denied to resize filesystem” error while online resize of a filesystem==== ----  Reference: https://www.thegeekdiary.com/resize2fs-permission-denied-to-resize-filesystem-error-while-online-resize-of-a-filesystem/  &lt;u&gt;The Problem&lt;/u&gt;:  On CentOS/RHEL 6, an LVM volume group size has been extended and an attempt to do online resize of ext4 filesystem on LVM volume group failed with following error.   resize2fs /dev/mapper/P05TRF1vg-vol_control...&quot;</title>
		<link rel="alternate" type="text/html" href="https://dikapediav2.com/wiki/index.php?title=Resize2fs&amp;diff=161&amp;oldid=prev"/>
		<updated>2024-09-11T14:23:56Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;====“resize2fs: Permission denied to resize filesystem” error while online resize of a filesystem==== ----  Reference: https://www.thegeekdiary.com/resize2fs-permission-denied-to-resize-filesystem-error-while-online-resize-of-a-filesystem/  &amp;lt;u&amp;gt;The Problem&amp;lt;/u&amp;gt;:  On CentOS/RHEL 6, an LVM volume group size has been extended and an attempt to do online resize of ext4 filesystem on LVM volume group failed with following error.   resize2fs /dev/mapper/P05TRF1vg-vol_control...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;====“resize2fs: Permission denied to resize filesystem” error while online resize of a filesystem====&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Reference: https://www.thegeekdiary.com/resize2fs-permission-denied-to-resize-filesystem-error-while-online-resize-of-a-filesystem/&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;The Problem&amp;lt;/u&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
On CentOS/RHEL 6, an LVM volume group size has been extended and an attempt to do online resize of ext4 filesystem on LVM volume group failed with following error.&lt;br /&gt;
&lt;br /&gt;
 resize2fs /dev/mapper/P05TRF1vg-vol_controlm&lt;br /&gt;
 resize2fs 1.43-WIP (20-Jun-2013)&lt;br /&gt;
 Filesystem at /dev/mapper/P05TRF1vg-vol_controlm is mounted on /controlM; on-line resizing required&lt;br /&gt;
 old_desc_blocks = 1, new_desc_blocks = 1&lt;br /&gt;
 resize2fs: Permission denied to resize filesystem&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;The Solution&amp;lt;/u&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
A file system inconsistency blocked the online resize of the disk, which can be observed in the messages as logged below:&lt;br /&gt;
&lt;br /&gt;
(From dmesg /messages)&lt;br /&gt;
 kernel: EXT4-fs warning (device dm-1): ext4_resize_begin:32: There are errors in the filesystem, so  online resizing is not allowed&lt;br /&gt;
 &lt;br /&gt;
 EXT4-fs (dm-4): warning: mounting fs with errors, running e2fsck is recommended&lt;br /&gt;
&lt;br /&gt;
Since the file system is in an inconsistent state, a file system check is required for this affected file system, so online resizing is not possible and the file system has to be unmounted.&lt;br /&gt;
&lt;br /&gt;
1. Umount the file system.&lt;br /&gt;
 # umount /controlM&lt;br /&gt;
&lt;br /&gt;
2. Perform a file system check.&lt;br /&gt;
 # e2fsck -y /dev/mapper/P05TRF1vg-vol_controlm&lt;br /&gt;
&lt;br /&gt;
3. Resize the file system.&lt;br /&gt;
 # resize2fs /dev/mapper/P05TRF1vg-vol_controlm&lt;br /&gt;
&lt;br /&gt;
4. Remount the file system:&lt;br /&gt;
 # mount /dev/mapper/P05TRF1vg-vol_controlm /controlM&lt;br /&gt;
&lt;br /&gt;
5. Check if the file system has been resized.&lt;br /&gt;
 # df -h&lt;br /&gt;
&lt;br /&gt;
Note: You can refer “man e2fsck” if you want to know more about this command.&lt;br /&gt;
 # man e2fsck&lt;/div&gt;</summary>
		<author><name>Ardika Sulistija</name></author>
	</entry>
</feed>