[DRBD-user] drbd -> disk /dev/???

Lars Ellenberg Lars.Ellenberg at linbit.com
Tue Mar 14 15:43:34 CET 2006

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

/ 2006-03-10 20:42:22 +0100
\ Alfredo Pagano:
> The problem is that on my 2 machine I have a RAID 1 with :
> ~# df -h
> Filesystem            Size  Used Avail Use% Mounted on
> /dev/md0              111G   12G   94G  11% /
> tmpfs                1014M     0 1014M   0% /dev/shm
> so, I don't know what I must put as "disk" ; if I set /dev/md0
> ~# /etc/init.d/drbd start
> Starting DRBD resources:    [ d0 Lower device (/dev/md0) is already mounted
> cmd /sbin/drbdsetup /dev/drbd0 disk /dev/md0 internal -1  failed!

well, thats exactly it: you cannot use a mounted device as lower level device.
what may help you:

you do not "add" drbd to your "system partition".
you use drbd on top of some block device, and put your data on the drbd.

so: create a "partition" (md1, logic volume whatever), use that for drbd. 

: 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.

More information about the drbd-user mailing list