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

Re: [linux-lvm] vgscan errors



On Mar 08, 2002  09:44 +0100, Heinz J . Mauelshagen wrote:
> 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.

I think a lot of people have this same problem (not enough free space in
initrd).  Can't we just disable backups somehow?  It's the initrd after
all, so it's not like the backups are useful.  Alternately, it is better
to just fix the script to have more leeway in the INITRDSIZE in the
first place.

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




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