Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to use xdelta3 to bring a remote block device into sync with a local one. I'm able to easily generate a xdelta3 patch file using the command:

xdelta3 -e -B 33554432 -v -9 -I 0 -s /dev/loop5p2 /dev/loop4p2 patch.xd3

However, when I try to decode on the remote system using the following command:

 xdelta3 -v -d -B 33554432 -s /dev/sda2 patch.xd3 /dev/sda3

…I get the following error:

xdelta3: non-seekable source in decode: XD3_INTERNAL

As I understand it, this is caused by not having a large enough buffer. However, my -B argument is equal to the creator of the patch. In fact, I can double that size and it still won't work.

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.