btrfs icon indicating copy to clipboard operation
btrfs copied to clipboard

Driver hangs when attempting to fill volume

Open lesderid opened this issue 1 year ago • 5 comments

I installed the driver (1.8.2) in a clean WinPE VM (1809, 10.0.17763.1) and created a new 8GiB btrfs volume with mkbtrfs (Compress set to 0 in registry). Just trying to write a 10GiB file (with random data) to it seems to cause the driver to hang irrecoverably once the volume has been filled.

(I'm hoping this is somehow related to #346/#438/etc.)

lesderid avatar May 26 '23 14:05 lesderid

I think it keeps retrying the write request and just never fails? On NTFS it would just keep writing until the disk is full and then bail out somehow. Not sure why it's not happening here, as drv_write does seem to return STATUS_DISK_FULL.

lesderid avatar May 26 '23 19:05 lesderid

From my experience (only an USB mechanical drive):

  • volume seems to be full a lot earlier than expected (I can have more than 3 GB free under windows and a small file can reach the readonly point). In that case, I have no other choice than poweroff the external drive and power it on to have RW back (no scrub error). I so know I have reached the maximum capacity
  • instead of switching to readonly, Windows (10 & 11) goes totally unresponsive, even if I poweroff the external drive. In that case, I need to restart the computer (no scrub error)
  • instead of switching to readonly, Windows (10 & 11) goes to a blue screen, computer is restarted (no scrub error)

The first case was OK, but I cannot suffer the blue screen or windows freeze, and so, unfortunately, even if it is promising, I had to uninstall the driver

HomeBoy38 avatar Aug 02 '23 10:08 HomeBoy38

  • instead of switching to readonly, Windows (10 & 11) goes to a blue screen, computer is restarted (no scrub error)

The minidump for this would be helpful, if you could provide it.

maharmstone avatar Aug 02 '23 11:08 maharmstone

072823-12531-01.zip Please find attached my latest minidump, hope this is the correct one

HomeBoy38 avatar Aug 02 '23 12:08 HomeBoy38

Thanks. This appears to be the same issue as in https://github.com/maharmstone/btrfs/issues/580.

maharmstone avatar Aug 03 '23 21:08 maharmstone