<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
get this in your UI then.. i.e. in lvm.conf accept ONLY those devices
NOT under drbd.<br>
<br>
Just wondering how many times do you have to configure drbd? If
multiple times, why? <br>
<pre class="moz-signature" cols="100">--
Regards,
Koustubha Kale
</pre>
<br>
<br>
Vaibhav Nipunage wrote:
<blockquote
cite="mid:51b3a25b0812082148n3c5425d7maa243dbcac8284f4@mail.gmail.com"
type="cite">Thanks Koustubha for your suggestion. <br>
<br>
As you said remove the sd* disk, but in my case changing the filter
every time, whenever I configured DRBD, is not manual. I have designed
UI for configuring the DRBD. So it is dynamic. So is there any other
way to exclude the used disk?<br>
<br>
Thanks.<br>
<br>
Vaibhav Nipunage<br>
<br>
<div class="gmail_quote">On Tue, Dec 9, 2008 at 10:13 AM, Koustubha
Kale <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:kmkale@anantcorp.com">kmkale@anantcorp.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">> I have changed the LVM filter (*filter = [
"a|sd.*|", "a/drbd.*/", "r|.*|"]*) to accept the DRBD devices.<br>
<br>
</div>
Guess you need "r|sd.*|", in there for it to ignore the sd* devices and
put the pv & lv's on drbd. Unless you have some more lv's on some
other sd* devices?<br>
Here is what I have for such a situation..<br>
filter = [ "a|/dev/drbd0|", "a|/dev/drbd1|", "a|/dev/sda2|",
"r|/dev/sda6|", "r|/dev/sda7|" ]<br>
i.e. everything explicit.<br>
<br>
-- <br>
Regards,<br>
Koustubha Kale<br>
<br>
<br>
_______________________________________________<br>
drbd-user mailing list<br>
<a moz-do-not-send="true" href="mailto:drbd-user@lists.linbit.com"
target="_blank">drbd-user@lists.linbit.com</a><br>
<a moz-do-not-send="true"
href="http://lists.linbit.com/mailman/listinfo/drbd-user"
target="_blank">http://lists.linbit.com/mailman/listinfo/drbd-user</a><br>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
Vaibhav Nipunage<br>
Systems Engineer<br>
<br>
QualEx Systems Pvt. Ltd. <br>
<a moz-do-not-send="true" href="http://www.qualexsystems.com">www.qualexsystems.com</a><br>
<br>
<br>
</blockquote>
</body>
</html>