[DRBD-user] Problem with drbdsetup and /dev/sdb1

Lars Ellenberg Lars.Ellenberg at linbit.com
Sat Aug 28 00:31:02 CEST 2004

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


/ 2004-08-27 14:16:34 -0400
\ Dan Didier:
>  
> I created the drbd devices in /dev
> I have a second raid array which is /dev/sdb1
> When I try to run the following:
> 
> ./drbdsetup /dev/drbd0 disk meta-disk=internal meta-index=0 /dev/sdb1

I admit that it might not be intuitive. but it is documented.

it says:
 disk lower_dev meta_data_dev meta_data_index ...

so you want to say:
./drbdsetup /dev/drbd0 disk /dev/sdb1 internal -1

but actually, you do NOT want to say that.
you just want to edit /etc/drbd.config,
and then use drbdadm, which will call
drbdsetup for you with the correct options.

	lge



More information about the drbd-user mailing list