[DRBD-user] Problem with create-md

Pierguido pierg75 at yahoo.it
Thu Aug 23 16:42:54 CEST 2007

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


Rene Mayrhofer wrote:
> Hi list,
> 
> I am currently using drbd8-utils 8.0.4 under Debian (package from testing, 
> recompiled for etch). For most of the resources, it works without a problem, 
> but for some I get:
> 
> [root at jupiter1 ~]# drbdadm create-md xenswap-ns1
> v08 Magic number not found
> v07 Magic number not found
> About to create a new drbd meta data block
> on /dev/mapper/xendomains-swap_ns1.
> 
>  ==> This might destroy existing data! <==
> 
> Do you want to proceed?
> [need to type 'yes' to confirm] yes
> 
> lseek64() failed: Invalid argument
> Command 'drbdmeta /dev/drbd3 v08 /dev/mapper/xendomains-swap_ns1 internal 
> create-md' terminated with exit code 20
> drbdadm aborting
> 

I used for some time the same configuration but i had no problem...
Instead of using /dev/mapper/LV, did you try to use 
/dev/xendomains/swap_ns1?
Now i'm using drbd 8.0.5 compiled from source on etch on top of a lvm 
volume.

Pier



More information about the drbd-user mailing list