[linux-lvm] vgscan errors

Heinz J . Mauelshagen mauelshagen at sistina.com
Fri Mar 8 02:47:02 UTC 2002


On Thu, Mar 07, 2002 at 11:17:23AM -0600, Kelly Corbin wrote:
> OK, now I have another problem.  I got vgscan to run fine now off of my 
> boot CD, but now the system fails the vgscan on boot (/ is an LVM) with 
> an 'ERROR 28 writing volume group backup file /etc/...'
> 
> I'm assuming this is because the initrd created by lvmcreate_initrd is 
> not big enough to accomodate the metadata backup.

Exactly.

> What size is this 
> generally (lvmcreate_initrd says it calculates this automatically) and 
> to what size should I set this manually to get this to work?  How much 
> space do I need for the backups during vgscan?

Calculate your given initrd size plus your /etc/lvconf/* backup sizes
you need to store in the initrd once vgscan is run
and change the INITRDSIZE to that number in kilobytes + 1MB.

Regards,
Heinz    -- The LVM Guy --

> 
> Thanks.
> 
> Kelly Corbin wrote:
> 
> > Doh! I didn't get what you were saying in your first reply.  I'm sure 
> > that's it.  It's running in an init. ramdisk image and there's very 
> > little actual space.  Generally speaking, how big do those backups get?
> > 
> > Thanks for your help.
> > 
> > Heinz J . Mauelshagen wrote:
> > 
> >> On Tue, Mar 05, 2002 at 02:20:44PM -0600, Kelly Corbin wrote:
> >>
> >> It is probably too little free space in the root fs.
> >> Because you've got somany extents the size of the metadata backup is 
> >> bigger
> >> as well.
> >>
> >> Check your root fs free space, please.
> >>
> >>
> >>> Thanks.
> >>>
> >>>
> >>> Heinz J . Mauelshagen wrote:
> >>>
> >>>
> >>>> Error 2 is ENOENT (no entry).
> >>>> Could be a space problem in case / run full.
> >>>>
> >>>> Regards,
> >>>> Heinz    -- The LVM Guy --
> >>>
> > 
> > 
> 
> 
> -- 
> --------------------------------------------
> -- Kelly Corbin
> -- Systems Administrator
> --
> -- http://www.theiqgroup.com
> -- The Future of eServices...
> --
> -- The IQ Group, Inc.
> -- 6740 Antioch Suite 110
> -- Merriam, KS 66204
> -- (913)-722-6700 x105
> -- Fax (913)722-7264
> --------------------------------------------
> 
> 
> _______________________________________________
> 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