-
Notifications
You must be signed in to change notification settings - Fork 21
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
/dev/zfs and /proc/self/mounts are required. on Windows 11 #430
Comments
Generally, that means the .SYS driver is not loaded. The message is just the standard Linux error, we should change it, but it is cosmetic, and requires upstreaming. Now why isn't it loading the driver? That is a good question, you only need TestMode if you are building it yourself (and can not codesign it with EV certificate). The releases I put out are codesigned. You could start a CMD shell as Administrator, CD over to C:/Program Files/OpenZFS on Windows, then run There is "SecureBoot" option, but EV certificate codesigning is supposed to be enough for SecureBoot. |
maybe a stupid question but a wild guess in the blue: have you restarted the system after installing zfs? |
Hello. I am having the same issue. Fresh windows install (to a VHDX with Native Boot just to play with that capability), and installed a fresh version of 2.3.0 rc.2 and rebooted. Here's a screen cut n paste. I got asked two variations as bellow
However, normally with the the OpenZFS.SYS driver installed there is a "safely remove this drive" icon for Openzfs in the bottom right overflow, which is not present. I recall that I applied non-ms drivers from a different windows image on this pc to this partition, which could have included older zfs drivers... |
Sure enough, my DriverStore\FileRepository contains four versions of openzfs.inf. I wonder if this is common with other people? The relevant servicing command to get a list of non-microsoft ("oem") drivers in the driver store is dism /online /get-drivers /format table
This DOES NOT include the driver than I just (thought I had ) installed and rebooted for which has I know very little about drivers but install to 12 is depreciated as "legacy driver packaging practices", and Microsoft recommend for all drivers, and require for Windows drivers, package isolation and run from the DriverStore (13). This should probably be raised as an issue To test this, I need to remove all the previous Openzfs drivers from my system and try to run the install again. Dism /image /remove-driver /Driver:oem.inf only works against an offline image so I'll be booting to a different partition before testing here whether have them alll removed makes a difference. Although, I can clean my alternative windows for testing from here.
In the case where the driver in System32/drivers was hardlinked to the driver store, as it was on my F:, the driver and OpenZFS.man are gone from \drivers. My E drive install, the files in \drivers were not hardlinked to the driverstore, and are remain after the above dism /remove-driver commands. |
Just briefly I can confirm that on the two installs showing this issue, normal uninstall did remove the driver in system32\drivers, but neither was the driver functional. Manual deletion was required, and of the installation folder. On reinstall of 2.3.0 Rc2, zed.d service startec and remains runnning.
I also created a zpool a virtual disk no issues. I'll have to find out where zpool.cache gets written and the pools restart automatically. edit: got it, system32\drivers again |
Are we talking about https://github.com/openzfsonwindows/openzfs/blob/development/module/os/windows/OpenZFS.inf#L18-L20 |
Windows 11| Version 10.0.26100 Build 26100
OpenZFS Version | OpenZFSOnWindows-debug-2.2.6rc11.exe
Describe the problem you're observing
When input any zfs command I get
I am in test mode in Windows as found it is suggested, tried few versions of openZFS in months back and no solution.
Any help appreciated.
The text was updated successfully, but these errors were encountered: