[DRBD-user] Setting an "outdated" disk back to "UpToDate" ?

Lars Ellenberg lars.ellenberg at linbit.com
Sat Aug 16 16:57:35 CEST 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 Fri, Aug 15, 2008 at 05:27:02PM +0200, Robert wrote:
> Ok, found a way:
>
> debnode2:~# drbdadm down db
> debnode2:~# drbdadm -- :::::1:::: set-gi db
> previously  
> 1E65F6C2CB7D5B5C:0000000000000000:E9ACAE2A5D5F54A8:0173BFF26274A71F:1:0:0:0:0:0
> set GI to   
> 1E65F6C2CB7D5B5C:0000000000000000:E9ACAE2A5D5F54A8:0173BFF26274A71F:1:1:0:0:0:0
>
> Write new GI to disk?
> [need to type 'yes' to confirm] yes
>
> debnode2:~# drbdadm up db
> debnode2:~# /usr/lib/heartbeat/ResourceManager takegroup drbddisk
>
> Why not add a simple "drbdadm uptodate" to drbdadm to issue the  
> corresponding commands ?

drbdadm -- --overwrite-data-of-peer primary db

is expected to to that for you.

-- 
: Lars Ellenberg                
: LINBIT HA-Solutions GmbH
: DRBD®/HA support and consulting    http://www.linbit.com

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



More information about the drbd-user mailing list