All of lore.kernel.org
 help / color / mirror / Atom feed
From: Zdenek Kabelac <zkabelac@redhat.com>
To: patrik@dsl.sk
Cc: device-mapper development <dm-devel@redhat.com>
Subject: Re: Reducing size of thin spare metadata, thin metadata
Date: Mon, 06 Oct 2014 10:31:06 +0200	[thread overview]
Message-ID: <5432534A.5090409@redhat.com> (raw)
In-Reply-To: <CAAOsTS=ZvKDZAi7RwaO0s4hFEHeggGFZSQCLSjs3fGC+5m5mCA@mail.gmail.com>

Dne 6.10.2014 v 10:12 Patrik Horník napsal(a):
> OK, I see. So the result is that pool is not activated when it does
> not pass check and there is no spare? So is it totally safe to have no
> spare?
>
> And so is there a way to reduce size of spare / create spare of
> specified (smaller) size after its removal?
>

Idea behind spare is to have 'reserved' space for pool metadata recovery.
(it's like hidden space in filesystem)

When the pool gets broken and you don't have reserved space for repair
you need to add new free space for recovery.

And at this moment it's getting quite complex (well beyond autonomous 
'lvconvert --repair').

So as long as you know what you are doing and you could repair
metadata manually - you are fine.
(You could disable creation of spare volume in lvm.conf)

But lvm2 requires to have reserved space to proceed for --repair.
After all - the size of pool metadata should be pretty small compared with the 
rest of VG.

Zdenek

  reply	other threads:[~2014-10-06  8:31 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-06  7:28 Reducing size of thin spare metadata, thin metadata Patrik Horník
2014-10-06  7:39 ` Zdenek Kabelac
2014-10-06  7:59   ` Patrik Horník
2014-10-06  8:05     ` Zdenek Kabelac
2014-10-06  8:12       ` Patrik Horník
2014-10-06  8:31         ` Zdenek Kabelac [this message]
2014-10-06  8:48           ` Patrik Horník
2014-10-06  8:57             ` Zdenek Kabelac
     [not found]               ` <CAAOsTS=j1mUA+caJ35ChDvpQJTu2m8OHVPCEZFTJHdn9cgdhsw@mail.gmail.com>
2014-10-06  9:05                 ` Fwd: " Patrik Horník
2014-10-07  7:17                   ` Marian Csontos

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=5432534A.5090409@redhat.com \
    --to=zkabelac@redhat.com \
    --cc=dm-devel@redhat.com \
    --cc=patrik@dsl.sk \
    /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.