[linux-lvm] lvm-0.6, Linux 2.2.9 and devfs-patch-v99.2

Heinz Mauelshagen mauelsha at ez-darmstadt.telekom.de
Mon Jun 21 01:41:37 UTC 1999


> 
> > What about:
> > 
> > http://www.dsv.nl/~buytenh/ext2resize/
> > 
> > i've no idea whether it works or not.
> 

Thanks Rolf for finding ext2resize 8*)

> It works - hmm, sometimes :-)

At here maybe 8*)
The author's example works.

Tried to extend a filesytem of 200M to 252M --> SEGFAULT --> 8*(
Extending from 200M to 204M --> SEGFAULT too.

Have to dig deaper into the code...


> I managed to resize a mounted file system and several times it was possible
> to copy more files on it after the resize. But from time to time I got an
> error saying "no space left on device" while df shows the free space
> correctly.

ext2 is not implemented with filesystem locking which is necessary
for mounted resizes. The resizer changes the on disk structs.

What you see should basically depend on what is in the cache and what isn't.

Another issue is, that ext2 Block Descriptor Tables don't have to
be changed in size, if extensions or reductions are small.

Your experience with "no space left on device" could by accident
correlate to these facts.

> Just some minutes ago I sent some feedback to the author (of course
> mentioning lvm :-) and a patch (the snapshot of June, 17th would not get
> the size of a block device).

It has to ensure, that the filesystem is not mounted as well!

> It looks very promising.

Yep.

Heinz
--

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

Systemmanagement C/S                             Deutsche Telekom AG
                                                 Entwicklungszentrum Darmstadt
Heinz Mauelshagen                                Otto-Roehm-Strasse 71c
Senior Systems Engineer                          Postfach 10 05 41
                                                 64205 Darmstadt
mge at ez-darmstadt.telekom.de                      Germany
                                                 +49 6151 886-425
                                                          FAX-386
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-



More information about the linux-lvm mailing list