public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Stefan G. Weichinger" <lists@xunil.at>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] rescuing lvm data
Date: Wed, 24 Oct 2012 22:08:52 +0200	[thread overview]
Message-ID: <50884AD4.4060806@xunil.at> (raw)


greetings ...

the server in my basement is driving me nuts ... and I start making
mistakes ... sigh

It had a LVM volume group ... consisting of two PVs ...

The question in short:

if I only have one PV at hand, which contains all the PEs of a given LV
... (how) am I able to extract/export/read the contents of that LV?

background:

when I searched for the reason of those crashes, I removed and swapped
and cloned hard disks all around.

Right now I am on a brand new machine and want to sort out harddisks etc.

One PV wasn't detected correctly ("unknown device") even though it had
the correct uuid. I did some "pvcreate -u" on it ... and now those LVs
on it aren't accessible anymore (can't mount or even fsck).

My luck (I hope!): I have a clone of that harddrive.

But I don't want to simply plug it in because I fear to ruin things as I
already messed up that VG further by trying stuff like vgcfgrestore etc.

Yes, my fault.

The clone contains all the blocks for an LV I would like to keep
somehow. So I assume it should be possible to access them?

(explanation why there is no backup: the data is mythtv-stuff, video
which is nice to have, but not critical.)

Thanks, Stefan


             reply	other threads:[~2012-10-24 20:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-24 20:08 Stefan G. Weichinger [this message]
2012-10-24 20:23 ` [gentoo-user] rescuing lvm data Florian Philipp
2012-10-24 20:50   ` Stefan G. Weichinger

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=50884AD4.4060806@xunil.at \
    --to=lists@xunil.at \
    --cc=gentoo-user@lists.gentoo.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox