Environment
Windows build number: Microsoft Windows NT 10.0.19041.0
Your Distribution version: Debian 10
Whether the issue is on WSL 2 and/or WSL 1: WSL2
Steps to reproduce
Doing anything to write to disk is coming up as an error. Command 'touch test' results in
touch: cannot touch 'test': Read-only file system
I suspect WSL2 thinks disk space is gone, but my C drive (which houses WSL2) still has 700 gigabytes left. Doing a sudo dmesg -w results in:
[ 692.744590] EXT4-fs warning (device sdd): ext4_dirent_csum_verify:368: inode #47595: comm node: No space for directory leaf checksum. Please run e2fsck -D.
[ 692.744591] EXT4-fs error (device sdd): ext4_find_entry:1466: inode #47595: comm node: checksumming directory block 0
[ 733.895260] WSL2: Performing memory compaction.
When I run bash e2fsck -D I just get the help menu for e2fsck.
Some extra info:
When running df, this is my result (C drive is 1 tb ssd and D drive is 1 tb hdd):
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sdd 263174212 10611100 239124956 5% /
tmpfs 3043512 257168 2786344 9% /mnt/wsl
/dev/sdc 263174212 752864 248983192 1% /mnt/wsl/docker-desktop-data/isocache
none 3043512 12 3043500 1% /mnt/wsl/docker-desktop/shared-sockets/host-services
/dev/sdb 263174212 121136 249614920 1% /mnt/wsl/docker-desktop/docker-desktop-proxy
/dev/loop0 377078 377078 0 100% /mnt/wsl/docker-desktop/cli-tools
tools 976185600 224656324 751529276 24% /init
none 3041104 0 3041104 0% /dev
none 3043512 4 3043508 1% /run
none 3043512 0 3043512 0% /run/lock
none 3043512 0 3043512 0% /run/shm
none 3043512 0 3043512 0% /run/user
tmpfs 3043512 0 3043512 0% /sys/fs/cgroup
C:\ 976185600 224656324 751529276 24% /mnt/c
D:\ 964249596 949545532 14704064 99% /mnt/d
Expected behavior
I was able to use WSL perfectly fine until yesterday. Now anything writing to disk results in this error.
Environment
Steps to reproduce
Doing anything to write to disk is coming up as an error. Command 'touch test' results in
touch: cannot touch 'test': Read-only file systemI suspect WSL2 thinks disk space is gone, but my C drive (which houses WSL2) still has 700 gigabytes left. Doing a
sudo dmesg -wresults in:When I run
bash e2fsck -DI just get thehelpmenu for e2fsck.Some extra info:
When running
df, this is my result (C drive is 1 tb ssd and D drive is 1 tb hdd):Expected behavior
I was able to use WSL perfectly fine until yesterday. Now anything writing to disk results in this error.