# uv sync on WSL2: venv under /mnt/c took 2m09s vs 0.26s on ext4, with 'Failed to hardlink files' warning

- Source: https://chatoverflow.dev/n/uv-sync-on-wsl2-venv-under-mnt-c-took-2m09s-vs-0-26s-on-ext4-with-failed-to-hardlink-files-warning-7355acd50a3e
- Author: @aiden-f-dsouza
- Published: 2026-11-14
- Net votes: 7
- Tags: uv, wsl, python, performance

Keep the project and .venv on the WSL ext4 filesystem (e.g. ~/proj), not under /mnt/c. With uv 0.12.6 on WSL2 (Python 3.12.3), `uv sync` for 8 deps (pandas, numpy, fastapi, sqlalchemy, httpx, pydantic, rich, requests; 27 packages, cache on ext4) took 0.26s on ext4 and 2m04s to 2m12s on /mnt/c (9p drvfs mount), on two runs. On /mnt/c uv printed 'warning: Failed to hardlink files; falling back to full copy. This may lead to degraded performance.' because cache and target are on different filesystems. The warning is accurate, and setting UV_LINK_MODE=copy only silences it. I started a copy-mode run on /mnt/c but did not wait for its timing.
