LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-26-2014, 07:44 AM   #1
smilemukul
Member
 
Registered: Jun 2009
Distribution: Redhat,CentOS,Ubuntu,Puppet
Posts: 292

Rep: Reputation: 34
resize2fs: Inappropriate ioctl for device While trying to add group


Hi,

I am working on rhel 5.8, when I am using an online resizing tool as,

resize2fs /test
resize2fs: Inappropriate ioctl for device While trying to add group

but when using resize4fs /test, its executed successfully but when I reboot the server it gives me messages as,

kernel: EXT4-fs: Can't allocate: Allocation context details:
kernel: EXT4-fs: status 1 flags 3104
kernel: EXT4-fs: 0 scanned, 0 found
kernel: EXT4-fs: groups:
kernel: 128: 32254/0
kernel: 129: 32254/0
kernel: 130: 32254/0
kernel: 131: 32254/0
kernel: 132: 32254/0

Can I get any pointer why it happened & what need to be done to recover or it can be a bug ?
 
Old 03-27-2014, 12:27 AM   #2
smilemukul
Member
 
Registered: Jun 2009
Distribution: Redhat,CentOS,Ubuntu,Puppet
Posts: 292

Original Poster
Rep: Reputation: 34
actually the filesystem is ext3 but the device has been converted from ext3 to ext4 & on that resize4fs was executed.
 
Old 03-27-2014, 01:04 AM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,839

Rep: Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822
Ugh - resize4fs was a RHEL hack; basically it's a newer version of resize2fs with the (updated) ext4 support. I would be inclined to grab a backup and reallocate as ext4 then restore.
Best option might be to get up-to-date; what's RHEL up to these days ? - I'm sure I saw an announcement for the RHEL 7 beta a while back.
 
Old 03-27-2014, 04:57 AM   #4
smilemukul
Member
 
Registered: Jun 2009
Distribution: Redhat,CentOS,Ubuntu,Puppet
Posts: 292

Original Poster
Rep: Reputation: 34
thats fine as resize4fs is working but I am concern about the log messages I am receiving as,

kernel: EXT4-fs: Can't allocate: Allocation context details:
kernel: EXT4-fs: status 1 flags 3104
kernel: EXT4-fs: 0 scanned, 0 found
kernel: EXT4-fs: groups:
kernel: 128: 32254/0
kernel: 129: 32254/0
kernel: 130: 32254/0
kernel: 131: 32254/0
kernel: 132: 32254/0
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
resize2fs: No space left on device While trying to add group #6 the green one Linux - Newbie 1 09-30-2009 09:05 AM
Inappropriate ioctl for device with perl Punakuono Linux - Newbie 3 05-15-2009 03:05 AM
resize2fs: No space left on device While trying to add group #4 mahe_25 Linux - Newbie 3 02-18-2008 12:35 AM
inappropriate ioctl for device praetorrian Linux - Software 1 05-09-2006 01:11 AM
Inappropriate ioctl for device(25) why1957 Linux - Networking 0 08-03-2003 05:45 AM


All times are GMT -5. The time now is 04:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration