All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] LVM 2.0/Device-Mapper 1.0 update
@ 2003-08-20 18:06 Alasdair G Kergon
  2003-08-20 18:18 ` Dan Sully
  2003-08-21 12:57 ` [linux-lvm] " Jan Niehusmann
  0 siblings, 2 replies; 9+ messages in thread
From: Alasdair G Kergon @ 2003-08-20 18:06 UTC (permalink / raw)
  To: linux-lvm, lvm-devel, dm-devel

I've updated the LVM 2.0 and Device-Mapper 1.0 tarballs
at ftp.sistina.com to incorporate a few minor bug fixes.


ftp://ftp.sistina.com/pub/LVM2/tools/LVM2.0-stable.tgz
  (CVS tag v2.00.06)

ftp://ftp.sistina.com/pub/LVM2/device-mapper/device-mapper-stable.tgz
  (CVS tag v1.00.03)


Details in CVS; or see lvm-commit mailing list archives.


Alasdair
-- 
agk@uk.sistina.com

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

* Re: [linux-lvm] LVM 2.0/Device-Mapper 1.0 update
  2003-08-20 18:06 [linux-lvm] LVM 2.0/Device-Mapper 1.0 update Alasdair G Kergon
@ 2003-08-20 18:18 ` Dan Sully
  2003-08-21  2:40   ` Joe Thornber
  2003-08-30 16:54   ` Terje Kvernes
  2003-08-21 12:57 ` [linux-lvm] " Jan Niehusmann
  1 sibling, 2 replies; 9+ messages in thread
From: Dan Sully @ 2003-08-20 18:18 UTC (permalink / raw)
  To: linux-lvm, lvm-devel, dm-devel

* Alasdair G Kergon <agk@uk.sistina.com> shaped the electrons to say...

> I've updated the LVM 2.0 and Device-Mapper 1.0 tarballs
> at ftp.sistina.com to incorporate a few minor bug fixes.
> 
> 
> ftp://ftp.sistina.com/pub/LVM2/tools/LVM2.0-stable.tgz
>   (CVS tag v2.00.06)
> 
> ftp://ftp.sistina.com/pub/LVM2/device-mapper/device-mapper-stable.tgz
>   (CVS tag v1.00.03)

Do these work on the 2.6.x test series yet?

-D
-- 
<_> oops i dropped weed in the keyboard
<qq> ctrl-alt-marijuana

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

* Re: [linux-lvm] LVM 2.0/Device-Mapper 1.0 update
  2003-08-20 18:18 ` Dan Sully
@ 2003-08-21  2:40   ` Joe Thornber
  2003-08-30 16:54   ` Terje Kvernes
  1 sibling, 0 replies; 9+ messages in thread
From: Joe Thornber @ 2003-08-21  2:40 UTC (permalink / raw)
  To: linux-lvm

On Wed, Aug 20, 2003 at 04:17:26PM -0700, Dan Sully wrote:
> * Alasdair G Kergon <agk@uk.sistina.com> shaped the electrons to say...
> 
> > I've updated the LVM 2.0 and Device-Mapper 1.0 tarballs
> > at ftp.sistina.com to incorporate a few minor bug fixes.
> > 
> > 
> > ftp://ftp.sistina.com/pub/LVM2/tools/LVM2.0-stable.tgz
> >   (CVS tag v2.00.06)
> > 
> > ftp://ftp.sistina.com/pub/LVM2/device-mapper/device-mapper-stable.tgz
> >   (CVS tag v1.00.03)
> 
> Do these work on the 2.6.x test series yet?

2.6 has device-mapper in it already, but it doesn't have snapshots or
the mirror target yet (needed for pvmove).

- Joe

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

* Re: [linux-lvm] LVM 2.0/Device-Mapper 1.0 update
  2003-08-20 18:06 [linux-lvm] LVM 2.0/Device-Mapper 1.0 update Alasdair G Kergon
  2003-08-20 18:18 ` Dan Sully
@ 2003-08-21 12:57 ` Jan Niehusmann
  2003-08-21 14:19   ` Alasdair G Kergon
  1 sibling, 1 reply; 9+ messages in thread
From: Jan Niehusmann @ 2003-08-21 12:57 UTC (permalink / raw)
  To: linux-lvm

On Thu, Aug 21, 2003 at 12:05:39AM +0100, Alasdair G Kergon wrote:
> I've updated the LVM 2.0 and Device-Mapper 1.0 tarballs
> at ftp.sistina.com to incorporate a few minor bug fixes.

Just to let you know: My pvmove problems are not affected by this new
version. Same symptoms as before.

Jan

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

* Re: [linux-lvm] LVM 2.0/Device-Mapper 1.0 update
  2003-08-21 12:57 ` [linux-lvm] " Jan Niehusmann
@ 2003-08-21 14:19   ` Alasdair G Kergon
  2003-08-22 10:21     ` Alasdair G Kergon
  0 siblings, 1 reply; 9+ messages in thread
From: Alasdair G Kergon @ 2003-08-21 14:19 UTC (permalink / raw)
  To: Jan Niehusmann; +Cc: linux-lvm

On Thu, Aug 21, 2003 at 07:55:54PM +0200, Jan Niehusmann wrote:
> Just to let you know: My pvmove problems are not affected by this new
> version. Same symptoms as before.
 
Well, many thanks for producing all the diagnostics: 
I don't know what's wrong yet, but I have managed to
reproduce your setup on a test machine here and 
I reproduced the problem 5 minutes ago.

Alasdair
-- 
agk@uk.sistina.com

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

* Re: [linux-lvm] LVM 2.0/Device-Mapper 1.0 update
  2003-08-21 14:19   ` Alasdair G Kergon
@ 2003-08-22 10:21     ` Alasdair G Kergon
  0 siblings, 0 replies; 9+ messages in thread
From: Alasdair G Kergon @ 2003-08-22 10:21 UTC (permalink / raw)
  To: linux-lvm; +Cc: dm-devel

[-- Attachment #1: Type: text/plain, Size: 597 bytes --]

On Thu, Aug 21, 2003 at 08:18:03PM +0100, Alasdair Kergon wrote:
> Well, many thanks for producing all the diagnostics: 
> I don't know what's wrong yet, but I have managed to
> reproduce your setup on a test machine here and 
> I reproduced the problem 5 minutes ago.
 
I attach a patch which should workaround the problem.

Memory that is still referenced gets freed if pvmove
tries to move more than 8 LV segments at once, so all
pvmove (dm_mirror target) users should apply this patch.

It's in CVS now, and I'll update the tarball on the ftp site
to 1.00.04.

Alasdair
-- 
agk@uk.sistina.com

[-- Attachment #2: pvmove_8_segments.patch --]
[-- Type: text/plain, Size: 1572 bytes --]

Supply #targets when creating a table to avoid needing to extend it later.
--- linux-2.4.21/drivers/md/dm-ioctl.c	Mon Aug 18 21:24:26 2003
+++ linux/drivers/md/dm-ioctl.c	Fri Aug 22 13:49:01 2003
@@ -764,7 +764,7 @@
 	struct hash_cell *hc;
 	struct dm_table *t;
 
-	r = dm_table_create(&t, get_mode(param));
+	r = dm_table_create(&t, get_mode(param), param->target_count);
 	if (r)
 		return r;
 
--- linux-2.4.21/drivers/md/dm-table.c	Tue Aug 19 15:43:50 2003
+++ linux/drivers/md/dm-table.c	Fri Aug 22 14:48:50 2003
@@ -148,7 +148,7 @@
 	return 0;
 }
 
-int dm_table_create(struct dm_table **result, int mode)
+int dm_table_create(struct dm_table **result, int mode, unsigned num_targets)
 {
 	struct dm_table *t = kmalloc(sizeof(*t), GFP_NOIO);
 
@@ -159,8 +159,10 @@
 	INIT_LIST_HEAD(&t->devices);
 	atomic_set(&t->holders, 1);
 
-	/* allocate a single nodes worth of targets to begin with */
-	if (alloc_targets(t, KEYS_PER_NODE)) {
+	if (!num_targets)
+		num_targets = KEYS_PER_NODE;
+
+	if (alloc_targets(t, num_targets)) {
 		kfree(t);
 		t = NULL;
 		return -ENOMEM;
--- linux-2.4.21/drivers/md/dm.h	Sat Jul 12 17:06:52 2003
+++ linux/drivers/md/dm.h	Fri Aug 22 13:50:19 2003
@@ -96,7 +96,7 @@
  * Functions for manipulating a table.  Tables are also reference
  * counted.
  *---------------------------------------------------------------*/
-int dm_table_create(struct dm_table **result, int mode);
+int dm_table_create(struct dm_table **result, int mode, unsigned num_targets);
 
 void dm_table_get(struct dm_table *t);
 void dm_table_put(struct dm_table *t);

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

* Re: [linux-lvm] LVM 2.0/Device-Mapper 1.0 update
  2003-08-20 18:18 ` Dan Sully
  2003-08-21  2:40   ` Joe Thornber
@ 2003-08-30 16:54   ` Terje Kvernes
  2003-08-30 17:20     ` [linux-lvm] " Måns Rullgård
  1 sibling, 1 reply; 9+ messages in thread
From: Terje Kvernes @ 2003-08-30 16:54 UTC (permalink / raw)
  To: linux-lvm; +Cc: linux-lvm, lvm-devel, dm-devel

Dan Sully <daniel@electricrain.com> writes:

> * Alasdair G Kergon <agk@uk.sistina.com> shaped the electrons to say...
> 
> > I've updated the LVM 2.0 and Device-Mapper 1.0 tarballs
> > at ftp.sistina.com to incorporate a few minor bug fixes.
> > 
> > 
> > ftp://ftp.sistina.com/pub/LVM2/tools/LVM2.0-stable.tgz
> >   (CVS tag v2.00.06)
> > 
> > ftp://ftp.sistina.com/pub/LVM2/device-mapper/device-mapper-stable.tgz
> >   (CVS tag v1.00.03)
> 
> Do these work on the 2.6.x test series yet?

  does this translate to my issues with LVM under test2 and later to
  be known issues?  on -test4 I now get a message from vgscan telling
  me that lvm-mod isn't loaded.

-- 
Terje

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

* [linux-lvm] Re: LVM 2.0/Device-Mapper 1.0 update
  2003-08-30 16:54   ` Terje Kvernes
@ 2003-08-30 17:20     ` Måns Rullgård
  2003-08-31  8:40       ` Terje Kvernes
  0 siblings, 1 reply; 9+ messages in thread
From: Måns Rullgård @ 2003-08-30 17:20 UTC (permalink / raw)
  To: linux-lvm; +Cc: lvm-devel

Terje Kvernes <terjekv@math.uio.no> writes:

>> > I've updated the LVM 2.0 and Device-Mapper 1.0 tarballs
>> > at ftp.sistina.com to incorporate a few minor bug fixes.
>> > 
>> > 
>> > ftp://ftp.sistina.com/pub/LVM2/tools/LVM2.0-stable.tgz
>> >   (CVS tag v2.00.06)
>> > 
>> > ftp://ftp.sistina.com/pub/LVM2/device-mapper/device-mapper-stable.tgz
>> >   (CVS tag v1.00.03)
>> 
>> Do these work on the 2.6.x test series yet?
>
>   does this translate to my issues with LVM under test2 and later to
>   be known issues?  on -test4 I now get a message from vgscan telling
>   me that lvm-mod isn't loaded.

I'm typing this on a machine running 2.6.0-test4 and LVM2.  I've had
no problems so far.

-- 
M�ns Rullg�rd
mru@users.sf.net

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

* Re: [linux-lvm] Re: LVM 2.0/Device-Mapper 1.0 update
  2003-08-30 17:20     ` [linux-lvm] " Måns Rullgård
@ 2003-08-31  8:40       ` Terje Kvernes
  0 siblings, 0 replies; 9+ messages in thread
From: Terje Kvernes @ 2003-08-31  8:40 UTC (permalink / raw)
  To: linux-lvm; +Cc: lvm-devel

mru@users.sourceforge.net (Måns Rullgård) writes:

> Terje Kvernes <terjekv@math.uio.no> writes:
> 
> > does this translate to my issues with LVM under test2 and later to
> > be known issues?  on -test4 I now get a message from vgscan
> > telling me that lvm-mod isn't loaded.
> 
> I'm typing this on a machine running 2.6.0-test4 and LVM2.  I've had
> no problems so far.

  okay, I reinstalled LVM2.2.00.06 and LVM started working.  heaven
  knows why.  now I just have to fix alsa.  *weee*

-- 
Terje

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

end of thread, other threads:[~2003-08-31  8:40 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-20 18:06 [linux-lvm] LVM 2.0/Device-Mapper 1.0 update Alasdair G Kergon
2003-08-20 18:18 ` Dan Sully
2003-08-21  2:40   ` Joe Thornber
2003-08-30 16:54   ` Terje Kvernes
2003-08-30 17:20     ` [linux-lvm] " Måns Rullgård
2003-08-31  8:40       ` Terje Kvernes
2003-08-21 12:57 ` [linux-lvm] " Jan Niehusmann
2003-08-21 14:19   ` Alasdair G Kergon
2003-08-22 10:21     ` Alasdair G Kergon

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.