Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zfs send/recv (source proxmox) not working #390

Open
nils-trustnode opened this issue Jun 24, 2024 · 8 comments
Open

zfs send/recv (source proxmox) not working #390

nils-trustnode opened this issue Jun 24, 2024 · 8 comments

Comments

@nils-trustnode
Copy link

nils-trustnode commented Jun 24, 2024

System information

Type Version/Name
Distribution Name Proxmox
Distribution Version 8.2.2
Kernel Version 6.8.4-2-pve
Architecture
OpenZFS Version zfs-2.2.3

Describe the problem you're observing

Transfering a zvol with zfs send/recv from a linux host is not working at all.

push from linux terminates with message "cannot receive new filesystem stream: I/O error"
pull from windows (cmd) terminates with message "cannot receive new filesystem stream: checksum mismatch"

Describe how to reproduce the problem

push from linux: zfs send rpool/repl/data | ssh [email protected] zfs recv -v tank/data
pull from windows: ssh [email protected] zfs send rpool/repl/data | zfs recv tank/data

@guenther-alka
Copy link

seems the same problem that I have seen when using netcat instead ssh for network replication.

@lundman
Copy link

lundman commented Jun 27, 2024

b0f716a

@lundman
Copy link

lundman commented Jun 27, 2024

There is a question whether zfs send (ZwWriteFile) also needs to handle short-writes.

@sskras
Copy link

sskras commented Jul 23, 2024

ping @nils-trustnode: is your issue fixed by chance?

@nils-trustnode
Copy link
Author

@sskras What do you mean by that? I'm waiting for the next release candidate containing the commit. I don't compile myself yet - then I'll give it a try.

@sskras
Copy link

sskras commented Jul 24, 2024

Ah, I missed that new RC hasn't been released since the commit.

On the other hand, you could get a temporary build:

  • click the CI icon (red cross) for that commit
  • follow to the "windows-build-test" item
  • copy the "Details" URL

image

This will get you this string:
https://github.com/openzfsonwindows/openzfs/actions/runs/9690271674/job/26739816856

If you trim the /job/... part & follow to bottom of the page, you will find the CI artifacts section:
https://github.com/openzfsonwindows/openzfs/actions/runs/9690271674/#artifacts

It contains link to dev_build_inno development archive:

image

... which includes the installer corresponding to that commit:

image

HTH

@lundman
Copy link

lundman commented Jul 24, 2024

oh right, i can make one for just the send fix if you want to try it - pretty deep in debugging the mount stuff still

@lundman
Copy link

lundman commented Sep 5, 2024

OK so surfaced. Whats the status here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants