All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] lvm-0.6, Linux 2.2.9 and devfs-patch-v99.2
@ 1999-06-12 17:51 Rolf Jakob
  1999-06-13 22:30 ` Heinz Mauelshagen
  0 siblings, 1 reply; 15+ messages in thread
From: Rolf Jakob @ 1999-06-12 17:51 UTC (permalink / raw)
  To: linux-lvm

Hi,

Is lvm-0.6 (patched with lvm_0.6-patch-15031999a.gz) supposed to
work with Linux 2.2.9 and devfs-patch-v99-2 ?

What I did:
Unpack lvm_0.6.tar.gz to /usr/src/LVM
cd to /usr/src/LVM/0.6
zcat lvm_0.6-patch-15031999a.gz | patch -p1
edit make.tmpl
make

What I get:
A lot of error messages starting with :

make[1]: Entering directory `/usr/src/LVM/0.6/tools'
make[2]: Entering directory `/usr/src/LVM/0.6/tools/lib'
make[3]: Entering directory `/usr/src/LVM/0.6/tools/lib'
cc -pipe -c -Wall -I/usr/src/LVM/0.6/tools -I/usr/src/LVM/0.6/tools/lib -I/usr/src/LVM/0.6/kernel -D__KERNEL__ -O2 -DDEBUG -o basename.o basename.c
In file included from /usr/include/linux/fs.h:20,
                 from /usr/include/linux/devfs_fs.h:4,
                 from /usr/include/linux/genhd.h:14,
                 from /usr/src/LVM/0.6/tools/lib/liblvm.h:100,
                 from basename.c:26:
/usr/include/linux/stat.h:12: warning: `S_IFMT' redefined
/usr/include/sys/stat.h:35: warning: this is the location of the previous definition
/usr/include/linux/stat.h:13: warning: `S_IFSOCK' redefined
/usr/include/sys/stat.h:44: warning: this is the location of the previous definition
/usr/include/linux/stat.h:14: warning: `S_IFLNK' redefined
/usr/include/sys/stat.h:41: warning: this is the location of the previous definition

The same goes for all other stat macros, resulting in more than 300 lines
of error messages (I do not want to quote them all here).

Beside the stat macros I get :
In file included from /usr/include/linux/devfs_fs.h:4,
                 from /usr/include/linux/genhd.h:14,
                 from /usr/src/LVM/0.6/tools/lib/liblvm.h:100,
                 from basename.c:26:
/usr/include/linux/fs.h:43: warning: `BLOCK_SIZE' redefined
/usr/src/LVM/0.6/tools/lib/liblvm.h:64: warning: this is the location of the previous definition
In file included from /usr/include/linux/affs_fs_i.h:5,
                 from /usr/include/linux/fs.h:270,
                 from /usr/include/linux/devfs_fs.h:4,
                 from /usr/include/linux/genhd.h:14,
                 from /usr/src/LVM/0.6/tools/lib/liblvm.h:100,
                 from basename.c:26:
/usr/include/linux/time.h:69: warning: `FD_SET' redefined
/usr/include/sys/select.h:60: warning: this is the location of the previous definition
/usr/include/linux/time.h:70: warning: `FD_CLR' redefined
/usr/include/sys/select.h:61: warning: this is the location of the previous definition
/usr/include/linux/time.h:71: warning: `FD_ISSET' redefined
/usr/include/sys/select.h:62: warning: this is the location of the previous definition
/usr/include/linux/time.h:72: warning: `FD_ZERO' redefined
/usr/include/sys/select.h:63: warning: this is the location of the previous definition
In file included from /usr/include/linux/fcntl.h:4,
                 from /usr/include/linux/fs.h:472,
                 from /usr/include/linux/devfs_fs.h:4,
                 from /usr/include/linux/genhd.h:14,
                 from /usr/src/LVM/0.6/tools/lib/liblvm.h:100,
                 from basename.c:26:
/usr/include/asm/fcntl.h:18: warning: `FASYNC' redefined
/usr/include/fcntlbits.h:94: warning: this is the location of the previous definition
In file included from /usr/include/linux/ufs_fs_sb.h:17,
                 from /usr/include/linux/fs.h:507,
                 from /usr/include/linux/devfs_fs.h:4,
                 from /usr/include/linux/genhd.h:14,
                 from /usr/src/LVM/0.6/tools/lib/liblvm.h:100,
                 from basename.c:26:
/usr/include/linux/ufs_fs.h:226: warning: `DT_UNKNOWN' redefined
/usr/include/dirent.h:86: warning: this is the location of the previous definition
/usr/include/linux/ufs_fs.h:227: warning: `DT_FIFO' redefined
/usr/include/dirent.h:88: warning: this is the location of the previous definition
/usr/include/linux/ufs_fs.h:228: warning: `DT_CHR' redefined
/usr/include/dirent.h:90: warning: this is the location of the previous definition
/usr/include/linux/ufs_fs.h:229: warning: `DT_DIR' redefined
/usr/include/dirent.h:92: warning: this is the location of the previous definition
/usr/include/linux/ufs_fs.h:230: warning: `DT_BLK' redefined
/usr/include/dirent.h:94: warning: this is the location of the previous definition
/usr/include/linux/ufs_fs.h:231: warning: `DT_REG' redefined
/usr/include/dirent.h:96: warning: this is the location of the previous definition
/usr/include/linux/ufs_fs.h:232: warning: `DT_LNK' redefined
/usr/include/dirent.h:98: warning: this is the location of the previous definition
/usr/include/linux/ufs_fs.h:233: warning: `DT_SOCK' redefined
/usr/include/dirent.h:100: warning: this is the location of the previous definition
In file included from /usr/include/linux/stat.h:6,
                 from /usr/include/linux/fs.h:20,
                 from /usr/include/linux/devfs_fs.h:4,
                 from /usr/include/linux/genhd.h:14,
                 from /usr/src/LVM/0.6/tools/lib/liblvm.h:100,
                 from basename.c:26:
/usr/include/asm/stat.h:18: redefinition of `struct stat'
In file included from /usr/include/linux/affs_fs_i.h:5,
                 from /usr/include/linux/fs.h:270,
                 from /usr/include/linux/devfs_fs.h:4,
                 from /usr/include/linux/genhd.h:14,
                 from /usr/src/LVM/0.6/tools/lib/liblvm.h:100,
                 from basename.c:26:
/usr/include/linux/time.h:9: redefinition of `struct timespec'
/usr/include/linux/time.h:51: parse error before `suseconds_t'
/usr/include/linux/time.h:51: warning: no semicolon at end of struct or union
/usr/include/linux/time.h:88: field `it_interval' has incomplete type
/usr/include/linux/time.h:89: field `it_value' has incomplete type
In file included from /usr/include/linux/fs.h:270,
                 from /usr/include/linux/devfs_fs.h:4,
                 from /usr/include/linux/genhd.h:14,
                 from /usr/src/LVM/0.6/tools/lib/liblvm.h:100,
                 from basename.c:26:
/usr/include/linux/affs_fs_i.h:11: field `kc_lru_time' has incomplete type
In file included from /usr/include/linux/fcntl.h:4,
                 from /usr/include/linux/fs.h:472,
                 from /usr/include/linux/devfs_fs.h:4,
                 from /usr/include/linux/genhd.h:14,
                 from /usr/src/LVM/0.6/tools/lib/liblvm.h:100,
                 from basename.c:26:
/usr/include/asm/fcntl.h:57: redefinition of `struct flock'
make[3]: *** [basename.o] Error 1
make[3]: Leaving directory `/usr/src/LVM/0.6/tools/lib'
make[2]: *** [all] Error 2

The same follows for the other sources.

The problem seems to be in liblvm.h which includes other files, so
that a lot of things are defined twice. This all happened after upgrading
the kernel to 2.2.9, with 2.2.1 there was no such problem.
The kernel is patched with the latest devfs patch and I'm using glibc 2.0
(__GLIBC__ 2, __GLIBC_MINOR__ 0 acc. to features.h).

-- 
Rolf Jakob at home (rjakob@duffy1.franken.de)
WWW : http://www.franken.de/users/duffy1/rjakob (KDE-Utils and CCS)

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

* Re: [linux-lvm] lvm-0.6, Linux 2.2.9 and devfs-patch-v99.2
  1999-06-12 17:51 Rolf Jakob
@ 1999-06-13 22:30 ` Heinz Mauelshagen
  1999-06-14 22:01   ` Rolf Jakob
  0 siblings, 1 reply; 15+ messages in thread
From: Heinz Mauelshagen @ 1999-06-13 22:30 UTC (permalink / raw)
  To: Rolf Jakob; +Cc: linux-lvm, mge

> 
> Hi,
> 
> Is lvm-0.6 (patched with lvm_0.6-patch-15031999a.gz) supposed to
> work with Linux 2.2.9 and devfs-patch-v99-2 ?
> 

No, not yet 8*(

Anybody to dig into it?

Regards,
Heinz

<BIGSNIP> 

--

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

Systemmanagement C/S                             Deutsche Telekom AG
                                                 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] 15+ messages in thread

* Re: [linux-lvm] lvm-0.6, Linux 2.2.9 and devfs-patch-v99.2
  1999-06-13 22:30 ` Heinz Mauelshagen
@ 1999-06-14 22:01   ` Rolf Jakob
  0 siblings, 0 replies; 15+ messages in thread
From: Rolf Jakob @ 1999-06-14 22:01 UTC (permalink / raw)
  To: linux-lvm

> > 
> > Hi,
> > 
> > Is lvm-0.6 (patched with lvm_0.6-patch-15031999a.gz) supposed to
> > work with Linux 2.2.9 and devfs-patch-v99-2 ?
> > 
> 
> No, not yet 8*(
> 

Just found out : devfs-patch-v99 (mind the missing -2) is working,
hmm, well, at least the compiling didn't stop. No time yet to check
it out, but I don't suspect any difficulties from that.
I used a patch-v92 (IIRC) and didn't encounter problems (beside
non-devfs-aware applications of course :-).

The next step is building dtfs, but I couldn't compile it.

Rolf
-- 
Rolf Jakob at home (rjakob@duffy1.franken.de)
WWW : http://www.franken.de/users/duffy1/rjakob (KDE-Utils and CCS)

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

* Re: [linux-lvm] lvm-0.6, Linux 2.2.9 and devfs-patch-v99.2
@ 1999-06-18  0:15 Rolf Jakob
  1999-06-18  6:56 ` Heinz Mauelshagen
  0 siblings, 1 reply; 15+ messages in thread
From: Rolf Jakob @ 1999-06-18  0:15 UTC (permalink / raw)
  To: linux-lvm

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
-- 
Rolf Jakob at home (rjakob@duffy1.franken.de)
WWW : http://www.franken.de/users/duffy1/rjakob (KDE-Utils and CCS)

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

* Re: [linux-lvm] lvm-0.6, Linux 2.2.9 and devfs-patch-v99.2
  1999-06-18  0:15 [linux-lvm] lvm-0.6, Linux 2.2.9 and devfs-patch-v99.2 Rolf Jakob
@ 1999-06-18  6:56 ` Heinz Mauelshagen
  1999-06-18 18:15   ` Jens-Uwe Mager
                     ` (3 more replies)
  0 siblings, 4 replies; 15+ messages in thread
From: Heinz Mauelshagen @ 1999-06-18  6:56 UTC (permalink / raw)
  To: Rolf Jakob; +Cc: linux-lvm, mge


Hello Jakob.

> 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.

> 
> 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
mge@ez-darmstadt.telekom.de                      Germany
                                                 +49 6151 886-425
                                                          FAX-386
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

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

* Re: [linux-lvm] lvm-0.6, Linux 2.2.9 and devfs-patch-v99.2
  1999-06-18  6:56 ` Heinz Mauelshagen
@ 1999-06-18 18:15   ` Jens-Uwe Mager
  1999-06-18 20:41     ` Michael Loftis
  1999-06-18 18:59   ` Rolf Jakob
                     ` (2 subsequent siblings)
  3 siblings, 1 reply; 15+ messages in thread
From: Jens-Uwe Mager @ 1999-06-18 18:15 UTC (permalink / raw)
  To: Heinz Mauelshagen; +Cc: Rolf Jakob, linux-lvm, mge

On Fri, Jun 18, 1999 at 08:56:16AM +0000, Heinz Mauelshagen wrote:

> 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?

-- 
Jens-Uwe Mager	<pgp-mailto:62CFDB25>

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

* Re: [linux-lvm] lvm-0.6, Linux 2.2.9 and devfs-patch-v99.2
  1999-06-18  6:56 ` Heinz Mauelshagen
  1999-06-18 18:15   ` Jens-Uwe Mager
@ 1999-06-18 18:59   ` Rolf Jakob
  1999-06-20  9:03   ` Rainer Clasen
  1999-06-20 11:28   ` Paul Jakma
  3 siblings, 0 replies; 15+ messages in thread
From: Rolf Jakob @ 1999-06-18 18:59 UTC (permalink / raw)
  To: linux-lvm

> 
> 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
-- 
Rolf Jakob at home (rjakob@duffy1.franken.de)
WWW : http://www.franken.de/users/duffy1/rjakob (KDE-Utils and CCS)

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

* Re: [linux-lvm] lvm-0.6, Linux 2.2.9 and devfs-patch-v99.2
  1999-06-18 18:15   ` Jens-Uwe Mager
@ 1999-06-18 20:41     ` Michael Loftis
  0 siblings, 0 replies; 15+ messages in thread
From: Michael Loftis @ 1999-06-18 20:41 UTC (permalink / raw)
  To: linux-lvm

On Fri, 18 Jun 1999 20:15:26 +0200 Jens-Uwe Mager <jum@ra.han.de> wrote:


> On Fri, Jun 18, 1999 at 08:56:16AM +0000, Heinz Mauelshagen wrote:
> 
> > 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?

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.

> 
> -- 
> Jens-Uwe Mager	<pgp-mailto:62CFDB25>
> 
--
/~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\
|Michael Loftis              Fido: 1:17/90 -=- CRASH+DIRECT  |
|E-Mail: zop12@mindless.com  ICQ: 15648280                   |
|Voice: 208-436-5399         Y!/AIM: DyJailBait              |
|Data:  208-436-3252         http://start.at/ircft           |
`~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~'

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

* Re: [linux-lvm] lvm-0.6, Linux 2.2.9 and devfs-patch-v99.2
  1999-06-18  6:56 ` Heinz Mauelshagen
  1999-06-18 18:15   ` Jens-Uwe Mager
  1999-06-18 18:59   ` Rolf Jakob
@ 1999-06-20  9:03   ` Rainer Clasen
  1999-06-20 11:28   ` Paul Jakma
  3 siblings, 0 replies; 15+ messages in thread
From: Rainer Clasen @ 1999-06-20  9:03 UTC (permalink / raw)
  To: linux-lvm

On Fri, Jun 18, 1999 at 08:56:16AM +0000, Heinz Mauelshagen wrote:
> > 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

-- 
KeyID=58341901 fingerprint=A5 57 04 B3 69 88 A1 FB  78 1D B5 64 E0 BF 72 EB

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

* Re: [linux-lvm] lvm-0.6, Linux 2.2.9 and devfs-patch-v99.2
  1999-06-18  6:56 ` Heinz Mauelshagen
                     ` (2 preceding siblings ...)
  1999-06-20  9:03   ` Rainer Clasen
@ 1999-06-20 11:28   ` Paul Jakma
  1999-06-20 16:00     ` Rolf Jakob
  3 siblings, 1 reply; 15+ messages in thread
From: Paul Jakma @ 1999-06-20 11:28 UTC (permalink / raw)
  To: Heinz Mauelshagen; +Cc: Rolf Jakob, linux-lvm, mge

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,
-- 
Paul Jakma
paul@clubi.ie	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

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

* Re: [linux-lvm] lvm-0.6, Linux 2.2.9 and devfs-patch-v99.2
  1999-06-20 11:28   ` Paul Jakma
@ 1999-06-20 16:00     ` Rolf Jakob
  1999-06-20 22:37       ` Stefan Monnier
                         ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Rolf Jakob @ 1999-06-20 16:00 UTC (permalink / raw)
  To: linux-lvm

> 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
-- 
Rolf Jakob at home (rjakob@duffy1.franken.de)
WWW : http://www.franken.de/users/duffy1/rjakob (KDE-Utils and CCS)

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

* Re: [linux-lvm] lvm-0.6, Linux 2.2.9 and devfs-patch-v99.2
  1999-06-20 16:00     ` Rolf Jakob
@ 1999-06-20 22:37       ` Stefan Monnier
  1999-06-20 23:36         ` Rolf Jakob
  1999-06-20 23:41       ` Heinz Mauelshagen
  1999-06-20 23:47       ` Paul Jakma
  2 siblings, 1 reply; 15+ messages in thread
From: Stefan Monnier @ 1999-06-20 22:37 UTC (permalink / raw)
  To: linux-lvm

>>>>> "Rolf" == Rolf Jakob <rjakob@duffy1.franken.de> 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

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

* Re: [linux-lvm] lvm-0.6, Linux 2.2.9 and devfs-patch-v99.2
  1999-06-20 22:37       ` Stefan Monnier
@ 1999-06-20 23:36         ` Rolf Jakob
  0 siblings, 0 replies; 15+ messages in thread
From: Rolf Jakob @ 1999-06-20 23:36 UTC (permalink / raw)
  To: linux-lvm

> >>>>> "Rolf" == Rolf Jakob <rjakob@duffy1.franken.de> 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
-- 
Rolf Jakob at home (rjakob@duffy1.franken.de)
WWW : http://www.franken.de/users/duffy1/rjakob (KDE-Utils and CCS)

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

* Re: [linux-lvm] lvm-0.6, Linux 2.2.9 and devfs-patch-v99.2
  1999-06-20 16:00     ` Rolf Jakob
  1999-06-20 22:37       ` Stefan Monnier
@ 1999-06-20 23:41       ` Heinz Mauelshagen
  1999-06-20 23:47       ` Paul Jakma
  2 siblings, 0 replies; 15+ messages in thread
From: Heinz Mauelshagen @ 1999-06-20 23:41 UTC (permalink / raw)
  To: rjakob; +Cc: mge, linux-lvm

> 
> > 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@ez-darmstadt.telekom.de                      Germany
                                                 +49 6151 886-425
                                                          FAX-386
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

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

* Re: [linux-lvm] lvm-0.6, Linux 2.2.9 and devfs-patch-v99.2
  1999-06-20 16:00     ` Rolf Jakob
  1999-06-20 22:37       ` Stefan Monnier
  1999-06-20 23:41       ` Heinz Mauelshagen
@ 1999-06-20 23:47       ` Paul Jakma
  2 siblings, 0 replies; 15+ messages in thread
From: Paul Jakma @ 1999-06-20 23:47 UTC (permalink / raw)
  To: Rolf Jakob; +Cc: linux-lvm

On Sun, 20 Jun 1999, Rolf Jakob wrote:

  > 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,
-- 
Paul Jakma
paul@clubi.ie	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.

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

end of thread, other threads:[~1999-06-20 23:47 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-06-18  0:15 [linux-lvm] lvm-0.6, Linux 2.2.9 and devfs-patch-v99.2 Rolf Jakob
1999-06-18  6:56 ` Heinz Mauelshagen
1999-06-18 18:15   ` Jens-Uwe Mager
1999-06-18 20:41     ` Michael Loftis
1999-06-18 18:59   ` Rolf Jakob
1999-06-20  9:03   ` Rainer Clasen
1999-06-20 11:28   ` Paul Jakma
1999-06-20 16:00     ` Rolf Jakob
1999-06-20 22:37       ` Stefan Monnier
1999-06-20 23:36         ` Rolf Jakob
1999-06-20 23:41       ` Heinz Mauelshagen
1999-06-20 23:47       ` Paul Jakma
  -- strict thread matches above, loose matches on Subject: below --
1999-06-12 17:51 Rolf Jakob
1999-06-13 22:30 ` Heinz Mauelshagen
1999-06-14 22:01   ` Rolf Jakob

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.