Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Aug 2010 14:33:00 -0400
From:      "Michael W. Lucas" <mwlucas@blackhelicopters.org>
To:        fs@freebsd.org
Subject:   HAST secondary identifying when it's dirty?
Message-ID:  <20100818183300.GA98970@bewilderbeast.blackhelicopters.org>

next in thread | raw e-mail | index | archive | help
Hi,

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?

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:

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

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

The secondary doesn't realize it's 24GB out of sync.

Is there any way for the secondary to get this information?

Thanks,
==ml


-- 
Michael W. Lucas 	mwlucas@BlackHelicopters.org
http://www.MichaelWLucas.com/, http://blather.MichaelWLucas.com/
New book available: Network Flow Analysis
http://www.networkflowanalysis.com/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100818183300.GA98970>