linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] e2fsadm Q's
@ 1999-08-27  3:44 Andreas Dilger
  0 siblings, 0 replies; 3+ messages in thread
From: Andreas Dilger @ 1999-08-27  3:44 UTC (permalink / raw)
  To: Linux LVM mailing list

Johhny Brassow writes:
> The reason I'm asking is because I am going to start work on a file 
> system resizer for GFS.  I would like it to be an online resizer (mmm... 
> lots of problems:).  Does anyone have any experience in this or could 
> point me to some source code (other than the LVM stuff - I'm looking that 
> over now:)?

There are several ext2 offline resizers available, as well as my online
ext2 resizer.  If the filesystem is structured correctly on disk, there
isn't much change needed in the kernel to make online resizing work.  I
did much of the change in user-space, and then called (effectively):

mount -o remount,resize=<new block count> /dev/XXX

to have the kernel do the modifications to the parts of the superblock in
use, and to update the kernel data about the filesystem.  If you are
going to write a similar tool for GFS, feel free to use my code, and it
would be nice to keep the interfaces to the user-space tools and kernel
as similar as possible, so maybe there can be a common front-end (like
there is with fsck calling fsck.ext2, etc).

Cheers, Andreas
-- 
Andreas Dilger  University of Calgary \ "If a man ate a pound of pasta and
                Micronet Research Group \ a pound of antipasto, would they
Dept of Electrical & Computer Engineering \  cancel out, leaving him still
http://www-mddsp.enel.ucalgary.ca/People/adilger/      hungry?" -- Dogbert

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [linux-lvm] e2fsadm Q's
  1999-08-26 16:37 Jonny B.
@ 1999-08-26 16:45 ` Heinz Mauelshagen
  0 siblings, 0 replies; 3+ messages in thread
From: Heinz Mauelshagen @ 1999-08-26 16:45 UTC (permalink / raw)
  To: Jonny B.; +Cc: mge, linux-lvm

> 
> I see that in order to resize ext2 file systems, you need this 
> "resize2fs" tool.  However, you need to have registered PartitionMagic 
> 3.x in order to download it.

Yep 8*(

It should be open source in January 2000 as Ted Ts'o said a while ago.

> 
> So, I'm thinking that this product is probably not open source.  If I'm 
> wrong (or I can get a developement version of some source code 
> somewhere), could someone please tell me?
> 
> The reason I'm asking is because I am going to start work on a file 
> system resizer for GFS.  I would like it to be an online resizer (mmm... 
> lots of problems:).

True ;*)

> Does anyone have any experience in this or could 
> point me to some source code (other than the LVM stuff - I'm looking that 
> over now:)?
> 

Did you see the ext2 resizer links at <http://linux.msede.com>

You can find a bunch of open sourced code behind those links.


Regards,
Heinz
--

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Systemmanagement CS-TS                           T-Nova
                                                 Entwicklungszentrum Darmstadt
Heinz Mauelshagen                                Otto-Roehm-Strasse 71c
Senior Systems Engineer                          Postfach 10 05 41
                                                 64205 Darmstadt
mge@ez-darmstadt.telekom.de                      Germany
                                                 +49 6151 886-425
                                                          FAX-386
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [linux-lvm] e2fsadm Q's
@ 1999-08-26 16:37 Jonny B.
  1999-08-26 16:45 ` Heinz Mauelshagen
  0 siblings, 1 reply; 3+ messages in thread
From: Jonny B. @ 1999-08-26 16:37 UTC (permalink / raw)
  To: linux-lvm

I see that in order to resize ext2 file systems, you need this 
"resize2fs" tool.  However, you need to have registered PartitionMagic 
3.x in order to download it.

So, I'm thinking that this product is probably not open source.  If I'm 
wrong (or I can get a developement version of some source code 
somewhere), could someone please tell me?

The reason I'm asking is because I am going to start work on a file 
system resizer for GFS.  I would like it to be an online resizer (mmm... 
lots of problems:).  Does anyone have any experience in this or could 
point me to some source code (other than the LVM stuff - I'm looking that 
over now:)?

 brassow

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
There are more than 1,000 chemicals in coffee; of those, 26 have
been tested, of the 26, 1/2 cause cancer in laboratory rats.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1999-08-27  3:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-08-27  3:44 [linux-lvm] e2fsadm Q's Andreas Dilger
  -- strict thread matches above, loose matches on Subject: below --
1999-08-26 16:37 Jonny B.
1999-08-26 16:45 ` Heinz Mauelshagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).