I received the following error when trying to perform an online resize2fs: Inappropriate ioctl for device While trying to add group #400

Solution Verified - Updated -

Issue

  • My logical volume extended with no issues, but while extending the filesystem, resize2fs command gave the following error and the filesystem failed to extend:
Extending filesystem xxxx
resize2fs 1.39 (29-May-2006)
/sbin/resize2fs: Inappropriate ioctl for device While trying to add group #400
Filesystem at /dev/xxxx/xxxx is mounted on /xxxx; on-line resizing required
Performing an on-line resize of /dev/xxxx/xxxx to 52425728 (4k) blocks.

Environment

  • Red Hat Enterprise Linux 5
  • Red Hat Enterprise Linux 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.