Open 13xforever opened 2 years ago
no volume guid is provided to the system
That's not right - see the function vol_query_unique_id
. If the driver didn't respond to the mountdev ioctls, mountmgr.sys wouldn't assign volumes a drive letter. I'm fairly sure you can use the \\?\Volume{GUID}\
notation in paths etc.
The underlying problem is that we have to create a pseudo-volume for RAID to work, which Windows neither likes nor expects. It's an open question as to exactly how much we can do, given that Windows is closed-source... I remember coming to the conclusion that we stuck with some of the diskpart problems, for instance.
You might want to look into VeraCrypt, see if you have any luck there. Though I think they had a bug in their driver which meant it wouldn't work with btrfs RAID, so it might not do what you want.
considering windows has built-in software raid on top of dynamic disks (not to mention storage spaces), I'm pretty sure it could be worked around at least for expected case of dedicated partition per btrfs volume, but I understand this is not a priority and documentation is sparse
Since version 1.8.0 there's a BitLocker support of some kind introduced to winbtrfs, however there are no documentation on what's supported or how to use it.
Here's my findings so far:
get-volume
in powershell doesn't list btrfs volumes, and probably other issues you can check with runningmountvol
and observing that even physically removing disk with btrfs volume doesn't change the outputmkbtrfs
, just like formatting with any standard windows tools, removes bitlockerntfs2btrfs
(there's also some detection issue, which requires reboot in this case)btrfs dev add -f
without destroying the bitlocker volume (but be warned that at least for me, winbtrfs will hang if you try to access the volume)It would be nice to have proper support at some point:
\\?\Volume{GUID}\