[DRBD-user] Questions to get DRBD + Hearbeat to work

Bernd Schubert bernd.schubert at pci.uni-heidelberg.de
Tue Aug 2 16:15:56 CEST 2005

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


> bash-2.05b# mount
> /dev/hda1 on / type ext3 (rw)
> none on /proc type proc (rw)
> none on /dev/pts type devpts (rw,gid=5,mode=620)
> usbdevfs on /proc/bus/usb type usbdevfs (rw)
> none on /dev/shm type tmpfs (rw)
> /dev/drbd0 on /mnt/disk type ext3 (rw)
>
>
> ^^ is the above now a funtioning mirror? Or do I have to

Yes it is.

> mount /dev/drbd0 on the Secondary as well?

No, the drbd device MUST (*) be always only mounted on the primary node. The 
idea is that heartbeat will manage which of both node is the current primary 
and so will adjust it properly.

Regards,
	Bernd

PS: (*): Of course, there are always exceptions for everything, but until one 
understands the concept, one better shouldn't try to do unusual things ;-)

-- 
Bernd Schubert
Physikalisch Chemisches Institut / Theoretische Chemie
Universität Heidelberg
INF 229
69120 Heidelberg
e-mail: bernd.schubert at pci.uni-heidelberg.de



More information about the drbd-user mailing list