[DRBD-user] Command 'drbdmeta 0 v08 /dev/sda3 internal create-md' terminated with exit code 40

Felix Frank ff at mpexnet.de
Tue Jul 29 10:48:09 CEST 2014

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


On 07/22/2014 09:47 PM, Colom, Jaime wrote:
> # mkfs.ext4 /dev/sda3
> 
> # drbdadm create-md clusterdb_res

You are creating a filesystem on the backing device. There is literally
no reason to do that. Defer that step to after DRBD initialization.

DRBD even spells out your options:

On 07/22/2014 09:47 PM, Colom, Jaime wrote:> You need to either
>
>    * use external meta data (recommended)
>
>    * shrink that filesystem first
>
>    * zero out the device (destroy the filesystem)

You want to pick the latter.

Regards,
Felix



More information about the drbd-user mailing list