> >Is there any way to rsync between raw partitions?

> You are better off syncing the filesystems on top, if you can.

That's not a bad idea, but there may be none .. or at least it may not
be consistent, and hence not mountable. I am talking about resyncing
two halves of a raid1 mirror. The halves are separated by the net.

> If it is just raw bits of data on the raw partitions then reading
> the whole thing (anyway) with dd and updating the whole other
> is going to be just about as fast.

No .. that's the point. The inconsistencies will be very small while
the partitions will be very large. The inconsistency will derive from the
rupture of the real time mirror and any changes subsequently effected
in the half that stayed online. Blocks are zeroed as they are freed in
the fs, so there's no problem with rubbish anyway.

What I was hoping was that the algorithm brooked easy alteration to
examine "two large files" (two block devices) block by block, and
send the differing blocks across. That would be ideal. At any rate, it
would be a huge improvement over the existing raid1 resync algorithm,
which simply sends everything on resync. It's painful.


Peter

Reply via email to