public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Heinz.Mauelshagen@t-online.de (Heinz J. Mauelshagen)
To: Rik van Riel <riel@conectiva.com.br>
Cc: mhe@sistina.com, linux-kernel@vger.kernel.org
Subject: Re: LVM snapshotting broken?
Date: Sat, 28 Oct 2000 20:02:44 +0000	[thread overview]
Message-ID: <20001028200244.A19767@srv.t-online.de> (raw)
In-Reply-To: <20001027154409.A13469@athlon.random> <Pine.LNX.4.21.0010271152470.25174-100000@duckman.distro.conectiva>
In-Reply-To: <Pine.LNX.4.21.0010271152470.25174-100000@duckman.distro.conectiva>; from riel@conectiva.com.br on Fri, Oct 27, 2000 at 11:55:03AM -0200

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:~ # mke2fs /dev/vg1/lv1 &>/dev/null
> > laser:~ # mount /dev/vg1/lv1 /mnt
> > laser:~ # >/mnt/ciao
> > laser:~ # ls /mnt
> > .  ..  ciao  lost+found
> > laser:~ # umount /mnt
> > laser:~ # lvcreate -s -n lv1-snap /dev/vg1/lv1 -L 400M
> > lvcreate -- INFO: using default snapshot chunk size of 64 KB
> > lvcreate -- doing automatic backup of "vg1"
> > lvcreate -- logical volume "/dev/vg1/lv1-snap" successfully created
> > 
> > laser:~ # mount /dev/vg1/lv1 /mnt
> > laser:~ # rm /mnt/ciao
> > laser:~ # umount /mnt
> > laser:~ # mount /dev/vg1/lv1-snap /mnt
> > mount: block device /dev/vg1/lv1-snap is write-protected, mounting read-only
> > laser:~ # ls /mnt/
> > .  ..  ciao  lost+found
> > laser:~ # 
> 
> 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 weel.

Did anybody else beside Rik face a problem with snapshots _not_ referring
to the original logical volume they where created for?

> 
> Andrea, could you send me the patches you use to make your
> LVM utilities work? Then we'll be able to put together at
> least one working LVM utilities version ;)
> 
> Heinz, how about releasing a 0.8.1 version of the utilities
> so that there is something WORKING out there? Not having
> working LVM utilities available is an utter disgrace when
> all the code to make it work is just available...

I don't have any complaints so far about similar snapshot malfunctions
you mentioned, Rik.
That said it is overemphasis to say, that the LVM utilities
are not working.
IMHO Andreas Dilger's LVM 0.8 backport to kernel 2.2 should be o.k. for
most of the cases.

I'ld like to have 0.9 to do the integtration of the available patches
which will be released in november.

> 
> 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
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

  parent reply	other threads:[~2000-10-28 17:56 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-10-26 18:36 LVM snapshotting broken? Rik van Riel
2000-10-26 20:34 ` Rik van Riel
2000-10-26 22:44   ` Andrea Arcangeli
2000-10-26 23:10     ` Marcelo Tosatti
2000-10-27  0:22       ` Andrea Arcangeli
2000-10-27 13:32     ` Rik van Riel
2000-10-27 13:44       ` Andrea Arcangeli
2000-10-27 13:55         ` Rik van Riel
2000-10-27 14:19           ` Andrea Arcangeli
2000-10-28 20:02           ` Heinz J. Mauelshagen [this message]
2000-10-28 22:07             ` Rik van Riel
2000-10-26 23:37 ` Heinz J. Mauelshagen
2000-10-26 23:53   ` [linux-lvm] " Christoph Hellwig
2000-10-27  1:28     ` Christoph Hellwig
2000-10-27  0:55 ` Andreas Dilger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20001028200244.A19767@srv.t-online.de \
    --to=heinz.mauelshagen@t-online.de \
    --cc=Mauelshagen@sistina.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mhe@sistina.com \
    --cc=riel@conectiva.com.br \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox