Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Nov 2016 21:56:22 +0700
From:      Victor Sudakov <>
Subject:   Re: hastd operation, stale primary
Message-ID:  <>
In-Reply-To: <>
References:  <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
Nobody is using HAST?

Victor Sudakov wrote:
> I have read and
> and still don't understand one thing.
> I configure host1 as "hastctl role primary all" and host2 as 
> "hastctl role secondary all"
> Then I switch off host1 and configure host2 as 
> "hastctl role primary all", fsck and mount /dev/hast/test, and write
> files to it. So far so good.
> Then I switch on host1 again, unmount /dev/hast/test on host2 and
> configure it as "hastctl role secondary all" and host1 as 
> "hastctl role primary all" again. 
> When I mount /dev/hast/test on host1, I see that all the changes to my
> files which have been made on host2, are gone!!
> Should not hastd detect that the primary on host1 is stale and
> replicate the changes from host2?
> What am I doing wrong? How is host1 supposed to preempt host2 and
> inherit the changes made while host2 was primary?

Victor Sudakov,  VAS4-RIPE, VAS47-RIPN

Want to link to this message? Use this URL: <>