[linux-lvm] LVM2 in a cluster and lvchange.

Alasdair G Kergon agk at uk.sistina.com
Thu Sep 18 07:52:01 UTC 2003


On Thu, Sep 18, 2003 at 09:38:46AM +0900, tester7 A. wrote:
> My question is that 'doing lvchange -an /dev/vg10/test ; lvchage -ay 
> /dev/vg10/test' in the other node make the kernel recognize the lv changes. 
> Is there any better way or command, becase making inactive temporaryly does 
> not make me feel right.
 
Your other option is to poke around with dmsetup.

Currently:

  dmsetup suspend vg10-test
  lvchange -ay vg10/test

should work, but mixing dmsetup with the LVM2 tools
like that is not supported and so it could break as
a side-effect of changes in future releases.
 
Alasdair
-- 
agk at uk.sistina.com




More information about the linux-lvm mailing list