-
This probably belongs more to a QnA / Discussions section (which I miss in this repo). I have installed
What is the reliable way to update this thing to Eg. newest Should I just download |
Beta Was this translation helpful? Give feedback.
Replies: 9 comments
-
I believe that should work, if it doesn't, I'll have to fix something :) |
Beta Was this translation helpful? Give feedback.
-
OK, I went without uninstalling the old version before that. It asked me if would like to reboot just now. Is necessary to reboot the OS to activate the new driver? |
Beta Was this translation helpful? Give feedback.
-
Yeah maybe. Not sure, you can unload it if you export everything first, but to load a new one, Windows seems to want to reboot. Might be a trick to it, I am unsure. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the insights. I going to keep the issue open for a while. It would serve as a reminder to do some RnD about updates without reboot (I have no pools imported mounted at the moment). But if you wish, feel free to close it. |
Beta Was this translation helpful? Give feedback.
-
Maybe this should be converted into a discussion? (To keep the list cleaner:) |
Beta Was this translation helpful? Give feedback.
-
If anyone wants to attempt this, an outline would be: level 1: https://github.com/openzfsonwindows/openzfs/tree/windows/cmd/os/windows/zfsinstaller
If Then let The next invocation of level 2 Do the same as in level 1, but remember the pools imported before Ditch the cmdline console, use popups, ask "OK to export" and all that jazz. But some of that can be part of the "I wish we had it" menubar icon UI "we are just about to implement" in similar vein to |
Beta Was this translation helpful? Give feedback.
-
@lundman Thanks for sharing this information. In general is it possible to do the update without exporting the pools as application would loose connection to the data stored on the pool. |
Beta Was this translation helpful? Give feedback.
-
You would either export the pools, do the upgrade, and in future avoid a reboot. |
Beta Was this translation helpful? Give feedback.
-
Rebooting after the driver update is totally fine for me. |
Beta Was this translation helpful? Give feedback.
If anyone wants to attempt this, an outline would be:
level 1:
Update
zfsinstaller.exe
, which is a separate minitool in this repo. It is not connected to ZFS at all, and more of a pure Windows tool. C++ ?https://github.com/openzfsonwindows/openzfs/tree/windows/cmd/os/windows/zfsinstaller
zpool.exe export -a
. Either by literally executingzpool.exe
, or if preferred, link with libzpool.a and duplicate with it does internally:If
zpool.exe export -a
fails, stop. print error.Then let
zfsinstaller.exe
continue, it will issue UNLOAD toopenzfs.sys
and unload. Exit. There may nee…