[linux-lvm] HELP: vgscan segfaults
Heinz J . Mauelshagen
mauelshagen at sistina.com
Thu Jan 30 03:35:02 UTC 2003
On Wed, Jan 29, 2003 at 04:09:58PM +0000, Patrick Caulfield wrote:
> 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.
...plus "mkdir /etc/lvmtab.d;cp /etc/lvmconf/myvg.conf /etc/lvmtab.d/myvg"
before the "vgchange -ay".
Additionally you need to change the LVM config (i.e. by running
"lvchange -pr .." or something) so that the ondisk metadata gets written
back to the PVs.
> --
>
> patrick
>
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm at sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
--
Regards,
Heinz -- The LVM Guy --
*** 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