[DRBD-user] drbdadm create-md all -- failed

Lars Ellenberg lars.ellenberg at linbit.com
Tue Mar 4 17:41:52 CET 2008

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


On Tue, Mar 04, 2008 at 11:30:15AM +0800, xu Feng wrote:
> Hi,
> 
> I solved this problem by doing a 
> 
> dd if=/dev/zero of=/dev/sda5 bs=1M count=128
> 
> By the way, I suppose that the error message "If you want me to do this, you
> need to zero out the first part of the 
> device (destroy the content)."
> should be more detailed and with the suggestion command like above 
> " dd if=/dev/zero of=/dev/sda5 bs=1M count=128"included.It will help a lot
> for new comers.

not to do this was intention.
in fact even to help newcomers.
because newcomers tend to just copy'n'past some command line,
and then later blame whomever suggested that commandline for any damage
that caused.

if however that newcomer found out by himself how to do what that
sentence suggests, ... well, you get the idea ;-)

btw, zeroing the first few k (say, 100k) would have been enough
to make the drbdmeta believe there is no usful data there and it
could proceed without harming anything.

-- 
: Lars Ellenberg                           http://www.linbit.com :
: DRBD/HA support and consulting             sales at linbit.com :
: LINBIT Information Technologies GmbH      Tel +43-1-8178292-0  :
: Vivenotgasse 48, A-1120 Vienna/Europe     Fax +43-1-8178292-82 :
__
please use the "List-Reply" function of your email client.



More information about the drbd-user mailing list