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

Lionel Sausin ls at numerigraphe.com
Fri Mar 25 09:45:50 CET 2011


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
>
>
>
>



More information about the drbd-user mailing list