[linux-lvm] Weird corruption of volume group configuration with LVM. (fwd)

Hans Engren h at ns.engren.org
Sat Feb 10 20:35:31 UTC 2001


I've attached a gzip'ed output from "vgscan -d -v" to this mail. Checking
out the end of the output, it doesn't seem that good - atleast to me..

Suggestions ?

 -- Hans.

On Fri, 9 Feb 2001, Andreas Dilger wrote:

> Hans Engren writes:
> > The problem I had here two days ago were almost fixed by the beta4
> > release. I am still not quite aware of how to make sure this would work
> > properly. See output below.
> > [snip]
> > # vgscan
> > vgscan -- reading all physical volumes (this may take a while...)
> > zsh: 687 segmentation fault  vgscan
> 
> It would be good to know if this is a user-space segfault, or a kernel OOPS.
> 
> I was getting segfaults in vgscan yesterday, so I had a look at the whole
> code path.  The actual segfault was due to my own bugs, but the good result
> is that I cleaned up the code a lot (IMHO) so that the output from 
> "vgscan -v -d" is cut by half or more.  This was not due to removing
> debugging messages, but rather fixing the code so that it doesn't call
> pv_check_name 100 times and lvm_dir_cache 3 or 4 times, etc.
> 
> I will post patches for my changes, but there are a lot, and it probably
> won't be until Monday, so I can split them up.  If you are really
> desparate, I have put a tarball of my current (patched) LVM source tree at:
> 
> http://bazaar.turbolinux.co.jp/~adilger/lvm-0.9-patched.tgz
> 
> This tarball is totally not for public release, just a quick dump of what
> I currently have.  I don't think this will fix your problem, but at
> least when you run vgscan -v -d you can have an idea what is going on.
> 
> 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
> _______________________________________________
> linux-lvm mailing list
> linux-lvm at sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vgscan.output.gz
Type: application/octet-stream
Size: 18819 bytes
Desc: 
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20010210/86abeb2d/attachment.obj>


More information about the linux-lvm mailing list