[lvm-devel] md_component_detection bug

Alasdair G Kergon agk at redhat.com
Sat May 29 11:19:02 UTC 2010


1) The basic rule is you should run 'vgscan' after changing devices
underneath LVM.

2) The code tries to detect problems but doesn't find every case.
It's a trade-off between complete correctness scanning everything all
the time and speed.

For this new example where it doesn't do what you would expect,
write up a bugzilla (fedora rawhide) listing the sequence of commands
someone could run to demonstrate the problem.
Perhaps also show the contents of '.cache' in between the commands
that change it.

In particular, is .cache holding *both* /dev/md0 *and* /dev/sdc1 +
/dev/sdd1 even though md_component_detection is enabled?    If so,
that's what we should fix I think.

The device cache is very old code.

Alasdair




More information about the lvm-devel mailing list