Unable to import ZFS pools in WSL 2 after successfully installing the zfs-dkms kernel module
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 33.7k
- Forks
- 1.8k
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 116
Description
-
Your Windows build number:
Microsoft Windows [Version 10.0.19041.207] -
What you're doing and what's happening:
sudo zpool import -f [pool] -
What's wrong / what should be happening instead:
cannot import '[pool]': no such pool available
The zpool should be imported; I think WSL 2 can't quite see the drives the pools are on. No idea how to get them to do that.
- Strace of the failing command, if applicable:
The gist of it
Thank you kindly for the help!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the sudo zpool import -f [pool] command and the linked strace gist, then investigate how WSL 2 exposes the drives used by the zfs-dkms pools. Done means identifying the cause and enabling the reported pool to import successfully, or documenting a confirmed limitation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux
- Domain
- operating-systems
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 15/100