[DRBD-user] Problem starting drbd after reboot

Hracek, Petr petr.hracek at siemens.com
Tue Sep 30 14:12:18 CEST 2008

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


Hello *,
 
on the our two servers we have following configuration:
On the HDD is installed LVM with partitions:
david:~ # lvs
  LV         VG      Attr   LSize   Origin Snap%  Move Log Copy%
  lvDBS      david   -wi-ao  18.00G     is mounted to /DBS
david:~ #

this partition is mounted on the other server too.
Problem is that after first synchronization and after reboot state of drbd is:
david:~ # cat /proc/drbd
version: 0.7.22 (api:79/proto:74)
SVN Revision: 2572 build by lmb at dale, 2006-10-25 18:17:21
 0: cs:Unconfigured
 1: cs:Unconfigured
david:~ #

When I am trying to run drbd via /etc/init.d/drbd start it shouws me:
david:~ # /etc/init.d/drbd start
Starting DRBD resources:    [ d0 Lower device (/dev/david/lvDBS) is already mounted
 
cmd /sbin/drbdsetup /dev/drbd1 disk /dev/david/lvDBS internal -1  failed!
david:~ #

Output of lsmod is following:
david:~ # lsmod
Module                  Size  Used by
drbd                  134996  0
dock                   13064  0
....
david:~ #
 
Do you know via drbd is not starting successfully after restart?
output of /var/log/messages is:
Sep 30 14:11:06 david suse_register: performing registration: reason=regularSync
Sep 30 14:11:07 david kernel: drbd: initialised. Version: 0.7.22 (api:79/proto:74)
Sep 30 14:11:07 david kernel: drbd: SVN Revision: 2572 build by lmb at dale, 2006-10-25 18:17:21
Sep 30 14:11:07 david kernel: drbd: registered as block device major 147
Sep 30 14:11:07 david kernel: klogd 1.4.1, ---------- state change --------
 
Our version of drbd installed directly from SLES10 SP2 is:
david:~ # rpm -qa | grep drbd
drbd-0.7.22-42.16
drbd-kmp-smp-0.7.22_2.6.16.60_0.21-42.16
david:~ #

Configuration file of drbd is:
david:~ # cat /etc/drbd.conf
#
# please have a a look at the example configuration file in
# /usr/share/doc/packages/drbd/drbd.conf
#
 

resource DBS {
        syncer {
                rate 300M;
        }
        protocol C;
        on david {
                device  /dev/drbd1;
                disk    /dev/david/lvDBS;
                address 10.6.5.1:7788;
                meta-disk internal;
        }
        on jeremiah {
                device  /dev/drbd1;
                disk    /dev/jeremiah/lvDBS;
                address 10.6.5.2:7788;
                meta-disk internal;
        }
}
david:~ #

regards / S pozdravem
 
Ing. Petr Hráček
IT Services and Enterprise Communications
Developer
 
Bidláky 20, budova Mediahall
639 00 Brno
 
Tel.:  +420 533 337 267
Fax.: +420 533 337 252
mailto: petr.hracek at siemens.com <mailto:petr.hracek at siemens.com> 
www.isec-it.com <http://www.isec-it.com/> 
 
Společnost: iSEC - IT Services and Enterprise Communications s.r.o.
Sídlo: Brno, Bidláky 20, 639 00
Obchodní firma je zapsána v obchodním rejstříku u Krajského soudu v Brně v oddílu C, ve složce 54602. 
IČ: 27721710
 
POZOR!

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.

 

Important Note!

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.

 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20080930/ee3333ad/attachment.htm>


More information about the drbd-user mailing list