Linux LVM users
 help / color / mirror / Atom feed
* [linux-lvm] Re: LVM snapshotting broken?
       [not found] <Pine.LNX.4.21.0010261632440.15696-100000@duckman.distro.conectiva>
@ 2000-10-26 23:37 ` Heinz J. Mauelshagen
  2000-10-26 23:53   ` Christoph Hellwig
  0 siblings, 1 reply; 3+ messages in thread
From: Heinz J. Mauelshagen @ 2000-10-26 23:37 UTC (permalink / raw)
  To: Rik van Riel; +Cc: linux-kernel, linux-lvm, mge


Hi Rik,

I can't reproduce it on my box.

Could you provide a "lvcreate -d" output of what you did to help
me to dig into that one.

Did somebody else out there face the same 0.8final snapshot weirdness?


On Thu, Oct 26, 2000 at 04:36:37PM -0200, Rik van Riel wrote:
> Hi Heinz,
> 
> it looks like the LVM snapshotting in 2.4 doesn't allow you
> to create snapshots from anything else than the _first_ LV
> in the VG...
> 
> I have run both the following command lines (after lvremoving
> snap1, of course) and both of them give as a result that the
> LV /dev/test_vg/swap ends up being the snapshotted filesystem ;(
> 
> # lvcreate -s -L100 -nsnap1 /dev/test_vg/test
> # lvcreate -s -L100 -nsnap1 /dev/test_vg/swap
> 
> # cat /proc/lvm
> LVM driver version 0.8final  (15/02/2000)
> 
> 	<snip VG/PV info>
> 
>     LVs: [AWDL  ] swap            122880 /30       1x open
>          [AWDL  ] test            204800 /50       1x open
>          [ARDL  ] snap1           122880 /30       close
> 
> It looks like somewhere in either the utilities or the
> kernel, the argument of which LV to snapshot gets mangled...
> Oh, I'm using version 0.8final of the LVM utities.
> 
> regards,
> 
> Rik
> --
> "What you're running that piece of shit Gnome?!?!"
>        -- Miguel de Icaza, UKUUG 2000
> 
> http://www.conectiva.com/		http://www.surriel.com/

-- 

Regards,
Heinz      -- The LVM guy --

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

Heinz Mauelshagen                                 Sistina Software Inc.
Senior Consultant/Developer                       Bartningstr. 12
                                                  64289 Darmstadt
                                                  Germany
Mauelshagen@Sistina.com                           +49 6151 7103 86
                                                       FAX 7103 96
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

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

* Re: [linux-lvm] Re: LVM snapshotting broken?
  2000-10-26 23:37 ` [linux-lvm] Re: LVM snapshotting broken? Heinz J. Mauelshagen
@ 2000-10-26 23:53   ` Christoph Hellwig
  2000-10-27  1:28     ` Christoph Hellwig
  0 siblings, 1 reply; 3+ messages in thread
From: Christoph Hellwig @ 2000-10-26 23:53 UTC (permalink / raw)
  To: Mauelshagen; +Cc: Rik van Riel, linux-kernel, linux-lvm, mge

On Thu, Oct 26, 2000 at 11:37:07PM +0000, Heinz J. Mauelshagen wrote:
> 
> Hi Rik,
> 
> I can't reproduce it on my box.
> 
> Could you provide a "lvcreate -d" output of what you did to help
> me to dig into that one.
> 
> Did somebody else out there face the same 0.8final snapshot weirdness?

Yes. I have the same problem Rik has. A debug printf just before the
ioctl in lv_create_remove gives the right ->lv_snapshot_minor.
A debug printk in lvm_do_lv_create just at the beginning has
->lv_snapshot_minor _always_ = 0.
This happens with the 0.8final utils, both with and without additional
patches. Andrea's lvm-tools-aa-20000119 are ok.

Look like a structure mis-match to me, although lv_v2_t is the same for
all tools.

	Christoph

-- 
Always remember that you are unique.  Just like everyone else.

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

* Re: [linux-lvm] Re: LVM snapshotting broken?
  2000-10-26 23:53   ` Christoph Hellwig
@ 2000-10-27  1:28     ` Christoph Hellwig
  0 siblings, 0 replies; 3+ messages in thread
From: Christoph Hellwig @ 2000-10-27  1:28 UTC (permalink / raw)
  To: Mauelshagen, Rik van Riel, linux-kernel, linux-lvm, mge

On Fri, Oct 27, 2000 at 01:53:08AM +0200, Christoph Hellwig wrote:
> Look like a structure mis-match to me, although lv_v2_t is the same for
> all tools.

Sorry I was wrong. The __unused field is missing.
Yet another reason for an official 0.8 maintaince release ;)

	Christoph

-- 
Always remember that you are unique.  Just like everyone else.

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

end of thread, other threads:[~2000-10-27  1:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <Pine.LNX.4.21.0010261632440.15696-100000@duckman.distro.conectiva>
2000-10-26 23:37 ` [linux-lvm] Re: LVM snapshotting broken? Heinz J. Mauelshagen
2000-10-26 23:53   ` Christoph Hellwig
2000-10-27  1:28     ` Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox