All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gionatan Danti <g.danti@assyoma.it>
To: LVM general discussion and development <linux-lvm@redhat.com>
Cc: lampahome <pahome.chen@mirlab.org>
Subject: Re: [linux-lvm] How to repair superblock is corrupt
Date: Thu, 28 May 2020 10:14:19 +0200	[thread overview]
Message-ID: <23204dd6777b6eebd73b7fc6374692ca@assyoma.it> (raw)
In-Reply-To: <CAB3eZfsY6hLzJD_AgP+zMKJm-coM134MehCU9me80ePt05-iRw@mail.gmail.com>

Il 2020-05-28 09:35 lampahome ha scritto:
> I create a vg1 on one SSD and create a lv1 in vg1.
> Then I run:
> sudo thin_check /dev/mapper/vg1-lv1
> 
> It shows:
> examining superblock
>   superblock is corrupt
>     bad checksum in superblock
> 
> Can someone teach me how to fix corrupted superblock?

Hi, thin_check should be run against the metadata device (more 
precisely, against a snapshot of the metadata device).

I suggest you reading thin_check/thin_dump man pages: 
https://www.systutorials.com/docs/linux/man/8-thin_check/

Regards.

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

      reply	other threads:[~2020-05-28  8:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-28  7:35 [linux-lvm] How to repair superblock is corrupt lampahome
2020-05-28  8:14 ` Gionatan Danti [this message]

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=23204dd6777b6eebd73b7fc6374692ca@assyoma.it \
    --to=g.danti@assyoma.it \
    --cc=linux-lvm@redhat.com \
    --cc=pahome.chen@mirlab.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.