linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: `VL <vl.homutov@gmail.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] vgscan -- ERROR "vg_read_with_pv_and_lv(): current PV" can't get data of volume group
Date: Fri, 12 Jan 2007 21:44:27 +0300	[thread overview]
Message-ID: <aec22fc50701121044x403ed456xdd34f1e696d5cff4@mail.gmail.com> (raw)
In-Reply-To: <7682E579-E6B5-41E0-BC72-659301959512@sannet.ne.jp>

[-- Attachment #1: Type: text/plain, Size: 1132 bytes --]

Thanks for everyone!

I`ve got some ideas that helped me to get data back. Here is summary, that
someone maybe find usefull:

volume group lost one of it`s physical volumes and refused to mount.
So, i had to create new physical volume with same metadata (UUID and others)
as old one,
Metadata was saved in backup.The only problem i had that new harddisk i had
was not hdh (as one those
at volume group was), but hdb. Thus, vgcfgrestore refused to work, telling
that there are no such drive
in volume group. So, i edited manually binary backup file of lvm and changed
just one letter in the name of disk.
it worked. Also,i had to set same UID for new physical volume as it was for
old drive. I achieved this by
installing lvm2 tools and using pvcreate from there. After all those
manipulations, vgscan reported about
inactive volume group, which was successfully activated.

P.S. The most funny part of all this story is that there was 23 megs of data
on that group. Person, who
asked me to help with maintance, remembered that there was some sort of
'cleaning' on that server. =)

P.P.S. Thanks for your job, LVM people! LVM rules.

[-- Attachment #2: Type: text/html, Size: 1197 bytes --]

  reply	other threads:[~2007-01-12 18:50 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-09 18:26 [linux-lvm] vgscan -- ERROR "vg_read_with_pv_and_lv(): current PV" can't get data of volume group `VL
2007-01-10 17:08 ` Heinz Mauelshagen
2007-01-10 18:16   ` `VL
2007-01-11 11:20 ` Joel Rees
2007-01-12 18:44   ` `VL [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-08-03  5:56 d.levitin
2002-08-03  6:36 ` James Hawtin
2002-08-03  7:04   ` d.levitin
2002-08-03 17:32     ` sander
2002-08-04  5:41       ` d.levitin

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=aec22fc50701121044x403ed456xdd34f1e696d5cff4@mail.gmail.com \
    --to=vl.homutov@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).