maharmstone / btrfs

WinBtrfs - an open-source btrfs driver for Windows
GNU Lesser General Public License v3.0
5.8k stars 222 forks source link

cannot open disk: The process cannot access the file because it is using by another process #485

Closed ghost closed 10 months ago

ghost commented 2 years ago

image I came across this problem a lot, the root path of D: can't be visited, but I can go to subpath like D:\Downloads via simbol links. btw I format this disk on linux via btrfs command, if that's helpful.

OS: Win10 pro 21H2 btrfs driver version: 1.8

ghost commented 2 years ago

btw I'm not copying anything to that disk and I have a WSL setup in my windows

jarrard commented 2 years ago

I might have come across this when running gShade on KCD game, the game folder popped up with this and I thought it was odd. Not sure why it lock up, but gshade does do some symlinking of DLL's to that folder (gshade is basically a rebased reshade with better compatibility).

jarrard commented 2 years ago

I'm able to reproduce this by opening a text file within the folder here such as user.cfg and then try to open the folder with another process... The result!

Definitely a winbtrfs bug going on!

This issue doesn't occur all the time, and only under certain situations. Not a easy issue to nail down!

I seem to trigger it ALLOT when minimize and maximize fullscreen apps.

Untitled
maharmstone commented 10 months ago

Closing old issues

aarmn commented 5 months ago

I have this issue. I also have WSL2, is there a correlation or causation, I'm not sure of yet! where probably the problem originates, and is there a fix yet? Win11, WinBTRFS Ver1.9

thank you.

aarmn commented 5 months ago

killing the explorer.exe fixed the issue, explorer.exe seems suspicious generally.