Re: Re: LVM on dmraid breakage

Alasdair G Kergon <[email protected]>
Newsgroups gmane.linux.kernel.device-mapper.devel,gmane.linux.ataraid,gmane.linux.lvm.general
Organization Red Hat UK Ltd. Registered in England and Wales, number 03798903. Registered Office: Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE.
Message-ID <[email protected]>
On Tue, Aug 07, 2007 at 11:17:47AM +0200, Luca Berra wrote:
> 1) disable the automatic vgscan performed by every lvm command

With access to a 100% accurate external device database instead of the
existing .cache this is easy.
The --trustcache argument would be enabled by default on such a system.

> 2) modify pvscan to be able to scan a single device

This would actually just be something like 'pvs -o uuid <device>' with
a subtle modification so it notices there are no VG fields required
and so it doesn't attempt to access the VG metadata (which might
require accessing disks other than the one specified).

Alasdair
-- 
[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.