All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan-Benedict Glaw <jbglaw@lug-owl.de>
To: Linux Kernel Mailinglist <linux-kernel@vger.kernel.org>
Subject: Re: LVM 2.6 compatibility?
Date: Wed, 7 Jan 2004 10:09:53 +0100	[thread overview]
Message-ID: <20040107090952.GO14285@lug-owl.de> (raw)
In-Reply-To: <Pine.LNX.4.43.0401070941040.23681-100000@cibs9.sns.it>

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

On Wed, 2004-01-07 09:41:17 +0100, venom@sns.it <venom@sns.it>
wrote in message <Pine.LNX.4.43.0401070941040.23681-100000@cibs9.sns.it>:
> 
> yes, there is full back compatibility

Erm, not to mention that I've recently been hit by some bug. This is
with LVM2 userland and LVM1 metadata. I just wanted to create a
snapshot, but I got

machineA#
  Rounding up size to full physical extend 252.00 MB                            
device-mapper: error adding target to table                                     
  device-mapper ioctl cmd 9 failed: Invalid argument                            
  Couldn't load device 'vg00-snap1'.                                            
  Problem reactivating origin home_lv                                           

and

which leaves me with:

machineB:~# lvdisplay 
  --- Logical volume ---
  LV Name                /dev/storage_vg/whole_ftp_area_lv
  VG Name                storage_vg
  LV UUID                000000-0000-0000-0000-0000-0000-000000
  LV Write Access        read/write
  LV snapshot status     source of
                         /dev/storage_vg/tempsnap [INACTIVE]
  LV Status              NOT available
  LV Size                182.50 GB
  Current LE             2920
  Segments               23
  Allocation             next free
  Read ahead sectors     0
   
  --- Logical volume ---
  LV Name                /dev/storage_vg/public_storage_lv
  VG Name                storage_vg
  LV UUID                000000-0000-0000-0000-0000-0000-000001
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                54.38 GB
  Current LE             870
  Segments               8
  Allocation             next free
  Read ahead sectors     0
  Block device           254:3
   
  --- Logical volume ---
  LV Name                /dev/storage_vg/tempsnap
  VG Name                storage_vg
  LV UUID                000000-0000-0000-0000-0000-0000-000002
  LV Write Access        read/write
  LV snapshot status     INACTIVE destination for /dev/storage_vg/whole_ftp_area_lv
  LV Status              available
  # open                 0
  LV Size                182.50 GB
  Current LE             2920
  Segments               1
  Snapshot chunk size    8.00 KB
  Allocated to snapshot  100.00% 
  Allocation             next free
  Read ahead sectors     0
  Block device           254:2

So, after lvcreate -s on two different hosts, the snapshot isn't really
there (albeit vgmknodes creates nodes for them), but any attempt to
access them results in "they're not there". Worse than that, if the
original LV was mounted, anything accessing it will hang in D state, of
course:)

MfG, JBG

-- 
   Jan-Benedict Glaw       jbglaw@lug-owl.de    . +49-172-7608481
   "Eine Freie Meinung in  einem Freien Kopf    | Gegen Zensur | Gegen Krieg
    fuer einen Freien Staat voll Freier Bürger" | im Internet! |   im Irak!
   ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2004-01-07  9:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-06 13:59 LVM 2.6 compatibility? Roy Sigurd Karlsbakk
2004-01-06 15:31 ` Måns Rullgård
2004-01-07  8:41 ` venom
2004-01-07  9:09   ` Jan-Benedict Glaw [this message]
2004-01-07 10:17     ` Christophe Saout

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=20040107090952.GO14285@lug-owl.de \
    --to=jbglaw@lug-owl.de \
    --cc=linux-kernel@vger.kernel.org \
    /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 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.