Re: LVM snapshotting broken?

2000-10-28 Thread Rik van Riel
On Sat, 28 Oct 2000, Heinz J. Mauelshagen wrote: > > OK, good. I guess that means that the lvmutils (even the > > patched version in the RPM) are heavily broken ... > > As i mentioned before: i wasn't able to reproduce your problem on any of > my systems. It work just fine with 0.8final and in

Re: LVM snapshotting broken?

2000-10-28 Thread Heinz J. Mauelshagen
On Fri, Oct 27, 2000 at 11:55:03AM -0200, Rik van Riel wrote: > On Fri, 27 Oct 2000, Andrea Arcangeli wrote: > > On Fri, Oct 27, 2000 at 11:32:06AM -0200, Rik van Riel wrote: > > > Have you checked if the CONTENT of the snapshot is indeed > > > the right LV and not the other one? > > > > laser:~

Re: LVM snapshotting broken?

2000-10-28 Thread Rik van Riel
On Sat, 28 Oct 2000, Heinz J. Mauelshagen wrote: OK, good. I guess that means that the lvmutils (even the patched version in the RPM) are heavily broken ... As i mentioned before: i wasn't able to reproduce your problem on any of my systems. It work just fine with 0.8final and in 0.9 as

Re: LVM snapshotting broken?

2000-10-27 Thread Andrea Arcangeli
On Fri, Oct 27, 2000 at 11:55:03AM -0200, Rik van Riel wrote: > Andrea, could you send me the patches you use to make your > LVM utilities work? Then we'll be able to put together at ftp://ftp.suse.com/pub/suse/i386/7.0/suse/zq1/lvm.spm Andrea - To unsubscribe from this list: send the line

Re: LVM snapshotting broken?

2000-10-27 Thread Rik van Riel
On Fri, 27 Oct 2000, Andrea Arcangeli wrote: > On Fri, Oct 27, 2000 at 11:32:06AM -0200, Rik van Riel wrote: > > Have you checked if the CONTENT of the snapshot is indeed > > the right LV and not the other one? > > laser:~ # mke2fs /dev/vg1/lv1 &>/dev/null > laser:~ # mount /dev/vg1/lv1 /mnt >

Re: LVM snapshotting broken?

2000-10-27 Thread Andrea Arcangeli
On Fri, Oct 27, 2000 at 11:32:06AM -0200, Rik van Riel wrote: > Have you checked if the CONTENT of the snapshot is indeed > the right LV and not the other one? laser:~ # mke2fs /dev/vg1/lv1 &>/dev/null laser:~ # mount /dev/vg1/lv1 /mnt laser:~ # >/mnt/ciao laser:~ # ls /mnt . .. ciao

Re: LVM snapshotting broken?

2000-10-27 Thread Rik van Riel
On Fri, 27 Oct 2000, Andrea Arcangeli wrote: > For some irrelevant reason I always test snapshotting on a LV with minor > number > 1 and the kernel side definitely works with 2.2.18pre17aa1: > > laser:/home/andrea # ls -l /dev/vg1/lv* > brw-r- 1 root root 58, 0 Oct 27 2000

Re: LVM snapshotting broken?

2000-10-27 Thread Rik van Riel
On Fri, 27 Oct 2000, Andrea Arcangeli wrote: For some irrelevant reason I always test snapshotting on a LV with minor number 1 and the kernel side definitely works with 2.2.18pre17aa1: laser:/home/andrea # ls -l /dev/vg1/lv* brw-r- 1 root root 58, 0 Oct 27 2000

Re: LVM snapshotting broken?

2000-10-27 Thread Andrea Arcangeli
On Fri, Oct 27, 2000 at 11:32:06AM -0200, Rik van Riel wrote: Have you checked if the CONTENT of the snapshot is indeed the right LV and not the other one? laser:~ # mke2fs /dev/vg1/lv1 /dev/null laser:~ # mount /dev/vg1/lv1 /mnt laser:~ # /mnt/ciao laser:~ # ls /mnt . .. ciao lost+found

Re: LVM snapshotting broken?

2000-10-27 Thread Rik van Riel
On Fri, 27 Oct 2000, Andrea Arcangeli wrote: On Fri, Oct 27, 2000 at 11:32:06AM -0200, Rik van Riel wrote: Have you checked if the CONTENT of the snapshot is indeed the right LV and not the other one? laser:~ # mke2fs /dev/vg1/lv1 /dev/null laser:~ # mount /dev/vg1/lv1 /mnt laser:~ #

Re: LVM snapshotting broken?

2000-10-27 Thread Andrea Arcangeli
On Fri, Oct 27, 2000 at 11:55:03AM -0200, Rik van Riel wrote: Andrea, could you send me the patches you use to make your LVM utilities work? Then we'll be able to put together at ftp://ftp.suse.com/pub/suse/i386/7.0/suse/zq1/lvm.spm Andrea - To unsubscribe from this list: send the line

Re: LVM snapshotting broken?

2000-10-26 Thread Andreas Dilger
Rik writes: > 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... > > 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

Re: LVM snapshotting broken?

2000-10-26 Thread Andrea Arcangeli
On Thu, Oct 26, 2000 at 09:10:06PM -0200, Marcelo Tosatti wrote: > With LVM from 2.2.18aa kernels (I dont exactly remember which one) Ok, nothing relevant is recently changed there so it should be an userspace issue. Andrea - To unsubscribe from this list: send the line "unsubscribe

Re: [linux-lvm] Re: LVM snapshotting broken?

2000-10-26 Thread Christoph Hellwig
On Thu, Oct 26, 2000 at 11:37:07PM +, 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?

Re: LVM snapshotting broken?

2000-10-26 Thread Marcelo Tosatti
On Fri, 27 Oct 2000, Andrea Arcangeli wrote: > On Thu, Oct 26, 2000 at 06:34:48PM -0200, Rik van Riel wrote: > > On Thu, 26 Oct 2000, Rik van Riel wrote: > > > > > it looks like the LVM snapshotting in 2.4 doesn't allow you > > > to create snapshots from anything else than the _first_ LV > >

Re: LVM snapshotting broken?

2000-10-26 Thread Andrea Arcangeli
On Thu, Oct 26, 2000 at 06:34:48PM -0200, Rik van Riel wrote: > On Thu, 26 Oct 2000, Rik van Riel wrote: > > > 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... > > OK, I reproduced it in 2.2 as well ...

Re: LVM snapshotting broken?

2000-10-26 Thread Heinz J. Mauelshagen
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

Re: LVM snapshotting broken?

2000-10-26 Thread Rik van Riel
On Thu, 26 Oct 2000, Rik van Riel wrote: > 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... OK, I reproduced it in 2.2 as well ... ;( > I have run both the following command lines (after lvremoving > snap1,

LVM snapshotting broken?

2000-10-26 Thread Rik van Riel
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

LVM snapshotting broken?

2000-10-26 Thread Rik van Riel
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

Re: LVM snapshotting broken?

2000-10-26 Thread Andrea Arcangeli
On Thu, Oct 26, 2000 at 06:34:48PM -0200, Rik van Riel wrote: On Thu, 26 Oct 2000, Rik van Riel wrote: 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... OK, I reproduced it in 2.2 as well ... ;( Which

Re: LVM snapshotting broken?

2000-10-26 Thread Marcelo Tosatti
On Fri, 27 Oct 2000, Andrea Arcangeli wrote: On Thu, Oct 26, 2000 at 06:34:48PM -0200, Rik van Riel wrote: On Thu, 26 Oct 2000, Rik van Riel wrote: 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...

Re: [linux-lvm] Re: LVM snapshotting broken?

2000-10-26 Thread Christoph Hellwig
On Thu, Oct 26, 2000 at 11:37:07PM +, 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

Re: LVM snapshotting broken?

2000-10-26 Thread Andrea Arcangeli
On Thu, Oct 26, 2000 at 09:10:06PM -0200, Marcelo Tosatti wrote: With LVM from 2.2.18aa kernels (I dont exactly remember which one) Ok, nothing relevant is recently changed there so it should be an userspace issue. Andrea - To unsubscribe from this list: send the line "unsubscribe