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 of encrypted filesystem #15924

Open
paulgunther opened this issue Feb 22, 2024 · 2 comments
Open

zfs send of encrypted filesystem #15924

paulgunther opened this issue Feb 22, 2024 · 2 comments
Labels
Component: Encryption "native encryption" feature Component: Send/Recv "zfs send/recv" feature Type: Defect Incorrect behavior (e.g. crash, hang)

Comments

@paulgunther
Copy link

System information

Type Version/Name
Distribution Name Ubuntu
Distribution Version 22.04.3 LTS
Kernel Version 5.15.0-94-generic
Architecture x86
OpenZFS Version zfs-2.1.5-1ubuntu6~22.04.2

Describe the problem you're observing

When sending encrypted filesystem with zfs send, the system just runs, but doesn't put the backups on the destination system.

Describe how to reproduce the problem

zfs send of encrypted snapshots

Include any warning/errors/backtraces from the system logs

I can't find anything relevant in logs

@paulgunther paulgunther added the Type: Defect Incorrect behavior (e.g. crash, hang) label Feb 22, 2024
@rincebrain rincebrain added Component: Send/Recv "zfs send/recv" feature Component: Encryption "native encryption" feature labels Feb 22, 2024
@rincebrain
Copy link
Contributor

rincebrain commented Feb 22, 2024

Since "zfs send of encrypted snapshots" does, in fact, sometimes work ,we're going to need more information than that.

Could you share some information about the sender and receiver, what tool(s) you're using to do the send, if any, and what error(s) the receiver has logged when you try?

Are you possibly surprised that, if you use zfs send -w, the encrypted datasets are not mounted on the receiver, because, well, they're encrypted, you'd need to unlock them to do that?

@paulgunther
Copy link
Author

I wasn't surprised about the encryption, they just weren't there on the target. After another update and reboot on both host and target (which I thought I had already done, but clearly something was out of rev), sanoid ran successfully, so I didn't have to dig into the guts of zfs send to get you that info. Unfortunately I didn't take great notes on what the updates did, so I don't know exactly what changed, but clearly something was out of sorts and that solved it. Sorry to waste your time, thanks for the suggestions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Encryption "native encryption" feature Component: Send/Recv "zfs send/recv" feature Type: Defect Incorrect behavior (e.g. crash, hang)
Projects
None yet
Development

No branches or pull requests

2 participants