[DRBD-user] repeatable, infrequent, loss of data with DRBD

Matthew Vernon mcv21 at cam.ac.uk
Thu Aug 20 10:58:02 CEST 2015

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


Hi,

> Are you sure LVM only uses the DRBD device to write data to and not the
> backend disk? We've had this issue in the past and this was caused by
> LVM which scans all the devices for PV's, VG's and LV's and sometimes
> pick the wrong device. You can fix this by changing the filter in the
> lvm.conf file. If you change this, don't forget to remove the LVM cache
> file first and then to rescan everything.

I'm reasonably sure, yes - I have LVM configured to use drbd devices thus:

    preferred_names = [ "^/dev/drbd" ]

Regards,

Matthew



More information about the drbd-user mailing list