resize2fs fails with the message "Inappropriate ioctl for device While trying to add group #<X>"
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.