Show the disk repairs instructions when an ext4 mount error is found (#11404)

Blue committed Apr 2, 2024 at 21:06 UTC c015f4565a55c5b47c112f15285adf3216182585
1 file changed +10 -1
triage/config.yml
+10 -1
@@ -139,6 +139,15 @@ rules:
139 capture:
140 field1: error
141
142 + - logline:
143 + provider: Microsoft.Windows.Lxss.Manager
144 + task: GuestLog
145 + field1: {regex: "EXT4-fs.*Can't find ext4 filesystem"}
146 + set:
147 + name: ext4-mount-error
148 + capture:
149 + field1: error
150 +
151 - logline:
152 provider: Microsoft.Windows.Lxss.Manager
153 set: wsl-service-logs
@@ -208,7 +217,7 @@ actions:
217
218
219 - when:
211 - condition: 'ext4-error'
220 + condition: {or: ['ext4-error', 'ext4-mount-error']}
221 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.'
222 debug_message: 'Found evidence of ext4 error: $error'
223 tag: 'needs-author-feedback'