Linux — WSL2 Obsidian Vault Access
Overview
Managing Obsidian vaults stored in the WSL2 filesystem from Windows. For best performance, keep vault files within the WSL filesystem (e.g. /home/username/vault) and access via the \\wsl$\ network path — this avoids file-watching performance issues.
Method 1 — Direct Access via \\wsl$ (Recommended)
- Open Obsidian on Windows
- Click Open folder as vault
- In the file dialog address bar, enter:
\\wsl$ - Navigate to your WSL distribution files (e.g.
\\wsl$\Ubuntu\home\youruser\vault) - Select the vault folder
Why this works: Windows exposes the WSL2 filesystem via a network-share-like path. Obsidian on Windows can open it directly. File watching works correctly when the vault stays in the WSL filesystem.
Method 2 — Symlinking
- Create a folder in your Windows filesystem (e.g.
C:\Users\yourname\ObsidianVaults\) - In WSL, create a symbolic link pointing to the Windows-accessible location:
1
ln -s /mnt/c/Users/yourname/ObsidianVaults/myvault ~/vault
Or in reverse — symlink from Windows into WSL (requires WSL admin).
Note: Cross-filesystem symlinks can have performance implications; the \\wsl$ method is generally preferred.
Performance Notes
- Keep vault IN WSL filesystem — do not store the vault in
/mnt/c/...(the Windows drive mounted in WSL). Cross-filesystem I/O is slow. - Open from Windows side via
\\wsl$— not from within WSL’s file manager - Obsidian’s file watcher performs better when the vault is natively in WSL
This Vault
This Obsidian vault (rbk-obsidian-vault) is stored on a Windows-accessible Google Drive path (/mnt/g/My Drive/...) and accessed directly — not via WSL filesystem. Claude Code (running in WSL2) accesses it via the /mnt/g/ mount.
See Also
- Linux — Commands Reference — Linux command reference including filesystem navigation
- Obsidian — Word and Google Docs Integration — other Obsidian tooling