[OpenIndiana-discuss] auto-snapshot replicate problems

Milan Jurik milan.jurik at xylab.cz
Wed Mar 14 11:01:15 UTC 2012


Hi,

I think time-slider daemon is in JDS consolidation. But the question is 
- why do you want to hack it and maintain own hack? Why not to create 
zfs snapshots by own crontab entry?

Best regards,

Milan

On 14.03.2012 12:38, John McEntee wrote:
> I have a problem trying to keep a second fileserver in sync with the 
> primary
> one.
>
>
>
> I have a script (auto-replicate) that I have slightly altered that 
> basically
> checks the latest snapshot of the both  master server and the dr 
> server. It
> then does a send -I if there is a difference. This used to work fine 
> in the
> old versions of the time-slider service.
>
>
>
> The problem I have is the later version of the time-slider service in
> OpenIndiana cleans up old snapshots of zero size, which means the 
> latest
> snapshot on the dr server no longer exists on the master server so 
> the send
> -I fails.
>
>
>
> My fix would be to hack the time-slider service to not clean up the 
> zero
> size snapshots. Please can anyone point me in the right direction? I 
> cannot
> even find the code at the moment. I would also be interested in any 
> other
> solutions
>
>
>
> Thanks
>
>
>
> John
>
>
>
>



More information about the OpenIndiana-discuss mailing list