Windows 10: WSL Storage Physical Location

Discus and support WSL Storage Physical Location in Windows 10 Gaming to solve the problem; My WSL storage says that it can store 1TB, but my PC has only around 200GB remaining on disk D, and 40GB remaining on disk C. Where is that physically... Discussion in 'Windows 10 Gaming' started by Cong Nguyen Ba, Feb 22, 2023.

  1. WSL Storage Physical Location


    My WSL storage says that it can store 1TB, but my PC has only around 200GB remaining on disk D, and 40GB remaining on disk C. Where is that physically stored, and how can I move files from Windows to WSL?

    :)
     
    Cong Nguyen Ba, Feb 22, 2023
    #1
  2. Brink Win User

    Windows Subsystem for Linux (WSL) 0.68.2 released

    Source: Release 0.68.2 . microsoft/WSL . GitHub

    See also:
     
    Brink, Feb 22, 2023
    #2
  3. MarkMcK Win User
    Windows Storage Spaces -- Moving a Physical Disk

    Hope the following review/summary of my recent experimenting with Microsoft Storage Spaces will be of use to others. Sorry if this is too 'verbose'... The steps I performed/show could be used in one of several scenarios...

    1] If you physically remove a disk from a functioning Storage Space without going thru Storage Spaces in the Control Panel first. 'How to Remove Drive from Storage Pool for Storage Spaces in Windows 10'

    2] If there is a failure of a disk in a Storage Space [two-way mirror]

    3] If there is a failure of the computer hosting the Storage Space [again a two-way mirror].

    In scenario 2 you can replace the failed disk and press-on. But if you want/need to get the files off the remaining 'good' disk or in the case of scenario 3 you have no other option, you can physically remove the disk from the computer and connect to another. In my case, moving a 2.5" SSD [Identified in the Desktop Pool as 'SamsungSSD2'] from a Windows 10 Home Desktop to a Windows 10 Home Laptop and connecting with USB 3.0 to 2.5” SATA III Hard Drive Adapter/Cable.

    When connecting the 2.5" SSD to the laptop got a Notification 'Check Storage Spaces for issues'


    WSL Storage Physical Location 288849d1595269636t-windows-storage-spaces-moving-physical-disk-untitled.jpg


    Windows displayed 'Microsoft Storage Space Device' in both Device Manager, Disk Manager and Explorer...


    WSL Storage Physical Location 288859d1595270380t-windows-storage-spaces-moving-physical-disk-c11.jpg



    WSL Storage Physical Location 288854d1595269686t-windows-storage-spaces-moving-physical-disk-c12.jpg



    WSL Storage Physical Location 288856d1595270249t-windows-storage-spaces-moving-physical-disk-c13.jpg



    WSL Storage Physical Location 288857d1595270267t-windows-storage-spaces-moving-physical-disk-c14.jpg


    All of the files stored on SSD2 were accessible thru Explorer. So at this point we can copy any/all the files from the Desktop's two-way mirror.

    I can't speak to what would happen or the steps needed if you wanted to physically return the drive to the Desktop's original two-way mirror. The most straightforward option would be to build a new mirror on the Desktop from scratch and go from there.

    At this point on the laptop, Windows treats the drive as a Storage Space [albeit in a 'Reduced resiliency' state]. The following steps will guide you thru how to get the SSD 'out' of Microsoft's Storage Space.

    On the laptop, under Control Panel; Storage Spaces we are presented details about the Storage Pool as created on the Desktop, to include name of the Storage Space and the details about the Physical drives making up the original Two-way mirror. It happily finds SSD2, but SSD1 is missing. Hence the 'Warning' about 'Reduced resiliency...'. These details must be coming from somewhere on SSD2. I was not successful in finding out much about how/what is on a Storage Spaces Two-way mirror other than info on this Microsoft Blog in 2012

    From here I selected 'Change Settings'; From there chose to 'Delete' the Two-way mirror Storage Space


    WSL Storage Physical Location 288860d1595270648t-windows-storage-spaces-moving-physical-disk-c15.jpg



    WSL Storage Physical Location 288861d1595270665t-windows-storage-spaces-moving-physical-disk-c16.jpg



    WSL Storage Physical Location 288862d1595270679t-windows-storage-spaces-moving-physical-disk-c17.jpg


    This deletes the Two-way mirror Storage Space, but we still end up with the two drives in the Pool. A simple matter to 'Delete Pool'


    WSL Storage Physical Location 288863d1595270699t-windows-storage-spaces-moving-physical-disk-c18.jpg



    WSL Storage Physical Location 288871d1595272046t-windows-storage-spaces-moving-physical-disk-c19.jpg


    And we end up here in the Control Panel...


    WSL Storage Physical Location 288865d1595270731t-windows-storage-spaces-moving-physical-disk-c20.jpg


    SSD2 now appears in Disk Management and Windows Explorer


    WSL Storage Physical Location 288869d1595271696t-windows-storage-spaces-moving-physical-disk-c21.jpg



    WSL Storage Physical Location 288870d1595271710t-windows-storage-spaces-moving-physical-disk-c22.jpg


    Of note... There were NO files from the Desktop Two-way mirror on SSD2 once we got to this point in the process!

    Please, add/correct as needed since this was done in a bit of a rush.
     
    MarkMcK, Feb 22, 2023
    #3
  4. Brink Win User

    WSL Storage Physical Location

    Systemd support is now available in WSL

    Many popular distributions run systemd by default, such as Ubuntu, Debian and more. This change means that WSL will be even more similar to using your favorite Linux distros on a bare metal machine, and will let you use software that depends on systemd support.

    A few examples of Linux applications that depend on systemd are:

    • snap
      • A handy binary that allows you to install and manage software inside Ubuntu.
      • Try running: snap install spotify or snap install postman
    • microk8s
    • systemctl
      • A tool that’s part of systemd, interact with services on your Linux machine
      • Try systemctl list-units --type=service to see which services are available and their status
    How is this change possible in WSL?

    Supporting systemd required changes to the WSL architecture. As systemd requires PID 1, the WSL init process started within the Linux distribution becomes a child process of the systemd. Because the WSL init process is responsible for providing the infrastructure for communication between the Linux and Windows components, changing this hierarchy required rethinking some of the assumptions made with the WSL init process. Additional modifications had to be made to ensure a clean shutdown (as that shutdown is controlled by systemd now) and to have compatibility with WSLg, It is also important to note that with these change, systemd services will NOT keep your WSL instance alive. Your WSL instance will stay alive in the same way it did before, which you can read more about here.

    Given that this changes how WSL behaves when booting up, we wanted to be careful about applying this to user’s already existing WSL distros. So currently you need to opt-in to enable systemd for a specific WSL distro, and we will monitor feedback and investigate making this behavior by default in the future.

    How can you get systemd on your machine?

    To get started, you will need to do these two things: – Ensure you are running the right version of WSL: Version 0.67.6 and above – Set the systemd flag set in your WSL distro settings

    Ensuring you are on the right WSL version

    This change is only available in the Microsoft Store version of WSL version 0.67.6 and higher. You can check your version number by running wsl --version. If that command fails then you are running the in-Windows version of WSL and need to upgrade to the Store version.

    This version of WSL is now available in the Microsoft Store to users on Windows Insiders build for initial testing, and then after a few weeks we will make it available to all users to ensure quality. You can run wsl --update to check for any WSL updates.

    If you are not on Windows Insiders and want to use it immediately, you can download the latest release from the WSL release page.

    Set the systemd flag set in your WSL distro settings

    You will need to edit the wsl.conf file to ensure systemd starts up on boot.

    Add these lines to the /etc/wsl.conf (note you will need to run your editor with sudo privileges, e.g: sudo nano /etc/wsl.conf):

    Code:
    And close out of the nano editor using CTRL+O to save and CTRL+X to exit.

    Final steps

    With the above steps done, close your WSL distro Windows and run wsl.exe --shutdown from PowerShell to restart your WSL instances. Upon launch you should have systemd running. You can check this with the command systemctl list-unit-files --type=service which should show your services’ status.

    Acknowledgements and Feedback!

    Thank you to the Canonical team for working with us to deliver this feature! Check out Canonical’s blog post here. For any technical issues please file them on the Microsoft/WSL Github repo. You can follow up with WSL team members, or with me on Twitter. Lastly, learn more about WSL, including how to set up common development tools like Git, VS Code, Docker containers, databases, GPU acceleration for machine learning, and more, by visiting the WSL documentation.
    Source: https://devblogs.microsoft.com/comma...ilable-in-wsl/

    Microsoft Store: https://www.elevenforum.com/t/instal...indows-11.377/
     
    Brink, Feb 22, 2023
    #4
Thema:

WSL Storage Physical Location

Loading...
  1. WSL Storage Physical Location - Similar Threads - WSL Storage Physical

  2. WSL not located in Windows Apps

    in Windows 10 Installation and Upgrade
    WSL not located in Windows Apps: I cannot find WSL in my Apps & Features. When I type wsl command in my terminal or powershell, I get error "The system cannot find the file specified". Any help appreciated, thanks!...
  3. WSL not located in Windows Apps

    in Windows 10 Gaming
    WSL not located in Windows Apps: I cannot find WSL in my Apps & Features. When I type wsl command in my terminal or powershell, I get error "The system cannot find the file specified". Any help appreciated, thanks!...
  4. WSL not located in Windows Apps

    in Windows 10 Software and Apps
    WSL not located in Windows Apps: I cannot find WSL in my Apps & Features. When I type wsl command in my terminal or powershell, I get error "The system cannot find the file specified". Any help appreciated, thanks!...
  5. WSL Storage Physical Location

    in Windows 10 Software and Apps
    WSL Storage Physical Location: My WSL storage says that it can store 1TB, but my PC has only around 200GB remaining on disk D, and 40GB remaining on disk C. Where is that physically stored, and how can I move files from Windows to WSL?...
  6. Desktop physical location

    in Windows 10 Customization
    Desktop physical location: My desktop shows Arlington Texas as its physical location and I am actually located in Bastrop, Texas. How do I correct this? Thanks Bruce https://answers.microsoft.com/en-us/windows/forum/all/desktop-physical-location/3298918f-b879-486d-8849-c57e188692ba
  7. MAC address or Physical Address location

    in Windows 10 Network and Sharing
    MAC address or Physical Address location: Where do I find the Physical Address on my Inspiron 3847 desktop? I am needing it for my internet provider. https://answers.microsoft.com/en-us/windows/forum/all/mac-address-or-physical-address-location/e21bba7a-a443-448e-8e39-19ab55fb9db2
  8. Adding physical disks to a storage pool

    in Windows 10 Ask Insider
    Adding physical disks to a storage pool: I have a storage pool of 4 physical 8tb disks. I added 2 more physical 8tb disks to the pool, but there doesn't seem to be a size increase. What I'm reading is that storage pools can't be added to once created, but that doesn't sound right. So, how do I get the added disks to...
  9. change physical location

    in AntiVirus, Firewalls and System Security
    change physical location: change physical location https://answers.microsoft.com/en-us/windows/forum/all/change-physical-location/1d4ecf9f-f41e-45b8-9634-e320a66e8f9d"
  10. Physical Location

    in Windows 10 Customization
    Physical Location: I have noticed that the last few weeks my laptop thinks it's in Phoenix Arizona. It is really in Tulsa Oklahoma. I have change the location on everything I can think of and followed directions for changing my location, only to search for something close by and it comes back...