LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 08-22-2010, 04:27 PM   #1
JubJub
LQ Newbie
 
Registered: Aug 2010
Posts: 3

Rep: Reputation: 0
Online resize2fs: Operation not permitted While trying to add group #14080


Hello All,

I am running Oracle Enterprise Linux x64 5.5 on an HP Proliant DL380 G6 attached to various SAN's via fibre channel. I have setup multipath, edited multipath.conf, lvm.conf, and after some trial and error, everything behaves and looks as it should in regard to multipath.

However, when I try to resize a multipath ext3 lvm filesystem, The operation runs for a while, but then dies and I get the above error. I then see this error in /var/log/messages:

EXT3-fs warning (device dm-9): ext3_group_add: No reserved GDT blocks, can't resize

-I am only using the /dev/mapper/ paths to the filesystem (ie, resize2fs /dev/mapper/testvol-lvol1 128G)
-if I unmount the filesystem, resize2fs works fine
-Have tried removing and re-adding journal file via tune2fs with no luck
-The VG has plenty of room in it and is composed of a 100GB and 200GB partition.
-Inode resize is on in the filesystem

I am wondering if online resize2fs is only for small filesystems or not recommended as a best practice or just not generally done??? As I mentioned, the operation works fine offline if I unmount the filesystem, but this won't be an option once system is in production.

Any ideas? Thanks in advance!
 
Old 08-22-2010, 05:38 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,570

Rep: Reputation: 510Reputation: 510Reputation: 510Reputation: 510Reputation: 510Reputation: 510
Code:
tune2fs -l /dev/mapper/testvol-lvol1 | grep features
Does "resize_inode" appear? If no, your filesystem does not support online resizing. When was it created? New enough versions of mkfs (e2fsprogs 1.39) will include that by default.
 
Old 08-22-2010, 07:40 PM   #3
JubJub
LQ Newbie
 
Registered: Aug 2010
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks for the reply!

I meant to say that inode resize was on in original post, not resize inode.

Code:
tune2fs -l /dev/mapper/testvol-lvol1 | grep features
reveals:

Filesystem features: has_journal resize_inode dir_index filetype needs_recovery sparse_super


I just created FS today as I am testing, so it is an EXT3 filesystem. I just recreated a new FS from scratch from command line and same results. Started with a 400mb filesystem size and it died at 45GB with same error. I am wondering if online resize2fs only works with smaller filesystems less than 50GB...?

very strange...
 
Old 08-30-2010, 08:23 AM   #4
JubJub
LQ Newbie
 
Registered: Aug 2010
Posts: 3

Original Poster
Rep: Reputation: 0
Any ideas on this?

thnx
 
  


Reply

Tags
blocks, lvm, multipath, resize2fs


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
resize2fs ext3 online abhijeetdutta Linux - Server 1 11-10-2009 07:19 PM
resize2fs: No space left on device While trying to add group #6 the green one Linux - Newbie 1 09-30-2009 08:05 AM
resize2fs: No space left on device While trying to add group #4 mahe_25 Linux - Newbie 3 02-17-2008 11:35 PM
su - operation not permitted jrtayloriv Linux - Newbie 2 06-09-2005 09:27 PM
Operation not permitted FrozenShadow23 Linux - Newbie 6 10-05-2003 05:13 PM


All times are GMT -5. The time now is 04:35 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration