Skip to content
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

Can not open smb shares, either directly or as mounted drives #292

Open
1 task done
forkicks opened this issue Sep 12, 2023 · 1 comment
Open
1 task done

Can not open smb shares, either directly or as mounted drives #292

forkicks opened this issue Sep 12, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@forkicks
Copy link

Is there an existing issue for this?

  • I have searched the opened issues

Problem description

I have a network share on my network that contains +-350TB/34 million files. The root listing is only 20 directories. I don't know if SFM is trying to automatically get the size of each directory (which I have turned off in settings), or what type of operation is happening, but when I try to access the share it just stays there as if loading but never finishes (I've waited quite a while). This happens even as a mounted network drive, so that I access it as a local letter.
SFM does not hang, but never shows anything. For comparison, Windows Explorer and xplorer2 have no issues at all on it.

Steps to reproduce

  1. Open SFM
  2. Click on mounted drive
  3. Wait forever

Environment

  • OS: Windows 11 Enterprise, with all available updates deployed
  • App version: 1.7.0
@forkicks forkicks added the bug Something isn't working label Sep 12, 2023
@forkicks
Copy link
Author

After some digging, I can add a few more details on this. Watching SFM activy with process monitor while this problem is happening, I see that it is repeatedly trying to get information on all the directories present at the root of the share. It just so happens that all of those are reparse points on the remote system, not regular directories. Again, sigma doesn't hang, it simply loops over all the entries on destination, over and over again.
These are the operations that are happening (as shown in process monitor):
IRP_MJ_QUERY_VOLUME_INFORMATION
IRP_MJ_QUERY_INFORMATION
IRP_MJ_CLEANUP

I assume those are operations triggered by whatever syscalls you're using to obtain information about the destination directories, and since they are not quite simple directories but reparse points, something is failing along the way.

Also, there is another related issue. SFM tries to create an entry (or the calls you're making try to create this) for the share under c:\Windows\CSC\v2.0.6\namespace<ip address of remote server<name of share>
The original permissions there are wrong, and SFM can not do that. After manually adding permissions for SFM to do this, it still hangs, but those entries get created for each visited share. I have never seen this behavior before.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant