Hello @Shunrui Cao ,
From this error code, looks like your file system got corrupted. There are many reasons why a filesystem can get corrupted. Some of the reasons are:
- The system was too busy and I/O intensive but not optimized for such environment
- The restart procedure could not or did not check (and repair) the file system with inconsistencies before mouting it though found corrupted
Depending on the extent of filesystem corruption (damage), the filesystem may or may not be repairable. BTRFS offers the ability to scrub and repair corrupt filesystems.
[!Warning] Using '--repair' can further damage a filesystem instead of helping if it can't fix your particular issue. It is extremely important that you ensure a backup has been created before invoking '--repair'. Please create an snapshot before running the repair command.
Create a rescue VM and try to mount the root fileystem in /rescue
mount -o subvol=root /dev/sdc2 /rescue/
For this first try scrubbing with btrfs scrub. This will check for data integrity using checksums and will try to recover the damaged data.
Scrubbing is considered safe and is usually the first thing to try.
btrfs scrub start /rescue
btrfs scrub status /rescue
If the above steps do not fix the issue, then please reach back to me and let me know.
--------
If you find the above information helpful, please select on "Accept as Answer" to increase the relevancy of this post.