[DRBD-user] Problem creating md

Ziv Gabel ziv at mailvision.com
Wed Apr 16 16:59:33 CEST 2008

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


I dont understand what does "Destroy the FS" means
I've tried to repartition the device using fdisk and it doesn't work

what am I missing ?

Best regards,
Ziv Gabel
Support engineer

phone: + (972) 4 8508000 X 130
Cell: + (972) 54 4528944
Email: ziv at mailvision.com
Mailvision Ltd



Papp Tama's wrote:
> Ziv Gabel wrote:
>> When trying to do create-md as shown in the manual I get:
>>
>> [root at devsipbxlmailvision ~]# drbdadm create-md r0
>> v08 Magic number not found
>> md_offset 18203176960
>> al_offset 18203144192
>> bm_offset 18202587136
>>
>> Found ext2 filesystem which uses 17776544 kB
>> current configuration leaves usable 17775964 kB
>>
>> Device size would be truncated, which
>> would corrupt data and result in
>> 'access beyond end of device' errors.
>> You need to either
>> * use external meta data (recommended)
>> * shrink that filesystem first
>> * zero out the device (destroy the filesystem)
>> Operation refused.
>>
>> Command 'drbdmeta /dev/drbd0 v08 /dev/cciss/c0d1p1 internal 
>> create-md' terminated with exit code 40
>> drbdadm aborting
>>
>>
>> what should I do ?
>>
> Hi!
>
> Destroy the FS on the device with dd, and you can make it.
>
> tamas
>



More information about the drbd-user mailing list