Jump to content
  • 0

Support for WSL2 via SMB/cifs share



So i know that Drive pool has no official support for WSL2. I also know that we have in place some kind of hack solution that offers partial support but it is not a listed feature because that would be way too complicated.


I have it currently working with wsl2 via docker volumes. I've tried both linking directly to the pool by drive letter and now i am trying cifs.


The problem I'm running into is that my pc periodically freezes and will not crash or recover, happens about once a day. I cant say for sure it is drive pool, but it does seem to happen right after a drive is accessed. The system has crashed now over both types of docker volumes.


Is the non-support of WSL2 circumventable by having the drivepool hosted on a completely different system and having my WSL2 interface only with drivepool via SMB/cifs? I feel like that abstraction layer should offer some protection but i don't know enough about how these things work under the hood to say for sure. I've been dealing with these freezes for months and I could really use some help in figuring out what the source is if it is even drivepool.


EDIT: Uploaded a screenshot of event viewer. This is the only thing i really have to go off of and it seems to point to either a storage issue or a network issue(NDIS). I always see these errors minutes before a crash, but also when there is no crash for what it's worth.


Edited by Esoteric
more information
Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

Using CIFS/smb/whatever-which-OS-wants-to-call-it should be enough to circumvent most/all of the issues that WSL has with the pool. 

As for docker volumes, I'm genuinely surprised that you've having issues with that.  Personally, I have the WSL VHDX files for docker stored on my pool, and I have a couple of containers using file paths on the pool.  Eg `-v S:/docker-data/(name):/data` (with S:\ being the pool).  No issues, other than my system is running short on CPU power.... :D

Also, IIRC, you can use cifs as a provider for volumes in docker, IIRC. 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...