From c015f4565a55c5b47c112f15285adf3216182585 Mon Sep 17 00:00:00 2001 From: Blue Date: Tue, 2 Apr 2024 21:06:57 +0000 Subject: [PATCH] Show the disk repairs instructions when an ext4 mount error is found (#11404) --- triage/config.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/triage/config.yml b/triage/config.yml index b592dc4e..f1126c13 100644 --- a/triage/config.yml +++ b/triage/config.yml @@ -139,6 +139,15 @@ rules: capture: field1: error + - logline: + provider: Microsoft.Windows.Lxss.Manager + task: GuestLog + field1: {regex: "EXT4-fs.*Can't find ext4 filesystem"} + set: + name: ext4-mount-error + capture: + field1: error + - logline: provider: Microsoft.Windows.Lxss.Manager set: wsl-service-logs @@ -208,7 +217,7 @@ actions: - when: - condition: 'ext4-error' + condition: {or: ['ext4-error', 'ext4-mount-error']} user_message: 'The logs shows that a disk mount error occured. Try to [follow these repair instructions](https://learn.microsoft.com/en-us/windows/wsl/disk-space#how-to-repair-a-vhd-mounting-error) and see if that solves the issue.' debug_message: 'Found evidence of ext4 error: $error' tag: 'needs-author-feedback'