Date: Thu, 19 Aug 2010 21:43:25 +0200 From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: "Michael W. Lucas" <mwlucas@blackhelicopters.org> Cc: fs@freebsd.org Subject: Re: HAST secondary identifying when it's dirty? Message-ID: <20100819194325.GA2719@garage.freebsd.pl> In-Reply-To: <20100818183300.GA98970@bewilderbeast.blackhelicopters.org> References: <20100818183300.GA98970@bewilderbeast.blackhelicopters.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--a8Wt8u1KmwUX3Y2C Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Aug 18, 2010 at 02:33:00PM -0400, Michael W. Lucas wrote: > Hi, >=20 > I have a HAST device set up between two systems. It appears that the > secondary doesn't know when it's dirty. Is there any way for the > secondary to know that its copy is incomplete? >=20 > For example, I had to resync my HAST partition due to a firewall > issue. While the master knows the secondary is dirty, the secondary > thinks it's complete. For example: >=20 > master# hastctl status > mirror: > role: primary > provname: mirror > localpath: /dev/da0s2 > extentsize: 2097152 > keepdirty: 64 > remoteaddr: 192.168.0.1 > replication: memsync > status: complete > dirty: 24385683456 bytes >=20 > secondary# hastctl status > mirror: > role: secondary > provname: mirror > localpath: /dev/da0s2 > extentsize: 2097152 > keepdirty: 0 > remoteaddr: 192.168.0.2 > replication: memsync > status: complete > dirty: 0 bytes >=20 > The secondary doesn't realize it's 24GB out of sync. >=20 > Is there any way for the secondary to get this information? Nope. Secondary doesn't even know that synchronization is progress. The only thing you can do is to: # ssh primary hastctl status :) --=20 Pawel Jakub Dawidek http://www.wheelsystems.com pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --a8Wt8u1KmwUX3Y2C Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkxtiVEACgkQForvXbEpPzQSqACfRsg0I5A6/ATjYVgppUmK30nX IvQAnjugdF9BBNF41hbX72QBdnKz8vg8 =GRCr -----END PGP SIGNATURE----- --a8Wt8u1KmwUX3Y2C--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100819194325.GA2719>