maharmstone / btrfs

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

Need assistance with issues I have on Win 11 & WSL #649

Open HarikalarKutusu opened 2 months ago

HarikalarKutusu commented 2 months ago

I'm pretty new (2 days) to btrfs/winbtrfs, so please bear with me. I've been using Linux and WSL, but with ext4 only. I read a lot here and on Reddit on similar problems & solutions (tried some), but I could not solve these...

I work on voice datasets for AI (many of them). Some background:

I've been using Windows with NTFS, and with Win 11 NTFS driver started to struggle with so many clips in a single directory, I cannot even untar a larger dataset (>50GB), the speed drops to kilobytes after half of it was decompressed (HDD).

To solve these problems, after some research, I decided on using btrfs - it has the most impressive features:

Problems so far, thus my questions:

  1. WSL cannot reach UUID's of drives, so fstab & mount -a gives errors. How do I do that?
  2. If I mount them with wsl --mount -t btrfs, they disappear from Windows (offline) - which defeats the purpose. Is it possible?
  3. I tweaked the registry to set the compression on the NVMe drive, but I don't see any indication of compression. Should I install a full Linux version to check it (I don't want to dual boot/use a full VM because CPU cores & RAM are very important in this line of work)? My mistake, I was looking at drive properties, compression info is on folder properties. For others, I have to move back and forth.
  4. I tried to copy a 64GB text file to that NVMe drive from an NTFS SSD via Windows, and the speed drops to less than 10 MB/s. It perfectly copies to other NTFS drives at max rate. What can be the reason?
  5. I hit the "drive becomes read-only" issue when expanding many files to the btrfs HDD - when I ran the code on Windows. The issue got resolved after a restart, but might happen again, in the middle of hours long process. Will this happen on WSL? How can I make sure that does not happen?
  6. The mount for Linux has autodefrag option, which is nice for the HDD, but I could not find similar in winbtrfs (if I'M not mistaken). Is it not implemented? How can I achieve this, as my usual tools for defrag in Windows are no use here?

Either I have a big misconception, or I'm doing something wrong. Is using WSL really a solution in this case? Answers and directions are much appreciated.

Edit(s):