[ext2resize] Re: [Ext2-devel] current status of online resizing
Status: Inactive
Brought to you by:
adilger
From: Glauber de O. C. <go...@br...> - 2005-08-25 21:19:04
|
BTW, something I forgot to mention: I was using ext2resize 1.1.17 at that time. 1.1.19 worked fine, but I could not compile it on my system until I changed the definition of BLKGETSIZE64 at ext2_unix_io.c from #define BLKGETSIZE64 _IOR(0x12,114,sizeof(unsigned long long)) to #define BLKGETSIZE64 _IOR(0x12,114,unsigned long long) That was a quick fix, and I have no time to get a more detailed reason about which impacts would it bring on other parts of the code . Does it make sense to you ? glauber On Tue, Aug 23, 2005 at 07:02:15PM -0600, Andreas Dilger wrote: > On Aug 23, 2005 13:42 -0300, Glauber de Oliveira Costa wrote: > > I'm starting to go trough the online resizing code for ext3, but I'm > > having some troubles with it. It would be nice if someone could point me > > the right direction. Maybe I'm doing something silly at all... > > > > Let me by now just describe what I'm doing, and which results I'm getting. > > > > I first tried the ext2online userspace tool, but got no success with it. > > It returned me the error message bellow: > > > > ext2online: ext2_open: fs has unsupported feature(s) enabled:ext2online: > > can't open /home/glauber/teste > > If you are using the latest e2fsprogs it should have proper support > for online resizing (ext2online is part of e2fsprogs). > > > 1) the resize option was not even being parsed, and so I changed the > > code in super.c to be like this: > > {Opt_resize, "resize=%u"}, > > {Opt_err, NULL}, > > I just noticed this myself recently. > > Cheers, Andreas > -- > Andreas Dilger > Principal Software Engineer > Cluster File Systems, Inc. > |