Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
Here are my notes for a "New, Blank disk". If they are really new, they are probably already zeros. If you worry about such things (I don't), you can dd them to all zeros beforehand. Use a large blocksize to speed it up. New Blank Disk: =============== #On both nodes, initialize meta data and configure the device. drbdadm -- --force create-md r0 #They need to do the initial handshake, so they know their sizes. drbdadm up r0 #They are now Connected Secondary/Secondary Inconsistent/Inconsistent. Generate a new current-uuid and clear the dirty bitmap. drbdadm -- --clear-bitmap new-current-uuid r0 #They are now Connected Secondary/Secondary UpToDate/UpToDate. On the system to be Primary: drbdadm primary r0 #bring up whatever target filesystems or iSCSItarget or whatever hth There is no initial sync so it's really fast. There is no possibility of corruption either, as long as the drbd connection is up before you create the file system; the possibility of differing blocks will not matter, except for some scary stats at verify time. With a reasonable syncher rate (remember, it's BYTES, not bits), synching while in use is not even a problem. Dan -----Original Message----- From: drbd-user-bounces at lists.linbit.com [mailto:drbd-user-bounces at lists.linbit.com] On Behalf Of Vincent Maugé Sent: Friday, July 08, 2011 4:47 AM To: drbd-user at lists.linbit.com Subject: [DRBD-user] Accelerate first initialization Hi, I am new to drbd and I am wondering if there is a way to accelerate first initialization for new server (I mean without any usefull data). I find the doc on http://www.drbd.org/users-guide-emb/s-using-truck-based-replication.html but I have a Raid 6 so I cannot use raid rebuild to mirror two servers. I know if such a solution exist it won't be useful in case of failure but could reduce time for usage. Regards, Vincent _______________________________________________ drbd-user mailing list drbd-user at lists.linbit.com http://lists.linbit.com/mailman/listinfo/drbd-user