[linux-lvm] vg problems after power failure

Heinz.Mauelshagen at t-online.de Heinz.Mauelshagen at t-online.de
Tue May 16 14:29:00 UTC 2000


The vgscan output shows a strange amount of sectors while checking sdb. 
It looks like the partition table on that disk is hosed. fdisk seems to 
share that opinion ;-{(

Please set up the partition table with fdisk (i hope you remember the 
correct sizes) and retry. Please don't forget to set the partition 
types.

Regards,
Heinz

>----- Ursprüngliche Nachricht -----
>Absender: dash_ampersand at yahoo.com
>Betreff: Re: [linux-lvm] vg problems after power failure
>Empfänger: Heinz Mauelshagen
>Datum: 15. Mai 2000 21:57
>
> Here is the output of the command.  I have been away
> from this for a couple of weeks.  I'm going to do more
> checking in a little while.  Linux detects sdb1 on
> bootup but fdisk doesn't show it.  I'm hoping I'm not
> missing something simple.  Thanks.
> 
> 
> Regards,
> Chris
> 
> --- Heinz Mauelshagen
> <mauelsha at EZ-Darmstadt.telekom.de> wrote:
> > > We had a power failure and our server (fortunately
> > not
> > > "production" yet...) lost power.  Now vgscan does
> > not
> > > find volume groups.  Also, at boot time, Linux
> > says it
> > > finds a partition -- sdb1.  This shouldn't be
> > > happening, should it?
> > 
> > Did the power failure lead to a destroyed partition
> > table?
> > This could in turn prevent LVM to find PVs on that
> > disk.
> > 
> > > 
> > > 
> > > [root at microviz00 lvmconf]# vgscan -v vgscan --
> > > removing "/etc/lvmtab" and "/etc/lvmtab.d" vgscan
> > --
> > > reading all physical volumes (this may take a
> > > while...) vgscan -- no volume groups found        
> >    
> > >                                                   
> >    
> > >                                       
> > > 
> > > Is there anything I might try to get it to
> > recognize
> > > the volume group?  Thanks in advance.
> > 
> > Which is the exact VG setup you had before?
> > IOW: Which partitions/whole disks were used as PVs?
> > 
> > Could you provide the output of "vgscan -dv" please?
> > 
> > In any case please save /etc/lvmconf/* to enable
> > yourself to
> > use vgcfgrestore in case the VGDA has really been
> > destroyed.
> > 
> > > 
> > > 
> > > 
> > > Chris
> > > 
> > 
> > Regards,
> > Heinz
> 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Send instant messages & get email alerts with Yahoo! Messenger.
> http://im.yahoo.com/




More information about the linux-lvm mailing list