All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stephane Chazelas <stephane.chazelas@emerson.com>
To: mauelshagen@redhat.com,
	LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] snapshotting to a different volume group
Date: Fri, 18 Apr 2008 10:35:13 +0100	[thread overview]
Message-ID: <chaz20080418093513.GD20413@artesyncp.com> (raw)
In-Reply-To: <20080418082436.GA7331@redhat.com>

2008-04-18 10:24:36 +0200, Heinz Mauelshagen:
> On Thu, Apr 17, 2008 at 03:58:09PM +0100, Stephane Chazelas wrote:
[...]
> > is it possible to create a snapshot LV of an original LV
> > but in a different volume group?
> 
> No, not with LVM.

Hi Heinz,

thanks. I've just come accross zumastor while reading the ML
archives. It looks promising for what I'm trying to achieve. I
suspect it's gonna be the same wrt to snapshot though, but I'll
give it a try.

> > or alternatively, what's the best way to bring up a LV in a VG
> > that is missing a PV (as in a disk crash) if that LV has all its
> > extents on still sane PVs?
> 
> vgchange -P -ay

Oh thanks. I missed that as the option was described in lvm(8)
and not in vgchange(8). I'll see how to make it fit in the
initrd scripts.

> If you have 2 disks, you better mirror them to be completely
> HA on the spindle side of things and avoid any such config hassle,
> potentially leaving you with lost data.
[...]

I didn't get that ("the spindle side of things"??). Do you mean
I should mirror the whole disks? Note that they are not the same
size. The thing is I have 400 GB of disk space available, I only
need 100GB of data to be "safe". If I had 2 200GB drives and
wanted to mirror everything, and have 50GB for snapshots, that
would leave me with 150 GB for data. While as I need only 100GB
of safe data and don't need the snapshots to be mirrored. I can
have 250 GB of storage, 150 GB of which I don't care if it's
lost (mirrors and snapshots).

Best regards,
Stephane

  reply	other threads:[~2008-04-18  9:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-17 14:58 [linux-lvm] snapshotting to a different volume group Stephane Chazelas
2008-04-18  8:24 ` Heinz Mauelshagen
2008-04-18  9:35   ` Stephane Chazelas [this message]
2008-04-18 11:53   ` Stephane Chazelas
2008-04-18 12:45     ` Stephane Chazelas

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=chaz20080418093513.GD20413@artesyncp.com \
    --to=stephane.chazelas@emerson.com \
    --cc=linux-lvm@redhat.com \
    --cc=mauelshagen@redhat.com \
    /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.