Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
/ 2006-06-21 09:31:10 +1200 \ Simon: > Hi Luciano > > >> This is so i can create lv partitions on server1 and have them > >> automatically mirrored to server2 without changing setup (ie adding > >> each lv to the drdb.conf file). > > > >You'll have to manually (or in a script) activate/deactivate the lvm > >volumes. > > Yes - this is the way we will be using it! > > >> In my test environment, I have server1 and server2, both with > >> /dev/sdb1 as the meta data drive and /dev/sdb2 as a Linux LV > >> partition, then both servers have "disk = /dev/sdb2" set in the > >> drbd.conf file. Then try to do the following with the following result > >> (can anyone help me here please?): > >> > >> server1:/# pvcreate /dev/drbd0 > >> Physical volume "/dev/drbd0" successfully created > >> server1:/# pvdisplay > >> Found duplicate PV 947ghY5ndShGUC7jE8kUuhq9xEH6nvIB: using /dev/sdb2 > > > >Change the filter directive in /etc/lvm/lvm.conf, to exclude sdb.* or > >just include the devices that you know will be used for lvm. > > I have excluded /dev/sdb2 in the lvm.conf file thus: filter = [ "r/dev/sdb2" ] verify that you have exactly one filter statement. try filter = [ "a|/dev/drbd|", "r|.*|" ] or filter = [ "r|/dev/sdb2|" ] ( the second and last character are the delimiters, unparsable filters are likely to be ignored...) -- : Lars Ellenberg Tel +43-1-8178292-0 : : LINBIT Information Technologies GmbH Fax +43-1-8178292-82 : : Schoenbrunner Str. 244, A-1120 Vienna/Europe http://www.linbit.com : __ please use the "List-Reply" function of your email client.