[DRBD-user] Initializing DRBD resource and Data loss?

Lars Ellenberg lars.ellenberg at linbit.com
Thu Nov 6 16:38:50 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 Wed, Nov 05, 2008 at 08:47:02PM -0800, Alireza Nematollahi wrote:
> Hi guys,
> 
> I have configured a resource say drbd0 and it is up and everything is alright. Now, I stop DRBD and do:
> 
> #drbdadm create-md drbd0
> e-md drbd0
> md_offset 0
> al_offset 4096
> bm_offset 36864
> 
> Found some data
>  ==> This might destroy existing data! <==
> 
> Do you want to proceed?
> [need to type 'yes' to confirm] yes
> 
> 
> Valid meta data seems to be in place.
> Do you really want to overwrite?
> [need to type 'yes' to confirm]
> 
> Does this really destroy the data on the disk?

it re-initializes the meta data area.
yes, that is a destructive operation.

> I am working on a bash script to automate some of the day-to-day tasks
> like this

why would you want to re-initialize the drbd meta data area?
and why would you think re-initializing the drbd meta data would be a
day-to-day task?

> and wanted to know if this really has a negative effect on my existing
> data. By the way, I am using external meta data.

may I curiously ask what exactly you are up to?

-- 
: Lars Ellenberg
: LINBIT | Your Way to High Availability
: DRBD/HA support and consulting http://www.linbit.com

DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.
__
please don't Cc me, but send to list   --   I'm subscribed



More information about the drbd-user mailing list