<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-2">
<META content="MSHTML 6.00.2900.3395" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=733405911-30092008><FONT face=Arial size=2>Hello
*,</FONT></SPAN></DIV>
<DIV><SPAN class=733405911-30092008><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=733405911-30092008><FONT face=Arial size=2>on the our two
servers we have following configuration:</FONT></SPAN></DIV>
<DIV><SPAN class=733405911-30092008><FONT face=Arial size=2>On the HDD is
installed LVM with partitions:</FONT></SPAN></DIV>
<DIV><SPAN class=733405911-30092008><FONT face=Arial size=2><STRONG>david:~ #
lvs</STRONG><BR> LV
VG Attr LSize Origin
Snap% Move Log Copy%<BR> lvDBS
david -wi-ao 18.00G is mounted to
/DBS<BR>david:~ #<BR></FONT></SPAN></DIV>
<DIV><SPAN class=733405911-30092008><FONT face=Arial size=2>this partition is
mounted on the other server too.</FONT></SPAN></DIV>
<DIV><SPAN class=733405911-30092008><FONT face=Arial size=2>Problem is that
after first synchronization and after reboot state of drbd
is:</FONT></SPAN></DIV>
<DIV><SPAN class=733405911-30092008><FONT face=Arial size=2><STRONG>david:~ #
cat /proc/drbd<BR></STRONG>version: 0.7.22 (api:79/proto:74)<BR>SVN Revision:
2572 build by <A href="mailto:lmb@dale">lmb@dale</A>, 2006-10-25
18:17:21<BR> 0: cs:Unconfigured<BR> 1: cs:Unconfigured<BR>david:~
#<BR></FONT></SPAN></DIV>
<DIV><SPAN class=733405911-30092008><FONT face=Arial size=2>When I am trying to
run drbd via /etc/init.d/drbd start it shouws me:</FONT></SPAN></DIV>
<DIV><SPAN class=733405911-30092008><FONT face=Arial size=2><STRONG>david:~ #
/etc/init.d/drbd start</STRONG><BR>Starting DRBD resources: [
d0 Lower device (/dev/david/lvDBS) is already mounted</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=733405911-30092008><FONT face=Arial size=2>cmd /sbin/drbdsetup
/dev/drbd1 disk /dev/david/lvDBS internal -1 failed!<BR>david:~
#<BR></FONT></SPAN></DIV>
<DIV><SPAN class=733405911-30092008><FONT face=Arial size=2>Output of lsmod is
following:</FONT></SPAN></DIV>
<DIV><SPAN class=733405911-30092008><FONT face=Arial size=2><STRONG>david:~ #
lsmod<BR></STRONG>Module
Size Used
by<BR>drbd
134996
0<BR>dock
13064 0<BR>....</FONT></SPAN></DIV>
<DIV><SPAN class=733405911-30092008><FONT face=Arial size=2>david:~
#</DIV></FONT></SPAN>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><SPAN class=733405911-30092008><FONT face=Arial size=2>Do you know via drbd
is not starting successfully after restart?</FONT></SPAN></DIV>
<DIV><SPAN class=733405911-30092008><FONT face=Arial size=2>output of
<STRONG>/var/log/messages</STRONG> is:</FONT></SPAN></DIV>
<DIV><SPAN class=733405911-30092008><FONT face=Arial size=2>Sep 30 14:11:06
david suse_register: performing registration: reason=regularSync<BR>Sep 30
14:11:07 david kernel: drbd: initialised. Version: 0.7.22
(api:79/proto:74)<BR>Sep 30 14:11:07 david kernel: drbd: SVN Revision: 2572
build by <A href="mailto:lmb@dale">lmb@dale</A>, 2006-10-25 18:17:21<BR>Sep 30
14:11:07 david kernel: drbd: registered as block device major 147<BR>Sep 30
14:11:07 david kernel: klogd 1.4.1, ---------- state change
--------</FONT></SPAN></DIV>
<DIV align=left><FONT face=Arial size=2>
<DIV align=left> </DIV>
<DIV align=left><SPAN class=733405911-30092008>Our version of drbd installed
directly from SLES10 SP2 is:</SPAN></DIV>
<DIV align=left><STRONG>david:~ # rpm -qa | grep
drbd<BR></STRONG>drbd-0.7.22-42.16<BR>drbd-kmp-smp-0.7.22_2.6.16.60_0.21-42.16<BR>david:~
#<BR></DIV>
<DIV align=left><SPAN class=733405911-30092008>Configuration file of drbd
is:</SPAN></DIV>
<DIV align=left><SPAN class=733405911-30092008><STRONG>david:~ # cat
/etc/drbd.conf<BR></STRONG>#<BR># please have a a look at the example
configuration file in<BR>#
/usr/share/doc/packages/drbd/drbd.conf<BR>#</SPAN></DIV>
<DIV> </DIV>
<DIV align=left><SPAN class=733405911-30092008><BR>resource DBS
{<BR> syncer
{<BR>
rate 300M;<BR>
}<BR> protocol
C;<BR> on david
{<BR>
device
/dev/drbd1;<BR>
disk
/dev/david/lvDBS;<BR>
address
10.6.5.1:7788;<BR>
meta-disk internal;<BR>
}<BR> on jeremiah
{<BR>
device
/dev/drbd1;<BR>
disk
/dev/jeremiah/lvDBS;<BR>
address
10.6.5.2:7788;<BR>
meta-disk internal;<BR>
}<BR>}<BR>david:~ #<BR></SPAN></DIV>
<DIV align=left>regards / S pozdravem</DIV>
<DIV align=left><STRONG></STRONG> </DIV>
<DIV align=left><STRONG>Ing. Petr Hráček</STRONG></DIV>
<DIV align=left>IT Services and Enterprise Communications</DIV>
<DIV align=left>Developer</DIV>
<DIV align=left> </DIV>
<DIV align=left>Bidláky 20, budova Mediahall</DIV>
<DIV align=left>639 00 Brno</DIV>
<DIV align=left> </DIV>
<DIV align=left>Tel.: +420 533 337 267</DIV>
<DIV align=left>Fax.: +420 533 337 252</DIV>
<DIV align=left>mailto: <A title=mailto:petr.hracek@siemens.com
href="mailto:petr.hracek@siemens.com"><FONT title=mailto:petr.hracek@siemens.com
color=#000000>petr.hracek@siemens.com</FONT></A></DIV>
<DIV align=left><FONT color=#000000><A title=http://www.isec-it.com/
href="http://www.isec-it.com/">www.isec-it.com</A></FONT></DIV>
<DIV align=left> </DIV>
<DIV align=left><SPAN lang=CS
style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: 'Times New Roman'; mso-ansi-language: CS; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: CS; mso-bidi-language: AR-SA"><FONT
size=1>Společnost: iSEC - IT Services and Enterprise Communications
s.r.o.<BR>Sídlo: Brno, Bidláky 20, 639 00<BR>Obchodní firma je zapsána
v obchodním rejstříku u Krajského soudu v Brně v oddílu C, ve
složce 54602. <BR>IČ: 27721710</FONT></SPAN></DIV>
<DIV align=left><SPAN lang=CS
style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: 'Times New Roman'; mso-ansi-language: CS; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: CS; mso-bidi-language: AR-SA"></SPAN> </DIV>
<DIV align=left><SPAN lang=CS
style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: 'Times New Roman'; mso-ansi-language: CS; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: CS; mso-bidi-language: AR-SA">
<P style="MARGIN: 0cm 0cm 0pt"><SPAN lang=CS
style="FONT-SIZE: 8pt; COLOR: black"><FONT size=1><FONT
face=Arial>POZOR!<?xml:namespace prefix = o ns =
"urn:schemas-microsoft-com:office:office" /><o:p></o:p></FONT></FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt"><SPAN lang=CS
style="FONT-SIZE: 8pt; COLOR: black"><FONT size=1><FONT face=Arial>Tento e-mail
může obsahovat obchodní tajemství nebo jiné utajované a důvěrné informace. Pokud
jste tento e-mail obdrželi omylem, oznamujeme Vám tímto, že je přísně zakázáno
jej jakýmkoli způsobem upravovat, kopírovat nebo šířit. Neprodleně nás prosím
informujte a tento e-mail zničte. Děkujeme za
spolupráci.<o:p></o:p></FONT></FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt"><SPAN lang=CS
style="FONT-SIZE: 8pt; COLOR: black"><o:p><FONT face=Arial
size=1> </FONT></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt"><SPAN lang=CS
style="FONT-SIZE: 8pt; COLOR: black"><FONT size=1><FONT face=Arial>Important
Note!<o:p></o:p></FONT></FONT></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt"><SPAN lang=CS style="FONT-SIZE: 8pt"><FONT
size=1><FONT face=Arial>This e-mail may contain trade secrets or
privileged, undisclosed or otherwise confidential information. If you have
received this e-mail in error, you are hereby notified that any review, copying
or distribution of it is strictly prohibited. Please inform us immediately and
destroy the original transmittal. Thank you for your cooperation.<SPAN
style="COLOR: #333333"><o:p></o:p></SPAN></FONT></FONT></SPAN></P></SPAN></DIV>
<DIV> </DIV></FONT></DIV>
<DIV> </DIV></BODY></HTML>