Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
Thats correct. The problem was with my perception of how it suppose to work versus the actual behavior. Truck based replication worked perfectly for me. After initial UpToDate/UpToDate message I untared the my directory structure on drbd mounted device and monitored dw (disk write) status from which I was able to see disk writes happening. Before this I was hoping to see UpToDate/Inconsistent(or Outdated) ds message, but that was just my perception. Thanks a lot for help. Regards, Jay > Date: Sat, 31 Oct 2009 10:17:22 +0100 > From: lars.ellenberg at linbit.com > To: drbd-user at lists.linbit.com > Subject: Re: [DRBD-user] Truck replication > > On Thu, Oct 29, 2009 at 07:41:16PM +0000, jay b wrote: > > > > Hi All: > > > > I am stuck with truck based replication. I have the following setup: > > > > node1 (primary): > > /dev/sda7 [4TB] > > /dev/drbd1 > > I have also created filesystem ext3 on drbd1 > > > > node2: > > <same configuration as above, but there is NO filesystem> > > > > I am basically trying to avoid the initial sync time (if possible). > > So, now node1 is primary and if I follow steps written on this page > > http://www.drbd.org/users-guide/s-using-truck-based-replication.html > > I can get both servers to display uptodate/uptodate state. > > > > But, when I mount /dev/drbd1 to /mnt/drbd (on node1 which is primary), > > and copy files to /mnt/drbd, I do not see Uptodate/Inconsistent > > message (via cat /proc/drbd on node1) > > Why would you expect node2 to become "Inconsistent" > during normal operation? > > > At this point I would assume that node2 should get some data and try > > to sync with primary. Am I missing any steps? > > When you _connect_ the second node, > it will do some (bitmap based) resync. > > Once connected, and "Connected Uptodate", > it will do _online replication_. > > If there is problem, I don't see it? > Either you or me or DRBD misunderstood something, I guess. > > -- > : 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 > _______________________________________________ > drbd-user mailing list > drbd-user at lists.linbit.com > http://lists.linbit.com/mailman/listinfo/drbd-user _________________________________________________________________ CDN College or University student? Get Windows 7 for only $39.99 before Jan 3! Buy it now! http://go.microsoft.com/?linkid=9691636 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20091102/36e4ff91/attachment.htm>