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 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 href="mailto:drbd-user@lists.linbit.com" target="_blank">drbd-user@lists.linbit.com</a><br>
<a 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 href="http://www.qualexsystems.com">www.qualexsystems.com</a><br><br><br>