lvm-0.6, Linux 2.2.9 and devfs-patch-v99.2
Hi,
as stated before lvm works with the devfs-patch-v99. Now I use a Linux 2.2.9 with lvm, devfs and dtfs patched in. (There is devfs-patch-v99-3, I haven't tried yet).
What would be nice as the next step is a resizable file system. Is there any ?
Best Regards,
Rolf
Signature · 2 lines
Rolf Jakob at home ([email protected]) WWW : http://www.franken.de/users/duffy1/rjakob (KDE-Utils and CCS)
Hello Jakob.
Quoted 3 lines
as stated before lvm works with the devfs-patch-v99. Now I use a Linux 2.2.9 with lvm, devfs and dtfs patched in. (There is devfs-patch-v99-3, I haven't tried yet).
Good to hear.
devfs support is already in the LVM TODO.
Quoted 4 lines
What would be nice as the next step is a resizable file system. Is there any ?
AFAIK we only have Ted Tso's resize2fs which is able to resize unmonted ext2fses.
It will be available under GPL next year.
For today you are only able to have an Intel binary copy as a Quarterdesk Partition Magic customer.
If you have the resize2fs binary the LVM e2fsadm(8) command is able to resize a logical volume _and_ the contained ext2fs.
Regards,
Heinz
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Systemmanagement C/S Deutsche Telekom AG
Entwicklungszentrum Darmstadt
Heinz Mauelshagen Otto-Roehm-Strasse 71c
Senior Systems Engineer Postfach 10 05 41
64205 Darmstadt [email protected] Germany +49 6151 886-425 FAX-386
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Quoted 7 lines · Heinz Mauelshagen
AFAIK we only have Ted Tso's resize2fs which is able to resize unmonted ext2fses.
It will be available under GPL next year.
For today you are only able to have an Intel binary copy as a Quarterdesk Partition Magic customer.
Hmm, I have that product and the Windows GUI part can resize ext2 partitions fine. But I fail to find an Linux binary, where is that? Is it on the CD or do I have to request that from the Partition Magic support staff?
Signature · 1 line
Jens-Uwe Mager <pgp-mailto:62CFDB25>
Quoted 7 lines · On Fri, 18 Jun 1999 20:15:26 +0200 Jens-Uwe Mager <[email protected]> wrote:
Quoted 5 lines · Heinz Mauelshagen
AFAIK we only have Ted Tso's resize2fs which is able to resize unmonted ext2fses.
It will be available under GPL next year.
Quoted 8 lines
Quoted 2 lines
For today you are only able to have an Intel binary copy as a Quarterdesk Partition Magic customer.
Hmm, I have that product and the Windows GUI part can resize ext2 partitions
fine. But I fail to find an Linux binary, where is that? Is it on the CD or do
I have to request that from the Partition Magic support staff?
Go to Quarterdeck WWW site and search for ext2 or ext2fs. That should find it -- last I knew it was available for download by registered customers from their FTP site.
Quoted 4 lines
Signature · 2 lines
-- Jens-Uwe Mager <pgp-mailto:62CFDB25>
-- /~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\
|Michael Loftis Fido: 1:17/90 -=- CRASH+DIRECT | |E-Mail: [email protected] ICQ: 15648280 | |Voice: 208-436-5399 Y!/AIM: DyJailBait | |Data: 208-436-3252 http://start.at/ircft |
`~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~'
Quoted 4 lines
For today you are only able to have an Intel binary copy as a Quarterdesk Partition Magic customer.
And that is the problem. I hoped that dtfs will support resizing on the fly, but at least currently there is no such feature.
Don't get me wrong, it is nice to have the support for resize2fs, but to be able to resize an unmounted (?) file system with a commercial tool is not a big plus for Linux in a server environment.
That's why I'm searching for a file system that can handle that while being mounted and which can be delivered with all the Linux distributions.
Today I've read that SGI and Veritas are planning to bring a journaled file system to Linux, but I couldn't found any details on how this file system will be.
So I think we have to advertise LVM, because it makes resizable file systems reasonable. I understand that there was no need or better no application for such a file system before.
You may ask why I'm so in favour of that flexibility. Of course you can put two partitions on your disk, one swap and one Linux native. That works fine for your small workstation but in a server things are different : you will surely have more than one disk and you don't want to have one file system for all. Things can be messed up badly when a file system is full, so I want to keep at least the root seperatly. (To be able to boot, I have seen systems hanging because they could not create /etc/mtab.)
You may want to share the /usr between machines. You may want to seperate user's home from the /var file system for more control over the used disk space. You may want to have different file systems for performance reasons (to be able to control on which disks they are).
So, let everybody know that there is LVM ! ;-) I'll write to SGI, maybe they consider it for their upcoming journaling file system. And I mailed the developper of dtfs. There is also reiserfs, but I haven't checked it yet. Any others, I might have overlooked ?
Have a nice day,
Rolf
Signature · 2 lines
Rolf Jakob at home ([email protected]) WWW : http://www.franken.de/users/duffy1/rjakob (KDE-Utils and CCS)
Quoted 8 lines · Heinz Mauelshagen
Quoted 3 lines
What would be nice as the next step is a resizable file system. Is there any ?
AFAIK we only have Ted Tso's resize2fs which is able to resize unmonted ext2fses.
It will be available under GPL next year.
This was in Jun 15ths' freshmeat letter:
---
subject: ext2resize 990615
added by: Lennert Buytenhek on Jun 15th 1999, 07:41
license: GPL
category: Console/Filesystems
homepage: http://www.dsv.nl/~buytenh/ext2resize/
download: http://www.dsv.nl/~buytenh/ext2resize/ext2resize-990615.tar.bz2
description:
ext2resize is a program capable of resizing (shrinking and growing) ext2 filesystems. Currently it is in alpha stage until it is tested some more.
---
I' haven't checked it out, but it might be of interrest for you.
Rainer
Signature · 1 line
KeyID=58341901 fingerprint=A5 57 04 B3 69 88 A1 FB 78 1D B5 64 E0 BF 72 EB
On Fri, 18 Jun 1999, Heinz Mauelshagen wrote:
AFAIK we only have Ted Tso's resize2fs which is able to resize unmonted ext2fses.
What about:
http://www.dsv.nl/~buytenh/ext2resize/
i've no idea whether it works or not.
regards,
Signature · 7 lines
Paul Jakma [email protected] http://hibernia.clubi.ie PGP5 key: http://www.clubi.ie/jakma/publickey.txt ------------------------------------------- Fortune: "I don't care who does the electing as long as I get to do the nominating." -- Boss Tweed
Quoted 5 lines
What about:
http://www.dsv.nl/~buytenh/ext2resize/
i've no idea whether it works or not.
It works - hmm, sometimes :-)
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.
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 looks very promising.
Rolf
Signature · 2 lines
Rolf Jakob at home ([email protected]) WWW : http://www.franken.de/users/duffy1/rjakob (KDE-Utils and CCS)
Quoted 3 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Rolf" == Rolf Jakob <[email protected]> writes:
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
Is it supposed to work on mounted filesystems ? The webpage doesn't seem to mention such a feature.
Stefan
Quoted 6 lines
Quoted 3 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Rolf" == Rolf Jakob <[email protected]> writes:
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
Is it supposed to work on mounted filesystems ? The webpage doesn't seem to mention such a feature.
Well, some debug says something about flushing used blocks, so I think yes, it's supposed to be. I was just hoping and trying :-) But you're right, it isn't stated clearly. The author is just starting a FAQ section on his home page.
Rolf
Signature · 2 lines
Rolf Jakob at home ([email protected]) WWW : http://www.franken.de/users/duffy1/rjakob (KDE-Utils and CCS)
Quoted 7 lines
Quoted 6 lines
What about:
http://www.dsv.nl/~buytenh/ext2resize/
i've no idea whether it works or not.
Thanks Rolf for finding ext2resize 8*)
Quoted 1 line
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...
Quoted 4 lines
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.
Quoted 3 lines
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!
Quoted 1 line
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 [email protected] Germany +49 6151 886-425 FAX-386
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Quoted 5 lines · Rolf Jakob
What about:
http://www.dsv.nl/~buytenh/ext2resize/
i've no idea whether it works or not.
It works - hmm, sometimes :-)
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.
on a mounted filesystem? i think you're only supposed to use it on *unmounted* fs's. might explain the error messages.. :)
regards,
Signature · 7 lines
Paul Jakma [email protected] http://hibernia.clubi.ie PGP5 key: http://www.clubi.ie/jakma/publickey.txt ------------------------------------------- Fortune: The primary function of the design engineer is to make things difficult for the fabricator and impossible for the serviceman.