Re: [DRBD-user] DRBD over ZFS - or the other way around?

2017-09-06 Thread Jan Schermer
Not sure you can mount snapshot (I always create a clone). However I never saw anything about “drbd” filesystem - what distribution is this? Apparently it tries to be too clever… Try creating a clone and mounting it instead, it’s safer anyway (saw bug in issue tracker that ZFS panics if you try

Re: [DRBD-user] csums-alg,verify-alg algorithm

2017-08-31 Thread Jan Schermer
There are algorithms suitable for detecting or correcting flipped bits, like CRC32 or even fletcher4 that ZFS uses for checksums. Those are _NOT_ suitable for comparing data, think of them more like parity, and you WILL have false matches with them even without having lots of data as they are

Re: [DRBD-user] Out-of-sync woes

2017-08-04 Thread Jan Schermer
AFAIK this should not affect data integrity at rest (related to “verify-alg”) but only in-flight (csum-alg), and even then at most few blocks (that are in-flight) should be affected? (btw shouldn’t stable_pages_required be enabled?) I think it’s more likely he’s hitting a number of bugs that

Re: [DRBD-user] Problem with drbd and data alignment

2017-03-27 Thread Jan Schermer
lsblk doesn't only show partitions, but other info as well. e.g. sdd 8:48 0 477G 0 disk └─zbackup_crypt 253:40 477G 0 crypt that is not a partition, it just shows what the device is used for it will be the same in your case. Jan > On 27 Mar 2017, at 15:05,

Re: [DRBD-user] DRBD packages for Proxmox 4.x

2016-11-26 Thread Jan Schermer
What a great way to communicate with your users. True, Linus sometimes does the same. But you are not Linus. So I'd advise you to think before you alienate (more) people. This is so very unprofessional... Btw jasminj actually defended you if you can't see that in his first post there[1] and he's

Re: [DRBD-user] ZFS

2016-10-17 Thread Jan Schermer
> On 16 Oct 2016, at 21:18, Gandalf Corvotempesta > <gandalf.corvotempe...@gmail.com> wrote: > > Il 16 ott 2016 19:19, "Jan Schermer" <j...@schermer.cz > <mailto:j...@schermer.cz>> ha scritto: > > > > That would be us :) > > Reall

Re: [DRBD-user] ZFS

2016-10-16 Thread Jan Schermer
> On 16 Oct 2016, at 19:10, Roland Kammerer wrote: > > On Sat, Oct 15, 2016 at 02:20:23PM +0200, Gandalf Corvotempesta wrote: >> Anyone using ZFS with DRBD, in production? > > I'm aware of a customer that has multiple hundred DRBD resources on ZFS. > That would be

Re: [DRBD-user] DRBD constantly re-syncing, getting to 100%, starting over. What?

2016-10-12 Thread Jan Schermer
Short in the dark - are the drives (or their controller if you're using raid) using any form of caching? It is conceivable that when resync is finished it tries flushing the data to the device, and if this takes way to long it could lead to timeout of the drbd kernel thread. Is IO happening

Re: [DRBD-user] how about read a block that not return to upper application in protocol C?

2016-09-06 Thread Jan Schermer
> On 05 Sep 2016, at 11:50, Lars Ellenberg wrote: > > On Mon, Sep 05, 2016 at 01:16:21AM +0800, Mia Lueng wrote: >> Hi All: >> In protocol C, a bio will return to upper application(execute >> bi_endio()) when local bio is completed and recieve the data ack >> packet