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 access Dev Drive (ReFS) in WSL Terminal window after upgrading to 24H2 #12220

Closed
1 of 2 tasks
cubano100pct opened this issue Oct 30, 2024 · 8 comments
Closed
1 of 2 tasks

Comments

@cubano100pct
Copy link

Windows Version

Microsoft Windows [Version 10.0.26100.2161]

WSL Version

2.3.24.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

5.15.153.1-2

Distro Version

Ubuntu 22.04.5 LTS

Other Software

None

Repro Steps

Open WSL Terminal window and cd h or cd /mnt/h to my dev drive, which is h and I get Permission denied

felix@FELIX-AMD:~$ ls -l
total 4
lrwxrwxrwx 1 felix felix    7 Apr 10  2024 c -> /mnt/c/
lrwxrwxrwx 1 felix felix    7 Apr 10  2024 d -> /mnt/d/
lrwxrwxrwx 1 felix felix    7 Apr 10  2024 e -> /mnt/e/
lrwxrwxrwx 1 felix felix    7 Apr 10  2024 f -> /mnt/f/
lrwxrwxrwx 1 felix felix    7 Jul 19 16:18 h -> /mnt/h/
-rw------- 1 felix felix    0 Sep 17 22:53 history.log
drwxr-xr-x 3 felix felix 4096 Aug  1 09:58 oradiag_felix
lrwxrwxrwx 1 felix felix   16 Aug  4 11:41 projects -> /mnt/h/projects/
lrwxrwxrwx 1 felix felix   12 Apr  2  2024 work -> /mnt/d/work/
felix@FELIX-AMD:~$ cd h
-bash: cd: h: Permission denied
felix@FELIX-AMD:~$ cd /mnt/h
-bash: cd: /mnt/h: Permission denied
felix@FELIX-AMD:~$

Expected Behavior

I should be cd to my dev drive (H), just like can cd to my HDD (D)

felix@FELIX-AMD:~$ cd /mnt
felix@FELIX-AMD:/mnt$ ls -l
total 4
drwxrwxrwx 1 felix felix 4096 Oct 29 09:41 c
drwxrwxrwx 1 felix felix 4096 Oct 29 09:41 d
drwxrwxrwx 1 felix felix 4096 Oct 29 09:41 e
drwxrwxrwx 1 felix felix 4096 Oct 29 09:41 f
drwxrwxrwx 2 root  root  4096 Mar 20  2024 g
d--------- 0 felix felix    0 Dec 31  1969 h
drwxrwxrwt 2 root  root    60 Oct 30 10:23 wsl
drwxrwxrwt 7 root  root   300 Oct 30 10:23 wslg
felix@FELIX-AMD:/mnt$ cd d
felix@FELIX-AMD:/mnt/d$ ls
'$RECYCLE.BIN'  'Calibre Library'  'System Volume Information'   devdrive.vhdx   work
 3d_printer     'Stream Deck'       dev                          projects
felix@FELIX-AMD:/mnt/d$ cd ..
felix@FELIX-AMD:/mnt$

Actual Behavior

I can not cd to my dev drive (H). If you noticed in the Expected behavior section the permissions for rwx are missing for h

felix@FELIX-AMD:/mnt$ cd h
-bash: cd: h: Permission denied
felix@FELIX-AMD:/mnt$

I tried changing the permission and it did not work

felix@FELIX-AMD:/mnt$ sudo chmod 777 h
[sudo] password for felix:
felix@FELIX-AMD:/mnt$ ls -l
total 4
drwxrwxrwx 1 felix felix 4096 Oct 29 09:41 c
drwxrwxrwx 1 felix felix 4096 Oct 29 09:41 d
drwxrwxrwx 1 felix felix 4096 Oct 29 09:41 e
drwxrwxrwx 1 felix felix 4096 Oct 29 09:41 f
drwxrwxrwx 2 root  root  4096 Mar 20  2024 g
d--------- 0 felix felix    0 Dec 31  1969 h
drwxrwxrwt 2 root  root    60 Oct 30 10:23 wsl
drwxrwxrwt 7 root  root   300 Oct 30 10:23 wslg
felix@FELIX-AMD:/mnt$

Diagnostic Logs

No response

Copy link

Logs are required for review from WSL team

If this a feature request, please reply with '/feature'. If this is a question, reply with '/question'.
Otherwise please attach logs by following the instructions below, your issue will not be reviewed unless they are added. These logs will help us understand what is going on in your machine.

How to collect WSL logs

Download and execute collect-wsl-logs.ps1 in an administrative powershell prompt:

Invoke-WebRequest -UseBasicParsing "https://raw.githubusercontent.com/microsoft/WSL/master/diagnostics/collect-wsl-logs.ps1" -OutFile collect-wsl-logs.ps1
Set-ExecutionPolicy Bypass -Scope Process -Force
.\collect-wsl-logs.ps1

The script will output the path of the log file once done.

If this is a networking issue, please use collect-networking-logs.ps1, following the instructions here

Once completed please upload the output files to this Github issue.

Click here for more info on logging
If you choose to email these logs instead of attaching to the bug, please send them to [email protected] with the number of the github issue in the subject, and in the message a link to your comment in the github issue and reply with '/emailed-logs'.

View similar issues

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it!

Open similar issues:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@cubano100pct
Copy link
Author

Copy link

Diagnostic information
Detected appx version: 2.3.24.0

@kurikomoe
Copy link

same here, updated KB5044384 3 hours ago and found that I had no access to the ReFS disk.

Image

uninstall KB5044384 got this error message:
Image

Tried to use system restore point to recovery the system, but the restore point failed with "object not found".

here is my log
WslLogs-2024-10-31_03-18-55.zip

@jonaslang1
Copy link

#12156 same problem described here

@clansty
Copy link

clansty commented Nov 5, 2024

Created a vhd with NTFS to temporary bypass this issue

@craigloewen-msft
Copy link
Member

/dupe #12156

Copy link
Contributor

Hi! We've identified this issue as a duplicate of another one that already exists in this repository. This specific instance is being closed in favor of tracking the concern over on the referenced thread.

Thanks for your report!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants