resize2fs: Permission denied to resize filesystem

Solution Verified - Updated -

Issue

  • Getting resize2fs: Permission denied to resize filesystem when online resizing the filesystem:

    [root@localhost~]# resize2fs  /dev/mapper/vgtest01-lvtest01
    resize2fs 1.42.9 (28-Dec-2013)
    Filesystem at /dev/mapper/vgtest01-lvtest is mounted on /test01; on-line resizing required
    old_desc_blocks = 148, new_desc_blocks = 165
    resize2fs: Permission denied to resize filesystem
    

Environment

  • Red Hat Enterprise Linux (RHEL) 6, 7
  • EXT4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content