[DRBD-user] LVM and DRBD

Roland Friedwagner roland.friedwagner at wu-wien.ac.at
Wed Feb 16 14:39:12 CET 2011

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


[root at 0-0-0:/] pvs --segments --units s -o vg_name,vg_extent_size,pv_name,pvseg_start,pvseg_size,lv_name,lv_size,lv_attr,pe_start,seg_pe_ranges
  VG     Ext   PV         Start SSize  LV         LSize       Attr   1st PE  PE Ranges           
  vm     8192S /dev/dm-3      0  25000 freeradius  204800000S -wi-a-    384S /dev/dm-3:0-24999   
  vm     8192S /dev/dm-3  25000 441781                     0S           384S                     

=> /dev/dm-3 is the PV for your vm VG
   But I think this should be /dev/drbd0!

Lookup this:

  ls -l /dev/dm-3
  dmsetup ls
  dmsetup info
  dmsetup deps
  dmsetup table

to get the info what /dev/dm-3 is at your box and where
it comes from.

And try change your drbd.conf to:
---------------------------------
_this_host {
    device            minor 0;
    disk            "/dev/system/drbd";
    meta-disk        internal;
    address            ipv4 127.0.0.1:7789;
}
_remote_host {
    address            ipv4 10.99.99.99:19999; <= does not exist

else it looks like you do connect your primary also
as secondary. But it probably does not care.



Am Mittwoch 16 Februar 2011 schrieb Etienne Pretorius:
> Hello Roland,
>
> I have attached the terminal output to this email.
>
> Thank you,
> Etienne Pretorius



-- 
Roland.Friedwagner at wu.ac.at            Phone: +43 1 31336 5377
IT Services - WU (Vienna University of Economics and Business) 



More information about the drbd-user mailing list