[linux-lvm] HELP: vgscan segfaults

Patrick Caulfield caulfield at sistina.com
Wed Jan 29 09:43:01 UTC 2003


On Wed, Jan 29, 2003 at 04:32:29PM +0100, Peter Lohmann wrote:
> On Wed, Jan 29, 2003 at 03:18:19PM +0000, Patrick Caulfield wrote:
> > On Wed, Jan 29, 2003 at 04:12:09PM +0100, Peter Lohmann wrote:
> > > Hi folks!
> > > 
> > > I cannot access my lv's anymore, because vgscan segfaults.
> > > I used Knoppix (2.4.20 Kernel) yesterday - it worked fine.
> > > But today, when I try to do a vgscan -v i get the following output:
> > > 
> > > root at tty1[/]# vgscan -v
> > > vgscan -- removing "/etc/lvmtab" and "/etc/lvmtab.d"
> > > vgscan -- creating empty "/etc/lvmtab" and "/etc/lvmtab.d" 
> > > vgscan -- reading all physical volumes (this may take a while...)
> > > vgscan -- scanning for all active volume group(s) first
> > > vgscan -- reading data of volume group "myvg" from physical volume(s)
> > > Segmentation fault
> > > 
> > > As i said, yesterday it worked fine?!?
> > > 
> > > I'm using debian packages lvm-common 1.5.5 and lvm10 v. 1.0.4-6
> > 
> > Are there any kernel messages (dmesg) ?
> 
> No :-(

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.

-- 

patrick





More information about the linux-lvm mailing list