[DRBD-user] Error create filesystem on active node in 3-three node configuration

Михаил Евстратов mikhail.evstratov at gmail.com
Fri Mar 25 10:28:59 CET 2011

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


Lionel & Felix thank you.
I realized my mistake.

25.03.2011 14:45, Lionel Sausin пишет:
> Dear Михаил Евстратов,
> You must not bring down the stacked resource, you have must mkfs onto it.
> If your stacked resource is /dev/drbd1 then just do:
> drbdadm --stacked up r0-U
> mkfs.ext3 /dev/drbd1
> Lionel Sausin.
>
> Le -10/01/-28163 20:59, Михаил Евстратов a écrit :
>> Hi!
>>
>> I have three-node configuration.
>> (Like this
>> http://www.howtoforge.com/drbd-8.3-third-node-replication-with-debian-etch)
>>
>>
>> When I run
>>
>> drbdadm --stacked down r0-U
>> and
>> mkfs.ext3 /dev/drbd0
>>
>> and run
>> drbdadm --stacked up r0-U
>>
>> an error
>>
>> drbdadm --stacked up r0-U
>> 10: Failure: (119) No valid meta-data signature found.
>>
>> ==> Use 'drbdadm create-md res' to initialize meta-data area. <==
>>
>> Command 'drbdsetup 10 disk /dev/drbd0 /dev/drbd0 internal
>> --set-defaults --create-device' terminated with exit code 10
>>
>> If I run
>>
>> drbdadm --stacked create-md r0-U
>>
>> an error
>>
>> md_offset 536847597568
>> al_offset 536847564800
>> bm_offset 536831180800
>>
>> Found ext3 filesystem
>> 524265236 kB data area apparently used
>> 524249200 kB left usable by current configuration
>>
>> 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 10 v08 /dev/drbd0 internal create-md' terminated
>> with exit code 40
>> drbdadm create-md r0-U: exited with code 40
>>
>> Help me please
>>
>> Mikhail Evstratov
>>
>>
>>
>>
>
> _______________________________________________
> drbd-user mailing list
> drbd-user at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user




More information about the drbd-user mailing list