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

Andreas Dilger adilger at turbolinux.com
Wed Apr 25 15:53:01 UTC 2001


Fabian Herschel writes:
> 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 :((

Can you post "pvdata -PPU <dev>" for each PV in the VG?  Also, can you
look through "vgscan -v -d" output to see why it is not finding all of
the PVs it wants?  This sounds like the old UUID problem.

Cheers, Andreas
-- 
Andreas Dilger  \ "If a man ate a pound of pasta and a pound of antipasto,
                 \  would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/               -- Dogbert



More information about the linux-lvm mailing list