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

Re: [linux-lvm] HELP: vgscan segfaults



On Wed, Jan 29, 2003 at 04:59:36PM +0100, Peter Lohmann wrote:
> > 
> > If your metadata backups are up-to-date then "vgchange -ay" should activate the
> > volumes regardless. Something must have changed, programs don't just work one
> > day and segv the next without good reason.
> 
> I know... but still:
> 
> --> vgchange -ay myvg
> vgchange -- volume group "myvg" does not exist
> 
> Same with vgchange -ay
> 
> :-(

Looks like the segfaulting vgscan started to write the metadata backups. See of
you can find valid ones in /etc/lvmtab and restore them using vgcfgrestore.

OR it might be as easy as creating a new /etc/lvmtab with "myvg\0" in it and
retrying vgchange.
-- 

patrick




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