Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
Check the drbdadm man page...
drbdadm invalidate all (Will invalidate the data on the node where you run the command)
drbdadm invalidate_remote all (Will invalidate the data on the other node where you run the command)
If you have several resources you may do then one at a time
drbdadm invalidate resource-name
from the man page:
-------------------------------------------------------------------
invalidate
This forces DRBD to consider the data on the local backing storage device as
out-of-sync. Therefor DRBD will copy each and every block over from its peer, to bring the local
storage device back in sync.
invalidate_remote
This command is similar to the invalidate command, but the backing storage of the
peer is invalidated and hence rewritten with the data of the local node.
-------------------------------------------------------------------
HTH,
Diego
Olaf Zaplinski wrote:
> Hi,
>
> how can I force a re-sync?
>
>
> Node 1:
>
> [root at drbd01 ~]# cat /proc/drbd
> version: 0.7.23 (api:79/proto:74)
> SVN Revision: 2686 build by buildcentos at v20z-x86-64, 2007-05-23 09:42:26
> 0: cs:ServerForDLess st:Secondary/Primary ld:Consistent
> ns:4671 nr:4102 dw:8417 dr:9462 al:0 bm:254 lo:0 pe:0 ua:0 ap:0
>
>
> Node 2:
>
> [root at drbd02 ha.d]# cat /proc/drbd
> version: 0.7.23 (api:79/proto:74)
> SVN Revision: 2686 build by buildcentos at v20z-x86-64, 2007-05-23 09:42:26
> 0: cs:DiskLessClient st:Primary/Secondary ld:Inconsistent
> ns:4102 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0
>
> I thought that 'drbdadm syncer all' would start a re-sync... any ideas?
>
> Regards
> Olaf
> _______________________________________________
> drbd-user mailing list
> drbd-user at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user
--
Diego Julian Remolina
System Administrator - Systems Support Specialist III
Institute for Bioengineering and Bioscience
Georgia Institute of Technology
Phone (404) 385-0127
Fax (404) 894-2291
315 Ferst Drive
Atlanta, GA 30332-0363