Re: Sync_client or rsync/zfs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Le 30/01/2023 à 09:31:04+0100, Sven Schwedas a écrit
> On 19.01.23 11:04, Albert Shih wrote:
> > Jan 19 10:20:37 FQDN sync_client[56922]: Error in do_sync(): bailing out! The remote Server(s) denied the operation
> > Jan 19 10:21:27 FQDN sync_client[56922]: MAILBOX received NO response: Unknown error
> > Jan 19 10:21:27 FQDN sync_client[56922]: Error in do_sync(): bailing out! The remote Server(s) denied the operation
> > Jan 19 10:21:39 FQDN sync_client[56922]: IOERROR: zero length response to MAILBOX (end of file reached)
> > Jan 19 10:21:39 FQDN sync_client[56922]: Error in do_sync(): bailing out! Bad protocol
> 
> What's in the slaves' logs when this happens?

Nothing special. 

> > Beside this problem, what are the actual advantage between sync_client and
> > some classique
> > 
> >    zfs snapshot MAILBOX
> >    zfs send SNAPSHOT --> other server
> > 
> > ?
> 
> Snapshots are consistent from a file system perspective, but not necessarily
> from a logical perspective of cyrus itself. Since the mailboxes and
> databases are split across multiple files, you might end up snapshotting an
> "inbetween" state with some files already updated and others not yet. Same
> as if the server were to crash the moment you're running the snapshot.
> 
> So you might end up having to repair the database manually to bring it back
> into a consistent state, losing some mails that were in flight during the
> time the snapshot happened.
> 

OK. I understand. 

> But that doesn't seem to be too much of a constraint for your setup, since
> you're using your slaves more as a backup than a replication solution

Absolutly. 

> anyway…? ZFS replication should be fine then, as long as you're allowed to
> drop some mails.

Yeah...I'm using «delay_prune» so never really need to search on
filesystem. 

When I install the system the idea is to have both. But with time cyrus
work fine .... but the sync. 

So I'm thinking to drop the sync and just keep the zfs send/recv

Thanks for the input. 

Regards

-- 
Albert SHIH 🦫 🐸
Observatoire de Paris
France
Heure locale/Local time:
mar. 31 janv. 2023 17:48:05 CET

------------------------------------------
Cyrus: Info
Permalink: https://cyrus.topicbox.com/groups/info/T53c2478c4334b3ea-M2b18de83414d9c5ffbc2a0a7
Delivery options: https://cyrus.topicbox.com/groups/info/subscription




[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux