[DRBD-user] How do I reconfigure a device
Lars.Ellenberg at linbit.com
Mon Nov 7 22:39:55 CET 2005
/ 2005-11-08 09:19:57 +1300
\ Jeremy Bowen:
> On Mon, 07 Nov 2005 11:50 pm, Lars Ellenberg wrote:
> > > I've also tried:
> > > /sbin/drbdsetup /dev/drbd0 resize -d 62661501
> > > but this results in the same dmesg entry as above.
> > if we have seen our peer, we remember the "last agreed" size.
> > you are not allowed to grow beyond that in stand alone, at least not
> > using these tools.
> The device has never been connected to a peer.
then maybe the same meta data area has been used before for an other
device with different settings?
> However, if I want to start all over again, how do I do this ? Is there some
> way of resetting the drbd parameters ?
> I don't care about the data stored on the volume, I just want to start again.
> I'd prefer to do this without having to wipe my low level partitions. It is
> possible ?
since you seem to be using sda6 as your drbd meta data device,
dd if=/dev/zero of=/dev/sda6 bs=4K count=1
should do the trick (for the meta-disk /dev/sda6, at least)
: Lars Ellenberg Tel +43-1-8178292-0 :
: LINBIT Information Technologies GmbH Fax +43-1-8178292-82 :
: Schoenbrunner Str. 244, A-1120 Vienna/Europe http://www.linbit.com :
please use the "List-Reply" function of your email client.
More information about the drbd-user