HAST secondary identifying when it's dirty?

Michael W. Lucas mwlucas at blackhelicopters.org
Wed Aug 18 18:44:49 UTC 2010


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 at BlackHelicopters.org
http://www.MichaelWLucas.com/, http://blather.MichaelWLucas.com/
New book available: Network Flow Analysis
http://www.networkflowanalysis.com/


More information about the freebsd-fs mailing list