I recently moved my WSL 2 Docker Desktop from a 1TB external HDD to a 16TB external HDD. Everything went well and Docker is still working well. However, when I exec into any of my containers and run the df -h
command, I get the following output:
Filesystem Size Used Avail Use% Mounted on
overlay 1007G 956G 0 100% /
tmpfs 64M 0 64M 0% /dev
tmpfs 7.5G 0 7.5G 0% /sys/fs/cgroup
shm 64M 0 64M 0% /dev/shm
/dev/sde 1007G 956G 0 100% /config
tmpfs 7.5G 0 7.5G 0% /proc/acpi
tmpfs 7.5G 0 7.5G 0% /sys/firmware
The containers still think only 1 TB is available, so they are getting maxed out and I can’t get any new data. I’ve tried recreating my containers, restarting docker desktop, restarting my computer, I’ve modified a bunch of different settings. Nothing has fixed it.
This is how df -h
looks on Ubuntu on my WSL 2:
Filesystem Size Used Avail Use% Mounted on
none 7.5G 4.0K 7.5G 1% /mnt/wsl
/dev/sde 1007G 956G 0 100% /mnt/wsl/docker-desktop-data/isocache
none 7.5G 8.0K 7.5G 1% /mnt/wsl/docker-desktop/shared-sockets/host- services
/dev/sdd 1007G 62M 956G 1% /mnt/wsl/docker-desktop/docker-desktop-user- distro
none 471G 368G 103G 79% /usr/lib/wsl/drivers
/dev/sdc 1007G 28G 928G 3% /
none 7.5G 100K 7.5G 1% /mnt/wslg
none 7.5G 0 7.5G 0% /usr/lib/wsl/lib
rootfs 7.5G 2.1M 7.5G 1% /init
none 7.5G 880K 7.5G 1% /run
none 7.5G 0 7.5G 0% /run/lock
none 7.5G 0 7.5G 0% /run/shm
tmpfs 4.0M 0 4.0M 0% /sys/fs/cgroup
none 7.5G 92K 7.5G 1% /mnt/wslg/versions.txt
none 7.5G 92K 7.5G 1% /mnt/wslg/doc
C:\ 471G 368G 103G 79% /mnt/c
D:\ 511M 43M 469M 9% /mnt/d
F:\ 17T 792G 16T 5% /mnt/f
snapfuse 128K 128K 0 100% /snap/bare/5
snapfuse 74M 74M 0 100% /snap/core22/864
snapfuse 75M 75M 0 100% /snap/core22/1033
snapfuse 92M 92M 0 100% /snap/gtk-common-themes/1535
snapfuse 41M 41M 0 100% /snap/snapd/20290
snapfuse 41M 41M 0 100% /snap/snapd/20671
snapfuse 131M 131M 0 100% /snap/ubuntu-desktop-installer/1280
snapfuse 131M 131M 0 100% /snap/ubuntu-desktop-installer/1282
/dev/loop0 460M 460M 0 100% /mnt/wsl/docker-desktop/cli-tools
C:\Program Files\Docker\Docker\resources 471G 368G 103G 79% /Docker/host