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

wsl --mount not working (both --bare and --partition fail), "The request is not supported." #9739

Closed
1 of 2 tasks
FreezyLemon opened this issue Mar 5, 2023 · 6 comments
Closed
1 of 2 tasks

Comments

@FreezyLemon
Copy link

Windows Version

Microsoft Windows [Version 10.0.22621.1344]

WSL Version

1.1.3.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

5.15.90.1-microsoft-standard-WSL2

Distro Version

openSUSE Tumbleweed

Other Software

No response

Repro Steps

I'm following these steps to try and mount my SSD inside WSL. In an elevated PowerShell session:

PS C:\Users\user> GET-CimInstance -query "SELECT * from Win32_DiskDrive"

DeviceID           Caption                   Partitions Size          Model
--------           -------                   ---------- ----          -----
\\.\PHYSICALDRIVE1 WDC WD40EZAZ-00SF3B0      1          4000784417280 WDC WD40EZAZ-00SF3B0
\\.\PHYSICALDRIVE2 Samsung SSD 970 EVO 1TB   3          1000202273280 Samsung SSD 970 EVO 1TB
\\.\PHYSICALDRIVE0 Samsung SSD 850 EVO 250GB 3          250056737280  Samsung SSD 850 EVO 250GB

PS C:\Users\user> wsl --mount \\.\PHYSICALDRIVE2 --bare

(Note: Manually selecting a partition with --partition X results in the same error)

Expected Behavior

The wsl --mount command succeeds and I can access the drive from within WSL.

Actual Behavior

PS C:\Users\user> wsl --mount \\.\PHYSICALDRIVE2 --bare
The request is not supported.
Error code: Wsl/Service/AttachDisk/0x80070032

lsblk and fdisk -l from within WSL do not show the disk.

Diagnostic Logs

Since the issue is about wsl --mount, here is the additional diagnostic output:

PS C:\Users\user> wmic diskdrive get Availability,Capabilities,CapabilityDescriptions,DeviceID,InterfaceType,MediaLoaded,MediaType,Model,Name,Partitions
Availability  Capabilities  CapabilityDescriptions                                       DeviceID            InterfaceType  MediaLoaded  MediaType              Model                      Name                Partitions
              {3, 4, 10}    {"Random Access", "Supports Writing", "SMART Notification"}  \\.\PHYSICALDRIVE1  IDE            TRUE         Fixed hard disk media  WDC WD40EZAZ-00SF3B0       \\.\PHYSICALDRIVE1  1
              {3, 4}        {"Random Access", "Supports Writing"}                        \\.\PHYSICALDRIVE2  SCSI           TRUE         Fixed hard disk media  Samsung SSD 970 EVO 1TB    \\.\PHYSICALDRIVE2  3
              {3, 4, 10}    {"Random Access", "Supports Writing", "SMART Notification"}  \\.\PHYSICALDRIVE0  IDE            TRUE         Fixed hard disk media  Samsung SSD 850 EVO 250GB  \\.\PHYSICALDRIVE0  3

if you need more info, let me know.

@benhillis
Copy link
Member

/logs

@microsoft-github-policy-service
Copy link
Contributor

Hello! Could you please provide more logs to help us better diagnose your issue?

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 scipt will output the path of the log file once done.

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

Click here for more info on logging

Thank you!

@FreezyLemon
Copy link
Author

@EdgeCaseLord
Copy link

I have the same problem trying to mount an EXT4 partition on an external USB HD with several partitions on WSL Ubuntu. Same error message. Any news?

@Roritharr
Copy link

Roritharr commented May 31, 2023

Hi, I have the same error message when trying to mount my external ext4 drive.

Versions

WSL version: 1.2.5.0
Kernel version: 5.15.90.1
WSLg version: 1.0.51
MSRDC version: 1.2.3770
Direct3D version: 1.608.2-61064218
DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Windows version: 10.0.22621.1778

Diagnostic Data

wmic diskdrive get Availability,Capabilities,CapabilityDescriptions,DeviceID,InterfaceType,MediaLoaded,MediaType,Model,Name,Partitions
Availability  Capabilities  CapabilityDescriptions                                       DeviceID            InterfaceType  MediaLoaded  MediaType                 Model                       Name                Partitions
              {3, 4}        {"Random Access", "Supports Writing"}                        \\.\PHYSICALDRIVE3  SCSI           TRUE         Fixed hard disk media     Sabrent                     \\.\PHYSICALDRIVE3  1
              {3, 4}        {"Random Access", "Supports Writing"}                        \\.\PHYSICALDRIVE2  SCSI           TRUE         Fixed hard disk media     GIGABYTE GP-GSM2NE3512GNTD  \\.\PHYSICALDRIVE2  3
              {3, 4, 10}    {"Random Access", "Supports Writing", "SMART Notification"}  \\.\PHYSICALDRIVE1  IDE            TRUE         Fixed hard disk media     ST1000DX001-1CM162          \\.\PHYSICALDRIVE1  1
              {3, 4, 10}    {"Random Access", "Supports Writing", "SMART Notification"}  \\.\PHYSICALDRIVE0  IDE            TRUE         Fixed hard disk media     Crucial_CT256MX100SSD1      \\.\PHYSICALDRIVE0  1
              {3, 4}        {"Random Access", "Supports Writing"}                        \\.\PHYSICALDRIVE4  SCSI           TRUE         External hard disk media  Sabrent  SCSI Disk Device   \\.\PHYSICALDRIVE4  1

Error Message

wsl --mount \\.\PHYSICALDRIVE4 --bare
The request is not supported.
Error code: Wsl/Service/AttachDisk/0x80070032

Here are my attached logs:

WslLogs-2023-05-31_10-44-39.zip

Copy link
Contributor

This issue has been automatically closed since it has not had any activity for the past year. If you're still experiencing this issue please re-file this as a new issue or feature request.

Thank you!

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

No branches or pull requests

4 participants