<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<font size="-1"><font face="Helvetica, Arial, sans-serif"></font></font>Thank
you for your help. I would like both hosts to be able to manipulate
the LVM and run in dual primary mode. There isn't a whole lot of
manipulation going on, and certainly not simultaneous.<br>
<br>
On 06/03/2011 12:50 AM, Oleg Gelbukh wrote:
<blockquote
cite="mid:BANLkTimERBf6LqajTCMMHWohngdgk_PR2g@mail.gmail.com"
type="cite">Hi
<div><br>
</div>
<div>Naturally, you can use drbd without clvm if you use standard
primary/seconadry scheme and run lvm on primary only. Probably
you can also lock LVM metadata operations using locking_type = 4
on host you are not going to run lvm commands on. The main
problem of this approach is that you won't have your VGs and LVs
activated on the 'passive' host until you do vgchange -a y on
it, and on startup either. This can be fixed, of course, by
means of cron and rc scripts.<br>
<br>
<div class="gmail_quote">On Fri, Jun 3, 2011 at 12:41 AM, Pete
Ashdown <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:pashdown@xmission.com">pashdown@xmission.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
<div bgcolor="#ffffff" text="#000000"> <font size="-1"><font
face="Helvetica, Arial, sans-serif">I'm wondering if
there is a simple way of using lvm on drbd without the
headache of clvmd. Getting clvmd and corosync to run
on Ubuntu is very much a square-peg/round-hole
situation. I hate the way clvmd can lock me out of
vg's for no good reason. Heartbeat, corosync, and
clvmd seems to be overkill for what I'm doing - two
KVM boxes with drbd backing store. Would be more
appropriate to crontab vgscan?</font></font><br>
</div>
</blockquote>
</div>
</div>
</blockquote>
</body>
</html>