maharmstone / btrfs

WinBtrfs - an open-source btrfs driver for Windows
GNU Lesser General Public License v3.0
5.52k stars 220 forks source link

Windows 11. Quiet driver crash. btrfs partition crashes. There is no access to the partition, Explorer takes forever to load. I/O error #632

Open drunkwolfs opened 4 months ago

drunkwolfs commented 4 months ago

My home computer often works for several days without turning off the power. After some time, access to the btrfs partition is lost. Access to the adjacent NTFS system partition is maintained.

I made the btrfs partition into storage for easy access from both Windows and Linux. qBittorrent constantly downloads files and uses the btrfs partition to store them.

My system:

Screens from normal state: screen1-normal screen2-normal screen3-normal

What logs does the driver have, where can I find them? How can I get more information about the cause of the btrfs driver crash? Can I run the driver in debug mode (logging)?

sumariva commented 4 months ago

I confirm this kind of situation. Looks like the driver silently stops working. A reboot solves the problem. It does not happen often. Looks like a hang on device, so applications keep waiting for a read/write. I been using btrfs 1.8.2, at Windows 10 x64, with zstd applied on the hole partition.

lesderid commented 4 months ago

This sounds like a duplicate of #346/#438/etc.

maharmstone commented 4 months ago

This sounds to me like a deadlock while flushing.

sumariva commented 3 months ago

I added an test case on #346. It happens as soon as the machine starts using the btrfs. But now, on 1.9.0 I did not notice a crash, for now, only severe degradation. But the 1.9.0 version is running for a few hours only.