[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [linux-lvm] Poison pills



On Wed, Oct 03, 2007 at 03:06:42PM -0400, Stuart D. Gathman wrote:
> What happens in linux LVM?  If it sees 
> two conflicting metadatas for the same VGID, what happens?
 
It'll apply some simple rules to distinguish them (e.g. if one has the
current hostname written into its metadata identifying the machine where
it was created and the other doesn't it'll select that one), but if it
can't tell them apart it will pick one at random (not in the strict
sense of that word - in identical external conditions it'll always
choose the same one) and use that.   [The hostname test is less use than
you might think, as many VGs are created with identical hostnames during
installation, and others are accessed early in the boot sequence before
the hostname has been set.]

BTW vgrename accepts the VGID as a parameter.

Alasdair
-- 
agk redhat com


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]