Skip to contentSkip to conversation

lvm-0.6, Linux 2.2.9

linux-lvm Rolf Jakob 2 participants 3 messages Jun 18, 1999 – Jun 23, 1999 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Rolf Jakob

author
#1 lore raw
Quoted 10 lines

I had also found an old utility (extend2fs v0.1) at tsx-11.mit.edu (I think) which claimed to allow resizing of ext2 filesystems dynamically by concatenating disks. Since you could consider this conceptually the same as adding LEs to the end of a LV, it may be possible to modify the code to work with LVM. The code was originally written by Miguel de Icaza, but when I contacted him, he was too busy working on other projects (GNOME I think) to work on this anymore. If anyone is interested in this code, I can send it to them or put it on my web site, as it appears that tsx-11 is not currently available.

Yes, that is very interesting. Ext2fs has been there for quite a long time, so chances are good that it still works. I would like to take a look at it.

Could you please send it to me or mail the URL where you put it ?

Rolf

Signature · 2 lines
Rolf Jakob at home ([email protected])
WWW : http://www.franken.de/users/duffy1/rjakob (KDE-Utils and CCS)
#2 lore raw
Quoted 4 lines · Rolf

Yes, that is very interesting. Ext2fs has been there for quite a long time, so chances are good that it still works. I would like to take a look at it.

Could you please send it to me or mail the URL where you put it ?

I have uploaded the old ext2-volume-v0.1.tar.gz to my web site,
http://www-mddsp.enel.ucalgary.ca/People/adilger/ext2-volume-v0.1.tar.gz

as I couldn't connect to tsx-11 lately, which is where I found it originally. The good news is that the patch was developed for 2.1.42, so it is at least half-way to working with 2.2.

I had another quick look at the README/code, and it looks like LVM will help with some of the basic problems mentioned therein, such as handling multiple disk names, changing e2fsck, changing the mount command. All of those problems go away because we are growing an LV, rather than concatenating volumes. The one trick will be to build the basic ext2 stuctures on the extended part of the LV without touching the current filesystem - this may require modifications to mke2fs. Another good thing is that this definitely claims to work with a mounted filesystem, although it requires a remount a-la "mount -o remount,rw...", but I think this will work on an FS that has open files on it.

One note is that the original author, Miguel de Icaza, is no longer supporting this code (he's busy working on GNOME), so don't bug him about it.

Cheers, Andreas

Signature · 4 lines
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
author
#3 lore raw

Hi,

thanks for the link. Maybe we should bring the code to the author of ext2resize. A combination of both approaches may be what we are (or at least I am) looking for.

Quoted 4 lines

filesystem - this may require modifications to mke2fs. Another good thing is that this definitely claims to work with a mounted filesystem, although it requires a remount a-la "mount -o remount,rw...", but I think this will work on an FS that has open files on it.

Ah, that's it. I feel a resizable file system approaching ... ;-)

Rolf

Signature · 2 lines
Rolf Jakob at home ([email protected])
WWW : http://www.franken.de/users/duffy1/rjakob (KDE-Utils and CCS)