News for hackers. Stuff that matters.
Re:Syncer: fast stateful file/disk data syncer written on Go by josteink on Sunday September 20, 2015 @03:00PM (#10248586)
> ZFS incremental snapshots and its send/receive are great, but my task is to create binary identical image of hard drive with bootloaders, partitions and so on.

If you use UEFI, bootloader is just a normal file on a normal (FAT) partition so no special magic is needed, but fair enough.

ZFS typically handles partitions its own way so no need to sync that.

But really: If you just want to keep to full drives in sync, at block-level so one can at any point be a stand-in replacement for the other, it sounds like what you want is RAID0. Isn't that what you want?

And with UEFI you can boot those RAID-volumes, even though they are soft-raid volumes.

Not saying your need doesn't exist, but that existing solutions which are more standardized and requires less administration seemingly already exists.

Re:Syncer: fast stateful file/disk data syncer written on Go by ghthor on Sunday September 20, 2015 @04:09PM (#10248866)
I believe if you raid0 an HDD and an SSD you lose fast writes because the OS waits for it to be written to all disks in the array.

Maybe depends on the implementation, I I'd imagine it would degrade performance.

Re:Syncer: fast stateful file/disk data syncer written on Go by mdk754 on Monday September 21, 2015 @10:32AM (#10252512)
Forgive me, it's Monday morning and I haven't yet had my coffee, but it sounds like you're describing a block-level copy between two drives, something which RAID0 is most definitely not.

Unless I'm misinterpreting, I think you were going for RAID1.