[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [linux-lvm] vgscan does not found my VG, but pvscan does...



On Wed, Apr 25, 2001 at 10:06:58AM +0200, fabian herschel wrote:
> 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.

These "vgscan can't find my..." errors still show up on a too regular base :-(
They absolutely need to be fixed before the 1.0 release.

Could you please send your two VGDAs compressed email attached to mee in order
to be able to investigate more.

Add the "vgscan -d" output for the fail case as well, please.

> Fabian Herschel
> _______________________________________________
> linux-lvm mailing list
> linux-lvm sistina com
> http://lists.sistina.com/mailman/listinfo/linux-lvm

-- 

Regards,
Heinz    -- The LVM Guy --

*** Software bugs are stupid.
    Nevertheless it needs not so stupid people to solve them ***

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Heinz Mauelshagen                                 Sistina Software Inc.
Senior Consultant/Developer                       Am Sonnenhang 11
                                                  56242 Marienrachdorf
                                                  Germany
Mauelshagen Sistina com                           +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]