<div dir="ltr"><div><div><div><div>Hi all,<br><br>I can't find a correct method to remove a volume from the resource. I have now:<br>resource Pirmas {<br> volume 0 {<br> device /dev/drbd3;<br> disk /dev/VolGroup1/DRBD-Pirmas-Syst;<br>
meta-disk internal;<br> }<br> volume 1 {<br> device /dev/drbd4;<br> disk /dev/VolGroup1/DRBD-Pirmas-Data;<br> meta-disk internal;<br> }<br>
volume 2 {<br> device /dev/drbd7;<br> disk /dev/VolGroup1/DRBD-Pirmas-Maildirs;<br> meta-disk internal;<br> }<br> on <a href="http://zirnis.infosaitas.net">zirnis.infosaitas.net</a> {<br>
address <a href="http://192.168.19.11:7800">192.168.19.11:7800</a>;<br> }<br> on <a href="http://hyper02.infosaitas.net">hyper02.infosaitas.net</a> {<br> address <a href="http://192.168.19.12:7791">192.168.19.12:7791</a>;<br>
}<br>}<br><br></div>what I want to do is to get rid of volume 1, and, for the sake of aesthetics, rename volume 2 to volume 1.<br></div>drbdadm down and disconnect commands work on whole resource, but not volumes within them.<br>
<br></div>Can someone point me to the right direction?<br><br></div>Thanks<br>Liutauras<br></div>