-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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 pool corrupt, core dump on running zfs list: "internal error: Invalid exchange", can no longer zpool import. #6805
Comments
Further searches yielded a number of other "Invalid exchange" errors, e.g.: #4360 #6597. To clarify this error, I am not using ZFS encryption. The ZFS volume is set up on two logical volumes, on redundant storage (cloud provider's triply replicated disks.) The corruption occurred while the server was running (see: Docker errors). |
@AaronFriel it appears that somehow the pool has been corrupted. The "Invalid exchange" error you're seeing during Depending on how extensive the damage is to the pool you can try using |
Sorry to revive an old thread but this was the first thread I came across google zfs invalid exchange. |
This issue has been automatically marked as "stale" because it has not had any activity for a while. It will be closed in 90 days if no further activity occurs. Thank you for your contributions. |
Happens to me too: I have ZFS on a single SSD on my laptop (NixOS 20.03, Linux 5.4.61) with ZFS encryption enabled (no dedup or compression). The laptop ran out of power and afterwards I have multiple $ sudo zfs send -R --raw rpool@before-ssd-upgrade | nc othermachine 1235
internal error: Invalid exchange I had run So right now, it seems impossible to back up the file system using |
I am encountering this error while attempting to import a pool. The pool was degraded and in the process of repairing when the system locked up so had to be power cycled. Afterwards, the pool won't import:
This is on an HP Microserver Gen10 by the way, on which the storage controller seems to be extremely unstable. I recommend not using that device if you have the option. Is there any hope of recovering? |
This issue has been automatically marked as "stale" because it has not had any activity for a while. It will be closed in 90 days if no further activity occurs. Thank you for your contributions. |
Add a meaningful error message for ECKSUM to common error messages. Reviewed-by: Richard Yao <richard.yao@alumni.stonybrook.edu> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Closes openzfs#6805 Closes openzfs#13808 Closes openzfs#13898
Add a meaningful error message for ECKSUM to common error messages. Reviewed-by: Richard Yao <richard.yao@alumni.stonybrook.edu> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Closes openzfs#6805 Closes openzfs#13808 Closes openzfs#13898
Add a meaningful error message for ECKSUM to common error messages. Reviewed-by: Richard Yao <richard.yao@alumni.stonybrook.edu> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Closes openzfs#6805 Closes openzfs#13808 Closes openzfs#13898
Add a meaningful error message for ECKSUM to common error messages. Reviewed-by: Richard Yao <richard.yao@alumni.stonybrook.edu> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Closes openzfs#6805 Closes openzfs#13808 Closes openzfs#13898
Add a meaningful error message for ECKSUM to common error messages. Reviewed-by: Richard Yao <richard.yao@alumni.stonybrook.edu> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Closes openzfs#6805 Closes openzfs#13808 Closes openzfs#13898
Add a meaningful error message for ECKSUM to common error messages. Reviewed-by: Richard Yao <richard.yao@alumni.stonybrook.edu> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Closes openzfs#6805 Closes openzfs#13808 Closes openzfs#13898
Add a meaningful error message for ECKSUM to common error messages. Reviewed-by: Richard Yao <richard.yao@alumni.stonybrook.edu> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Closes openzfs#6805 Closes openzfs#13808 Closes openzfs#13898
Add a meaningful error message for ECKSUM to common error messages. Reviewed-by: Richard Yao <richard.yao@alumni.stonybrook.edu> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Closes openzfs#6805 Closes openzfs#13808 Closes openzfs#13898
Add a meaningful error message for ECKSUM to common error messages. Reviewed-by: Richard Yao <richard.yao@alumni.stonybrook.edu> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Closes openzfs#6805 Closes openzfs#13808 Closes openzfs#13898
Add a meaningful error message for ECKSUM to common error messages. Reviewed-by: Richard Yao <richard.yao@alumni.stonybrook.edu> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Closes openzfs#6805 Closes openzfs#13808 Closes openzfs#13898
System information
Describe the problem you're observing
Found my continuous integration service using Docker in Docker was not working, this was the cause:
So I tried running the command myself:
Upon rebooting, the ZFS pool was not imported, and attempts to import were met with:
However, all of the devices are available: there is a zil (mounted at /dev/vg-main/log) and a data volume (mounted at /dev/vg-main/capacity). Both are available, as seen here:
And I cannot seem to force the pool to import, because of this invalid exchange error:
Describe how to reproduce the problem
No idea. Needed to reboot system to see if that would clear it up. It did not.
Include any warning/errors/backtraces from the system logs
No warnings or errors other than the zpool import one above, and the sudden inability to run
zfs list
commands.The text was updated successfully, but these errors were encountered: