All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Bryn M. Reeves" <bmr@redhat.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] F7 will not boot after running backup w/snapshot
Date: Fri, 02 May 2008 15:47:58 +0100	[thread overview]
Message-ID: <481B299E.7040509@redhat.com> (raw)
In-Reply-To: <Pine.LNX.4.44.0805021022270.30479-100000@bmsred.bmsi.com>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Stuart D. Gathman wrote:
> When activating a VG, missing PVs should be marked "missing", and show as 
> such with pvs.  Missing PVs should behave exactly as if they were
> not missing, but have I/O errors on every operation.  Every attempted
> I/O on a missing PV should cause a synthetic "missing PV" error.  This
> should make mirrors, etc, do the right thing.  LVs partially on the
> missing PV could be mountable, getting errors for spots on the missing PV.
> 
> The could be an option on vgchange for --ignoremissingpv to activate
> with missing PVs.  You might not want to activate with a root filesystem
> partially on a missing PV (filesystem corruption).  

Am I missing something here? vgchange --partial seems like it will do
what you want (man 8 lvm):

- -P | --partial
 When set, the tools will do their best to provide access to volume
 groups that are only partially available.  Where part of a logical
 volume is missing, /dev/ioerror  will be substituted, and you could use
 dmsetup (8) to set this up to return I/O errors when accessed, or
 create it as a large block device of nulls.  Metadata may not be
 changed with this option. To insert a replacement physical volume of
 the same or large size use pvcreate -u to set the uuid to match the
 original followed by vgcfgrestore (8).

You can also choose the device used for mapping segments on any
incomplete logical volumes by setting the missing_stripe_filler
parameter in the activation section of lvm.conf.

Regards,
Bryn.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFIGyme6YSQoMYUY94RAuqLAJ0SNvliyJFj+oPca084RnCrjhtLPQCeMc42
mPcsR4yUr4WSJq1K+0eyZQY=
=Fu2C
-----END PGP SIGNATURE-----

  reply	other threads:[~2008-05-02 14:47 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-30  0:53 [linux-lvm] F7 will not boot after running backup w/snapshot Gerry Reno
2008-04-30  2:29 ` Gerry Reno
2008-04-30  3:51   ` Gerry Reno
2008-04-30 14:00     ` Gerry Reno
2008-04-30 15:09       ` Larry Dickson
2008-04-30 17:23         ` Gerry Reno
2008-04-30 18:19           ` Gerry Reno
2008-04-30 18:28           ` Charles Marcus
2008-04-30 20:24             ` Gerry Reno
2008-04-30 21:19               ` Milan Broz
2008-04-30 22:30                 ` Gerry Reno
2008-05-01 15:48                   ` malahal
2008-05-01 16:30                     ` Mikulas Patocka
2008-05-01 18:15                       ` Gerry Reno
2008-05-01 18:38                         ` Charles Marcus
2008-05-01 19:37                           ` Gerry Reno
2008-05-01 19:42                             ` Charles Marcus
2008-05-01 19:53                               ` Gerry Reno
2008-05-01 20:03                                 ` Charles Marcus
2008-05-01 20:21                                   ` Gerry Reno
2008-05-01 20:25                                     ` Alasdair G Kergon
2008-05-01 20:30                                       ` Gerry Reno
2008-05-01 20:34                                         ` Charles Marcus
2008-05-01 20:36                                           ` Gerry Reno
2008-05-01 20:44                                             ` Charles Marcus
2008-05-01 20:57                                               ` Gerry Reno
2008-05-01 21:59                                                 ` Alasdair G Kergon
2008-05-01 22:12                                                   ` Gerry Reno
2008-05-01 23:50                                                     ` Gerry Reno
2008-05-02  0:38                                                       ` Stuart D. Gathman
2008-05-02  0:47                                           ` Stuart D. Gathman
2008-05-02  2:03                                             ` Gerry Reno
2008-05-02  8:14                                     ` Marek Podmaka
2008-05-02 14:00                                       ` Gerry Reno
2008-05-02 14:14                                         ` Charles Marcus
2008-05-02 14:25                                         ` Larry Dickson
2008-05-02 14:45                                         ` Marek Podmaka
2008-05-02 14:38                                       ` Stuart D. Gathman
2008-05-02 14:47                                         ` Bryn M. Reeves [this message]
2008-05-02 15:05                                           ` Marek Podmaka
2008-05-02 15:17                                           ` Stuart D. Gathman
2008-05-02 15:30                                             ` Gerry Reno
2008-05-02 15:36                                               ` Bryn M. Reeves
2008-05-03  2:27                         ` Mikulas Patocka
2008-05-04  0:45                           ` [linux-lvm] Temporary shapshots Stuart D. Gathman
2008-05-05 14:30                             ` Larry Dickson
2008-05-05 14:45                               ` Charles Marcus

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=481B299E.7040509@redhat.com \
    --to=bmr@redhat.com \
    --cc=linux-lvm@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.