Skip to content

WSl2 corrupts ext4 filesystem  #5895

@livius-ungureanu

Description

@livius-ungureanu

Environment

Platform ServicePack Version VersionString


Win32NT 10.0.19041.0 Microsoft Windows NT 10.0.19041.0

lsb_release -r
Release: 20.04

cat /proc/version
Linux version 4.19.104-microsoft-standard (oe-user@oe-host) (gcc version 8.2.0 (GCC)) #1 SMP Wed Feb 19 06:37:35 UTC 2020

Windows build number: [run `[Environment]::OSVersion` for powershell, or `ver` for cmd]
Your Distribution version: [On Debian or Ubuntu run `lsb_release -r` in WSL]
Whether the issue is on WSL 2 and/or WSL 1: [run `cat /proc/version` in WSL]

Steps to reproduce

I am using Intellij linux version running in WSL2 and connected to a X410 server for GUI .
While intellij is running some apps WSL2 suddenly stops.
After a start again wsl2 I see that

  • the root fs is mounted readonly: /dev/sdb on / type ext4 (ro,relatime,discard,errors=remount-ro,data=ordered)
  • also dmesg shows:
lun@LUN:~$ dmesg
[    0.000000] Linux version 4.19.104-microsoft-standard (oe-user@oe-host) (gcc version 8.2.0 (GCC)) #1 SMP Wed Feb 19 06:37:35 UTC 2020
[    0.000000] Command line: initrd=\initrd.img panic=-1 pty.legacy_count=0 nr_cpus=4
[    0.000000] KERNEL supported cpus:
[    0.000000]   Intel GenuineIntel
[    0.000000]   AMD AuthenticAMD
[    0.000000]   Centaur CentaurHauls
[    0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
[    0.000000] x86/fpu: xstate_offset[2]:  576, xstate_sizes[2]:  256
[    0.000000] x86/fpu: Enabled xstate features 0x7, context size is 832 bytes, using 'compacted' format.
[    0.000000] BIOS-provided physical RAM map:
[    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009ffff] usable
[    0.000000] BIOS-e820: [mem 0x00000000000e0000-0x00000000000e0fff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000000100000-0x00000000001fffff] ACPI data
[    0.000000] BIOS-e820: [mem 0x0000000000200000-0x00000000f7ffffff] usable
[    0.000000] BIOS-e820: [mem 0x0000000100000000-0x00000003feffffff] usable
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] DMI not present or invalid.
[    0.000000] Hypervisor detected: Microsoft Hyper-V
[    0.000000] Hyper-V: features 0x2e7f, hints 0x22c2c
[    0.000000] Hyper-V Host Build:19041-10.0-0-0.329
[    0.000000] Hyper-V: LAPIC Timer Frequency: 0x1e8480
[    0.000000] tsc: Marking TSC unstable due to running on Hyper-V
[    0.000000] Hyper-V: Using hypercall for remote TLB flush
[    0.000000] tsc: Detected 2808.000 MHz processor
[    0.000012] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
[    0.000014] e820: remove [mem 0x000a0000-0x000fffff] usable
[    0.000018] last_pfn = 0x3ff000 max_arch_pfn = 0x400000000
[    0.000041] MTRR default type: uncachable
[    0.000041] MTRR fixed ranges disabled:
[    0.000043]   00000-FFFFF uncachable
[    0.000043] MTRR variable ranges disabled:
[    0.000044]   0 disabled
[    0.000045]   1 disabled
[    0.000045]   2 disabled
[    0.000046]   3 disabled
[    0.000046]   4 disabled
[    0.000047]   5 disabled
[    0.000047]   6 disabled
[    0.000048]   7 disabled
[    0.000048] Disabled
[    0.000049] x86/PAT: MTRRs disabled, skipping PAT initialization too.
[    0.000058] CPU MTRRs all blank - virtualized system.
[    0.000062] x86/PAT: Configuration [0-7]: WB  WT  UC- UC  WB  WT  UC- UC
[    0.000064] last_pfn = 0xf8000 max_arch_pfn = 0x400000000
[    0.000105] Using GB pages for direct mapping
[    0.000108] BRK [0x02e00000, 0x02e00fff] PGTABLE
[    0.000109] BRK [0x02e01000, 0x02e01fff] PGTABLE
[    0.000109] BRK [0x02e02000, 0x02e02fff] PGTABLE
[    0.000173] BRK [0x02e03000, 0x02e03fff] PGTABLE
[    0.000709] RAMDISK: [mem 0x02e35000-0x02e44fff]
[    0.000713] ACPI: Early table checksum verification disabled
[    0.000742] ACPI: RSDP 0x00000000000E0000 000024 (v02 VRTUAL)
[    0.000746] ACPI: XSDT 0x0000000000100000 000044 (v01 VRTUAL MICROSFT 00000001 MSFT 00000001)
[    0.000752] ACPI: FACP 0x0000000000101000 000114 (v06 VRTUAL MICROSFT 00000001 MSFT 00000001)
[    0.000758] ACPI: DSDT 0x00000000001011B8 01E184 (v02 MSFTVM DSDT01   00000001 MSFT 05000000)
[    0.000760] ACPI: FACS 0x0000000000101114 000040
[    0.000761] ACPI: OEM0 0x0000000000101154 000064 (v01 VRTUAL MICROSFT 00000001 MSFT 00000001)
[    0.000763] ACPI: SRAT 0x000000000011F33C 000250 (v02 VRTUAL MICROSFT 00000001 MSFT 00000001)
[    0.000765] ACPI: APIC 0x000000000011F58C 000068 (v04 VRTUAL MICROSFT 00000001 MSFT 00000001)
[    0.000769] ACPI: Local APIC address 0xfee00000
[    0.001027] Zone ranges:
[    0.001028]   DMA      [mem 0x0000000000001000-0x0000000000ffffff]
[    0.001029]   DMA32    [mem 0x0000000001000000-0x00000000ffffffff]
[    0.001030]   Normal   [mem 0x0000000100000000-0x00000003feffffff]
[    0.001031] Movable zone start for each node
[    0.001031] Early memory node ranges
[    0.001032]   node   0: [mem 0x0000000000001000-0x000000000009ffff]
[    0.001033]   node   0: [mem 0x0000000000200000-0x00000000f7ffffff]
[    0.001034]   node   0: [mem 0x0000000100000000-0x00000003feffffff]
[    0.001647] Zeroed struct page in unavailable ranges: 4449 pages
[    0.001649] Initmem setup node 0 [mem 0x0000000000001000-0x00000003feffffff]
[    0.001651] On node 0 totalpages: 4157087
[    0.001652]   DMA zone: 59 pages used for memmap
[    0.001653]   DMA zone: 22 pages reserved
[    0.001654]   DMA zone: 3743 pages, LIFO batch:0
[    0.001778]   DMA32 zone: 16320 pages used for memmap
[    0.001779]   DMA32 zone: 1011712 pages, LIFO batch:63
[    0.029917]   Normal zone: 49088 pages used for memmap
[    0.029919]   Normal zone: 3141632 pages, LIFO batch:63
[    0.030660] ACPI: Local APIC address 0xfee00000
[    0.030666] ACPI: LAPIC_NMI (acpi_id[0x01] dfl dfl lint[0x1])
[    0.030993] IOAPIC[0]: apic_id 4, version 17, address 0xfec00000, GSI 0-23
[    0.030996] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[    0.030998] ACPI: IRQ9 used by override.
[    0.030999] Using ACPI (MADT) for SMP configuration information
[    0.031004] smpboot: Allowing 4 CPUs, 0 hotplug CPUs
[    0.031011] [mem 0xf8000000-0xffffffff] available for PCI devices
[    0.031012] Booting paravirtualized kernel on bare hardware
[    0.031014] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.152805] random: get_random_bytes called from start_kernel+0x93/0x4bb with crng_init=0
[    0.152810] setup_percpu: NR_CPUS:256 nr_cpumask_bits:256 nr_cpu_ids:4 nr_node_ids:1
[    0.153228] percpu: Embedded 42 pages/cpu s133400 r8192 d30440 u524288
[    0.153231] pcpu-alloc: s133400 r8192 d30440 u524288 alloc=1*2097152
[    0.153232] pcpu-alloc: [0] 0 1 2 3
[    0.153242] Built 1 zonelists, mobility grouping on.  Total pages: 4091598
[    0.153243] Kernel command line: initrd=\initrd.img panic=-1 pty.legacy_count=0 nr_cpus=4
[    0.156368] Dentry cache hash table entries: 2097152 (order: 12, 16777216 bytes)
[    0.157861] Inode-cache hash table entries: 1048576 (order: 11, 8388608 bytes)
[    0.186163] Memory: 4096404K/16628348K available (14360K kernel code, 1575K rwdata, 2836K rodata, 1504K init, 2792K bss, 382300K reserved, 0K cma-reserved)
[    0.186450] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.186455] Kernel/User page tables isolation: enabled
[    0.186493] ftrace: allocating 41537 entries in 163 pages
[    0.200005] rcu: Hierarchical RCU implementation.
[    0.200007] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
[    0.200008]  All grace periods are expedited (rcu_expedited).
[    0.200008] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.201980] Using NULL legacy PIC
[    0.201981] NR_IRQS: 16640, nr_irqs: 456, preallocated irqs: 0
[    0.202392] Console: colour dummy device 80x25
[    0.202395] console [tty0] enabled
[    0.202399] ACPI: Core revision 20180810
[    0.202484] Failed to register legacy timer interrupt
[    0.202489] APIC: Switch to symmetric I/O mode setup
[    0.202501] Hyper-V: Using IPI hypercalls
[    0.202501] Hyper-V: Using MSR based APIC access
[    0.202505] clocksource: hyperv_clocksource_tsc_page: mask: 0xffffffffffffffff max_cycles: 0x24e6a1710, max_idle_ns: 440795202120 ns
[    0.202593] Calibrating delay loop (skipped), value calculated using timer frequency.. 5616.00 BogoMIPS (lpj=28080000)
[    0.202595] pid_max: default: 32768 minimum: 301
[    0.202620] Security Framework initialized
[    0.202653] Mount-cache hash table entries: 32768 (order: 6, 262144 bytes)
[    0.202679] Mountpoint-cache hash table entries: 32768 (order: 6, 262144 bytes)
[    0.202877] Last level iTLB entries: 4KB 64, 2MB 8, 4MB 8
[    0.202878] Last level dTLB entries: 4KB 64, 2MB 0, 4MB 0, 1GB 4
[    0.202879] Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer sanitization
[    0.202880] Spectre V2 : Mitigation: Full generic retpoline
[    0.202881] Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch
[    0.202881] Spectre V2 : Enabling Restricted Speculation for firmware calls
[    0.202885] Spectre V2 : mitigation: Enabling conditional Indirect Branch Prediction Barrier
[    0.202886] Spectre V2 : User space: Mitigation: STIBP via seccomp and prctl
[    0.202886] Speculative Store Bypass: Mitigation: Speculative Store Bypass disabled via prctl and seccomp
[    0.202907] TAA: Vulnerable: Clear CPU buffers attempted, no microcode
[    0.202907] MDS: Vulnerable: Clear CPU buffers attempted, no microcode
[    0.203114] Freeing SMP alternatives memory: 44K
[    0.204093] smpboot: CPU0: Intel(R) Core(TM) i7-6600U CPU @ 2.60GHz (family: 0x6, model: 0x4e, stepping: 0x3)
[    0.204158] Performance Events: unsupported p6 CPU model 78 no PMU driver, software events only.
[    0.204193] rcu: Hierarchical SRCU implementation.
[    0.204271] random: crng done (trusting CPU's manufacturer)
[    0.204307] smp: Bringing up secondary CPUs ...
[    0.204345] x86: Booting SMP configuration:
[    0.204345] .... node  #0, CPUs:      #1
[    0.204782] MDS CPU bug present and SMT on, data leak possible. See https://www.kernel.org/doc/html/latest/admin-guide/hw-vuln/mds.html for more details.
[    0.204782] TAA CPU bug present and SMT on, data leak possible. See https://www.kernel.org/doc/html/latest/admin-guide/hw-vuln/tsx_async_abort.html for more details.
[    0.204782]  #2 #3
[    0.204782] smp: Brought up 1 node, 4 CPUs
[    0.204782] smpboot: Max logical packages: 1
[    0.204782] smpboot: Total of 4 processors activated (22464.00 BogoMIPS)
[    0.302587] node 0 initialised, 3037411 pages in 100ms
[    0.303739] devtmpfs: initialized
[    0.303739] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.303739] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.303739] xor: automatically using best checksumming function   avx
[    0.303739] NET: Registered protocol family 16
[    0.303739] ACPI: bus type PCI registered
[    0.303739] PCI: Fatal: No config space access function found
[    0.303739] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.303739] raid6: Forced to use recovery algorithm avx2x2
[    0.303739] raid6: Forced gen() algo avx2x4
[    0.303739] ACPI: Added _OSI(Module Device)
[    0.303739] ACPI: Added _OSI(Processor Device)
[    0.303739] ACPI: Added _OSI(3.0 _SCP Extensions)
[    0.303739] ACPI: Added _OSI(Processor Aggregator Device)
[    0.303739] ACPI: Added _OSI(Linux-Dell-Video)
[    0.303739] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
[    0.314487] ACPI: 1 ACPI AML tables successfully acquired and loaded
[    0.315300] ACPI: Interpreter enabled
[    0.315300] ACPI: (supports S0 S5)
[    0.315300] ACPI: Using IOAPIC for interrupt routing
[    0.315300] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[    0.315300] ACPI: Enabled 2 GPEs in block 00 to 0F
[    0.315319] SCSI subsystem initialized
[    0.315319] hv_vmbus: Vmbus version:5.0
[    0.315319] PCI: Using ACPI for IRQ routing
[    0.315319] PCI: System does not support PCI
[    0.315319] hv_vmbus: Unknown GUID: c376c1c3-d276-48d2-90a9-c04748072c60
[    0.315319] clocksource: Switched to clocksource hyperv_clocksource_tsc_page
[    0.327849] VFS: Disk quotas dquot_6.6.0
[    0.327858] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.327907] FS-Cache: Loaded
[    0.327931] pnp: PnP ACPI init
[    0.328131] pnp 00:00: Plug and Play ACPI device, IDs PNP0b00 (active)
[    0.328144] pnp: PnP ACPI: found 1 devices
[    0.337686] NET: Registered protocol family 2
[    0.337915] tcp_listen_portaddr_hash hash table entries: 8192 (order: 5, 131072 bytes)
[    0.337943] TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.338274] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
[    0.338395] TCP: Hash tables configured (established 131072 bind 65536)
[    0.338414] UDP hash table entries: 8192 (order: 6, 262144 bytes)
[    0.338640] UDP-Lite hash table entries: 8192 (order: 6, 262144 bytes)
[    0.338690] NET: Registered protocol family 1
[    0.339421] RPC: Registered named UNIX socket transport module.
[    0.339422] RPC: Registered udp transport module.
[    0.339422] RPC: Registered tcp transport module.
[    0.339423] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.339424] PCI: CLS 0 bytes, default 64
[    0.339461] Trying to unpack rootfs image as initramfs...
[    0.339593] Freeing initrd memory: 64K
[    0.339595] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[    0.339596] software IO TLB: mapped [mem 0xf4000000-0xf8000000] (64MB)
[    0.339678] kvm: no hardware support
[    0.339679] has_svm: not amd
[    0.339679] kvm: no hardware support
[    0.340106] Initialise system trusted keyrings
[    0.340346] workingset: timestamp_bits=46 max_order=22 bucket_order=0
[    0.341303] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.341679] NFS: Registering the id_resolver key type
[    0.341684] Key type id_resolver registered
[    0.341685] Key type id_legacy registered
[    0.341687] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.342554] Key type cifs.idmap registered
[    0.342650] fuse init (API version 7.27)
[    0.342951] SGI XFS with ACLs, security attributes, realtime, scrub, no debug enabled
[    0.343913] 9p: Installing v9fs 9p2000 file system support
[    0.343923] FS-Cache: Netfs '9p' registered for caching
[    0.343958] FS-Cache: Netfs 'ceph' registered for caching
[    0.343960] ceph: loaded (mds proto 32)
[    0.350598] NET: Registered protocol family 38
[    0.350600] Key type asymmetric registered
[    0.350616] Asymmetric key parser 'x509' registered
[    0.350625] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[    0.350626] io scheduler noop registered (default)
[    0.350910] hv_vmbus: registering driver hv_pci
[    0.351092] ACPI: AC Adapter [AC1] (on-line)
[    0.351396] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    0.351869] Non-volatile memory driver v1.3
[    0.352175] battery: ACPI: Battery Slot [BAT1] (battery present)
[    0.354310] brd: module loaded
[    0.355523] loop: module loaded
[    0.355653] hv_vmbus: registering driver hv_storvsc
[    0.355698] Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
[    0.356314] tun: Universal TUN/TAP device driver, 1.6
[    0.357284] PPP generic driver version 2.4.2
[    0.357374] PPP BSD Compression module registered
[    0.357375] PPP Deflate Compression module registered
[    0.357378] PPP MPPE Compression module registered
[    0.357379] NET: Registered protocol family 24
[    0.357382] hv_vmbus: registering driver hv_netvsc
[    0.358665] scsi host0: storvsc_host_t
[    0.397937] VFIO - User Level meta-driver version: 0.3
[    0.398090] hv_vmbus: registering driver hyperv_keyboard
[    0.398416] rtc_cmos 00:00: RTC can wake from S4
[    0.400412] rtc_cmos 00:00: registered as rtc0
[    0.400431] rtc_cmos 00:00: alarms up to one month, 114 bytes nvram
[    0.400681] device-mapper: ioctl: 4.39.0-ioctl (2018-04-03) initialised: dm-devel@redhat.com
[    0.401020] hv_utils: Registering HyperV Utility Driver
[    0.401021] hv_vmbus: registering driver hv_util
[    0.401068] hv_vmbus: registering driver hv_balloon
[    0.401146] drop_monitor: Initializing network drop monitor service
[    0.401167] hv_utils: cannot register PTP clock: 0
[    0.401546] hv_utils: TimeSync IC version 4.0
[    0.401687] Mirror/redirect action on
[    0.401809] hv_balloon: Using Dynamic Memory protocol version 2.0
[    0.402276] IPVS: Registered protocols (TCP, UDP)
[    0.402303] IPVS: Connection hash table configured (size=4096, memory=64Kbytes)
[    0.402374] hv_balloon: cold memory discard enabled
[    0.403645] IPVS: ipvs loaded.
[    0.403646] IPVS: [rr] scheduler registered.
[    0.403646] IPVS: [wrr] scheduler registered.
[    0.403647] IPVS: [sh] scheduler registered.
[    0.405563] ipt_CLUSTERIP: ClusterIP Version 0.8 loaded successfully
[    0.405803] Initializing XFRM netlink socket
[    0.405860] NET: Registered protocol family 10
[    0.406299] Segment Routing with IPv6
[    0.408182] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    0.408298] NET: Registered protocol family 17
[    0.408319] Bridge firewalling registered
[    0.408327] 8021q: 802.1Q VLAN Support v1.8
[    0.408350] sctp: Hash tables configured (bind 256/256)
[    0.408405] 9pnet: Installing 9P2000 support
[    0.408414] Key type dns_resolver registered
[    0.408420] Key type ceph registered
[    0.408614] libceph: loaded (mon/osd proto 15/24)
[    0.408616] hv_vmbus: registering driver hv_sock
[    0.408780] NET: Registered protocol family 40
[    0.409290] registered taskstats version 1
[    0.409295] Loading compiled-in X.509 certificates
[    0.409583] Btrfs loaded, crc32c=crc32c-generic
[    0.410450] rtc_cmos 00:00: setting system clock to 2020-09-10 09:01:37 UTC (1599728497)
[    0.410470] Unstable clock detected, switching default tracing clock to "global"
               If you want to keep using the local clock, then add:
                 "trace_clock=local"
               on the kernel command line
[    0.412001] Freeing unused kernel image memory: 1504K
[    0.482854] Write protecting the kernel read-only data: 20480k
[    0.483464] Freeing unused kernel image memory: 1988K
[    0.483789] Freeing unused kernel image memory: 1260K
[    0.483968] Run /init as init process
[    0.762971] scsi 0:0:0:0: Direct-Access     Msft     Virtual Disk     1.0  PQ: 0 ANSI: 5
[    0.763397] sd 0:0:0:0: Attached scsi generic sg0 type 0
[    0.766362] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    0.771106] sd 0:0:0:0: [sda] 536870912 512-byte logical blocks: (275 GB/256 GiB)
[    0.771108] sd 0:0:0:0: [sda] 4096-byte physical blocks
[    0.771354] sd 0:0:0:0: [sda] Write Protect is off
[    0.771356] sd 0:0:0:0: [sda] Mode Sense: 0f 00 00 00
[    0.771675] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    0.776927] sd 0:0:0:0: [sda] Attached SCSI disk
[    0.797063] EXT4-fs (sda): mounted filesystem with ordered data mode. Opts: discard,errors=remount-ro,data=ordered
[    0.885766] Adding 4194304k swap on /swap/file.  Priority:-2 extents:2 across:4202496k
[    0.993732] scsi 0:0:0:1: Direct-Access     Msft     Virtual Disk     1.0  PQ: 0 ANSI: 5
[    0.994667] sd 0:0:0:1: Attached scsi generic sg1 type 0
[    0.996547] sd 0:0:0:1: [sdb] 536870912 512-byte logical blocks: (275 GB/256 GiB)
[    0.996550] sd 0:0:0:1: [sdb] 4096-byte physical blocks
[    0.996689] sd 0:0:0:1: [sdb] Write Protect is off
[    0.996691] sd 0:0:0:1: [sdb] Mode Sense: 0f 00 00 00
[    0.997240] sd 0:0:0:1: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    1.005273] sd 0:0:0:1: [sdb] Attached SCSI disk
[    1.362677] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    1.956835] JBD2: Invalid checksum recovering block 97441 in log
[    1.956925] JBD2: recovery failed
[    1.956927] EXT4-fs (sdb): error loading journal
[    3.484294] JBD2: Invalid checksum recovering data block 12382 in log
[    3.512820] JBD2: Invalid checksum recovering data block 12382 in log
[    3.512824] JBD2: Invalid checksum recovering data block 54017 in log
[    3.780618] JBD2: Invalid checksum recovering data block 45544 in log
[    4.154220] JBD2: Invalid checksum recovering data block 50449 in log
[    4.210671] JBD2: Invalid checksum recovering data block 1131 in log
[    4.439616] JBD2: Invalid checksum recovering data block 0 in log
[    4.536846] JBD2: Invalid checksum recovering data block 45539 in log
[    5.358244] JBD2: recovery failed
[    5.358250] EXT4-fs (sdb): error loading journal
[    7.443027] JBD2: Invalid checksum recovering data block 50447 in log
[    7.445502] JBD2: Invalid checksum recovering data block 2121390 in log
[    7.491514] JBD2: Invalid checksum recovering data block 50449 in log
[    8.092075] JBD2: Invalid checksum recovering data block 51343 in log
[    8.417900] JBD2: recovery failed
[    8.417907] EXT4-fs (sdb): error loading journal
[    8.471695] ERROR: MountExt4:1659: mount(/dev/sdb) failed 5
[   17.738797] JBD2: journal transaction 570368 on sdb-8 is corrupt.
[   17.738803] EXT4-fs (sdb): error loading journal
[   18.711310] JBD2: Invalid checksum recovering block 88396 in log
[   18.713604] JBD2: recovery failed
[   18.713606] EXT4-fs (sdb): error loading journal
[   19.194568] JBD2: Invalid checksum recovering data block 54017 in log
[   19.499629] JBD2: recovery failed
[   19.499636] EXT4-fs (sdb): error loading journal
[   19.672459] JBD2: Invalid checksum recovering block 68714 in log
[   19.672564] JBD2: recovery failed
[   19.672611] EXT4-fs (sdb): error loading journal
[   20.472126] JBD2: Invalid checksum recovering data block 9776 in log
[   20.507902] JBD2: Invalid checksum recovering data block 46131 in log
[   20.783018] JBD2: Invalid checksum recovering data block 0 in log
[   20.918815] JBD2: Invalid checksum recovering data block 1790955 in log
[   21.129783] JBD2: recovery failed
[   21.129791] EXT4-fs (sdb): error loading journal
[   21.151232] ERROR: MountExt4:1659: mount(/dev/sdb) failed 5
[   28.658479] EXT4-fs (sdb): 3 orphan inodes deleted
[   28.658480] EXT4-fs (sdb): recovery complete
[   28.684942] EXT4-fs (sdb): mounted filesystem with ordered data mode. Opts: discard,errors=remount-ro,data=ordered
[   28.797403] init: (1) WARNING: /etc/resolv.conf updating disabled in /etc/wsl.conf
[   28.809432] init: (1) WARNING: /etc/resolv.conf updating disabled in /etc/wsl.conf

  • filesystem also corrupted some of my files:
 cat someProjectFile
2f��)��l�l�.;��K�{�7���/���~Gh��{�7���/���~Gh��{�7���/���~Gh��{�7���/���~Gh��{�7���/���~Gh��{�7���/���~Gh��{�7���/���~Gh��{�7���/���~Gh��{�7���/���~Gh��{�7���/���~Gh��{�7���/���~Gh��{�7���/���~Gh��{�7���/���~Gh��{�7���/���~Gh��{�7���/���~Gh��{�7���/�....

WSL logs:

Expected behavior

Do not corrupt the ext4 file system.This makes WS2 quite unreliable it would be fine to be fixed as soon as posible.

Actual behavior

Every two 2-3 days the ext4 file system gets currupted.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions