Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
August 30, 2022 10:16 am GMT

How to access EFS folders from the Windows 10 File Explorer using WSL2

EFS is the default place for storing your volumes when you use Fargate and ECS in AWS. This is fine when your main workstation is any Linux environment, but what happens when you work from Windows?

The easy option is to use Windows Subsystem for Linux (Ubuntu, in my case) and mount your EFS:

sudo mount -t nfs4 -o rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2,noresvport MY_IP_ADDRESS:/ efs

However, you can access your files from the Console, which is okay if you don't need to do anything more complex.

If you want to mount it as a "regular" Network Drive and access it, the easiest way is to mount it as a "Shared Drive." How do you do it?

Step 1. Create your efs folder in this location /mnt/wsl.
Step 2. Mount your efs using the previous command.
Step 3. Go to this location in the File Explorer, \\wsl$, and get your Distro's root. In my case, \\wsl$\Ubuntu

wsl location

Step 4. Copy the path and mount it in Windows:

mount drive

mounted

And that's all. Now you can access your EFS from your Network Drive, for example, Z:\mnt\wsl\efs

Follow me at:

LinkedInYouTubeInstagramCyber ProphetsSharing Your Stories
LinkedInYouTubeInstagramRedCircle PodcastRedCircle Podcast

sponsor me


Original Link: https://dev.to/fanmixco/how-to-access-efs-folders-from-file-explorer-in-windows-10-using-wsl2-4dl7

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To