Skip to content

Commit

Permalink
Show the disk repairs instructions when an ext4 mount error is found (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
OneBlue authored Apr 2, 2024
1 parent 496c2d1 commit c015f45
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion triage/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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'
Expand Down

0 comments on commit c015f45

Please sign in to comment.