All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gionatan Danti <g.danti@assyoma.it>
To: Zdenek Kabelac <zkabelac@redhat.com>,
	LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] Backup superblock for thin provision?
Date: Tue, 17 May 2016 15:22:29 +0200	[thread overview]
Message-ID: <573B1B15.4050204@assyoma.it> (raw)
In-Reply-To: <573AE007.7040603@redhat.com>


>
> There is always the option to take 'metadata' snapshot and just
> thin_dump content of metadata to a file (located in some 'safe' place)
>

Something as "dmsetup reserve_metadata_snap", thin_dump, "dmsetup 
release_metadata_snap" ? If so, I'm already using for testing purpose ;)

> However validation of 'restore'  if there are some 'snapshots' is
> questionable as the b-tree describing mapped blocks may change
> significantly
> so 'rescued' content may than reference lots of bad blocks.

Sure, with snapshots the situation is surely more complex, as due to the 
CoW the old metadata can point to stale data, right?
>
> If you want to just protect 'superblock' against disk fault - usage
> of 'raid' could be an option - but ATM there are some 'related' costs
> with management of 'stacked' device tree.
>

Both my tmeta and tdata reside on a RAID6 array provided by a 
BBU-protected RAID card, so I should be safe here.


-- 
Danti Gionatan
Supporto Tecnico
Assyoma S.r.l. - www.assyoma.it
email: g.danti@assyoma.it - info@assyoma.it
GPG public key ID: FF5F32A8

  reply	other threads:[~2016-05-17 13:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-13 10:39 [linux-lvm] Backup superblock for thin provision? Gionatan Danti
2016-05-16 18:55 ` Mike Snitzer
2016-05-17  9:10   ` Zdenek Kabelac
2016-05-17 13:22     ` Gionatan Danti [this message]
2016-05-17 13:18   ` Gionatan Danti

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=573B1B15.4050204@assyoma.it \
    --to=g.danti@assyoma.it \
    --cc=linux-lvm@redhat.com \
    --cc=zkabelac@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.