resize2fs fails with the message "Inappropriate ioctl for device While trying to add group #<X>"

Solution Unverified - Updated -

Issue

  • resize2fs fails with the message "Inappropriate ioctl for device While trying to add group #"
# resize2fs /dev/mapper/vg00-opt
resize2fs 1.39 (29-May-2006)
Filesystem at /dev/mapper/vg00-opt is mounted on /opt; on-line resizing required
Performing an on-line resize of /dev/mapper/vg00-opt to 1048576 (4k) blocks.
resize2fs: Inappropriate ioctl for device While trying to add group #24

Environment

  • Red Hat Enterprise Linux 5

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