Hi all,<br><br>Short: Can I use DRBD8 on a LVM LV? I'm getting an error: "Failure: (114) Lower device is already mounted."<br><br>Long: I have the following setup:<br><br>A Xen dom0 in which I create several LV's for usage with Xen domU's. (This is very convenient on Debian Etch with the xen-create-image utility, using the --lvm switch.) I create a seperate LV which I dedicate to the Xen domU like so:
<br><br>'phy:sys/drbd1-drbd,hdb1,w'<br><br>I don't mount this partition in the domU, but I try to connect to it with drbd8-pre5 (Etch package). The relevant part of the drbd.conf:<br><br> on drbd1 {<br> device /dev/drbd0;
<br> disk /dev/hdb1;<br> address <a href="http://172.21.1.20:7788">172.21.1.20:7788</a>;<br> flexible-meta-disk internal;<br><br>(If you need more info about the drbd config, please let me know!)<br><br>
When I try to start drbd, I get the following message:<br><br>tim@drbd1:~$ sudo /etc/init.d/drbd start<br>Starting DRBD resources: drbd: initialised. Version: 8.0pre5 (api:84/proto:83)<br>drbd: SVN Revision: 2481M build by
root@drbd1, 2007-01-03 10:10:53<br>drbd: registered as block device major 147<br>[ d0 Failure: (114) Lower device is already mounted.<br>s0 n0 drbd0: conn( StandAlone -> Unconnected ) <br>drbd0: receiver (re)started<br>
drbd0: conn( Unconnected -> WFConnection )<br>(after which the counter starts counting, since the second machine isn't online)<br><br>What am I doing wrong here? I got this setup working with drbd0.7, but I noticed it's due to be removed from Debian, so I figured, I'd better move to drbd8.
<br><br>Any help/advice is greatly appreciated.<br clear="all"><br>-- <br>Gegroet,<br>Tim