Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
> -----Ursprüngliche Nachricht----- > Von: drbd-user-bounces at lists.linbit.com > [mailto:drbd-user-bounces at lists.linbit.com] Im Auftrag von Hari Sekhon > Gesendet: Freitag, 13. Februar 2009 15:43 > An: drbd-user at lists.linbit.com > Betreff: [DRBD-user] LVM on drbd confused? > # pvs > Found duplicate PV m8M0tNOCx83QS53D07kybsEDl8oNt4X6: using > /dev/sdb1 not /dev/drbd0 > Found duplicate PV m8M0tNOCx83QS53D07kybsEDl8oNt4X6: using > /dev/drbd0 not /dev/sdb1 > Found duplicate PV m8M0tNOCx83QS53D07kybsEDl8oNt4X6: using > /dev/sdb1 not /dev/drbd0 This is corrected with excluding the "/dev/sda*" entries from lvscan. Just add a filter to the lvm.conf like: filter = [ "a|/dev/drbd*|", "r/.*/" ] Now do a pvscan and it should bring up no duplicates anymore. Please tell us, if it works and if you can add an lv now. Explanation: As drbd is similar to a software raid, the "pv-headers" are visible on the underlying device as on the drbd, so it is logical, that both devices show up in pvscan after creation of the labels. The filter includes only drbd for searching.. Greets, Florian ********************************************************************************************** IMPORTANT: The contents of this email and any attachments are confidential. They are intended for the named recipient(s) only. If you have received this email in error, please notify the system manager or the sender immediately and do not disclose the contents to anyone or make copies thereof. *** eSafe scanned this email for viruses, vandals, and malicious content. *** **********************************************************************************************