linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: fabian herschel <fabian.herschel@suse.de>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] vgscan does not found my VG, but pvscan does...
Date: Wed, 25 Apr 2001 10:06:58 +0200	[thread overview]
Message-ID: <01042510065800.15131@workstation> (raw)
In-Reply-To: <000901c0cd36$a80064a0$7d80a8c0@dyndns.org>

On Wednesday 25 April 2001 05:20, you wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Have you tried a vgimport?

Yes I did. vgimport does not want to import the VG, because it is not an 
exported one :((.

On an other machine I had the same problem and I tried to make a vgexport.
The _export_ went well (the VG was exported but I could not re-import it ).

I tried some things last night... 
  - First I have saved the heder blocks (VGDA) with dd (dd if=/dev/sda1   \
     of=/root/HEAD_sda1 count=4596 bs=512) 
  - Then I called a vgcfgrestore -n sysvg /dev/sda1.
  - Now pvscan tells me both PVs are in the VG sysvg. 
  - "vgchange -ay sysvg" activated the VG and the LVs could me mounted 

BUT
  - vgscan does NOT find the sysvg!!!
  - After a reboot the sysvg is not available.
  - Every time I have to call a vgcfgrestore :((

I have written a C-program which could retrieve all data from a LV, if pvdata 
-E reports correctly, but the LV could not be activated. But this is only a 
very bad work arround to retrieve my data. But I need a way to reactivate my 
VG, so it could be found by vgscan.

I'm hopeful we will find a solution.
Fabian Herschel

  reply	other threads:[~2001-04-25  8:06 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-24 17:00 [linux-lvm] vgscan does not found my VG, but pvscan does fabian herschel
2001-04-25  3:20 ` S. Michael Denton
2001-04-25  8:06   ` fabian herschel [this message]
2001-04-25 11:47     ` Heinz J. Mauelshagen
2001-04-25 12:18       ` Fabian.Herschel
2001-04-25 13:09         ` Fabian.Herschel
2001-04-25 21:12         ` Heinz J. Mauelshagen
2001-04-25 15:53     ` Andreas Dilger
2001-04-25 16:21       ` Fabian.Herschel

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=01042510065800.15131@workstation \
    --to=fabian.herschel@suse.de \
    --cc=linux-lvm@sistina.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).