[linux-lvm] After power outtage my vg is gone

Heinz J . Mauelshagen mauelshagen at sistina.com
Mon Nov 5 05:55:01 UTC 2001


Klaus,

you probably need to update to LVM 1.0.1 rc4 to address this then
(You can get the LVM code from CVS at www.sistina.com).

I am not sure if you need to update the kernel part of LVM in Debian though.

Just compile the library and tools as described in LVMs INSTALL file and try.
If that finds your VG (which I hope ;-) and you still see other problems,
please either get the recent Alan Cox kernel (which is up to date IRT LVM)
*or* patch Linus kernel following the instructions in LVMs INSTALL and
PATCHES/README files.

Regards,
Heinz    -- The LVM Guy --


On Sun, Oct 28, 2001 at 07:09:35PM +0100, Klaus Pedersen wrote:
> I'm using Debian Linux on 2.4.6 (and whatever version of LVM that comes with
> it).
> After accidentaly pushing the power switch on my Linux server and starting
> it up again, I have problems mounting my vg again.
> 
> This is what happens :
> 
> Vault:/home/ultra# mount /glftpd/site
> mount: /dev/site_vg/lvol1 is not a valid block device
> Vault:/home/ultra# vgscan
> vgscan -- reading all physical volumes (this may take a while...)
> vgscan -- found inactive volume group "site_vg"
> vgscan -- ERROR "vg_read_with_pv_and_lv(): allocated LE of LV" can't get
> data of volume group "site_vg" from physical volume(s)
> vgscan -- ERROR "vg_read_with_pv_and_lv(): allocated LE of LV" creating
> "/etc/lvmtab" and "/etc/lvmtab.d"
> 
> Vault:/home/ultra#
> 
> 
> I read through the archive of the list because I am absolutely sure I am not
> the first who had this problem. I read some stuff about using the uuid_fixer
> tool, bit as far as I was able to read, the problem that fixes only shows up
> after extending the VG (Which I did a week or so, ago), and only for kernels
> up to 2.4.5.
> Is this true ?
> 
> Vault:~/uuid_fixer# ./uuid_fixer /dev/hda8 /dev/hdb1
> 
> UUIDs discovered:
> W9tkR7eq026WBMCBrUCdebI32vRyFuLn
> u5vBzCHwu5mjAt5yN0lS4Ecrto1jI9NZ
> 
> I tried running it anyway, and after that I ran vgscan - and the same
> problems showed up.
> 
> What do I do to recoved my data ?
> 
> 
> Any help is greatly appreciated
> 
> /Klaus
> 
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm at sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html

*** 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 at Sistina.com                           +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-




More information about the linux-lvm mailing list