-
Notifications
You must be signed in to change notification settings - Fork 386
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
virtio-fs cannot support "cargo bulid" #517
Comments
Thanks for trying virtio-fs for Windows. Are you sure the cargo failure is a result of unresolved symbolic links? Because at the moment symbolic links are not supported. The performance comparison and optimization (if required ;-)) are planned after virtio-fs will be more stable and usable. |
@hammerg Actually my paths contains no symlinks; somehow, if mounted to a junction point, that point looks like a symlink. Example of error message when mounted at a drive letter (error is similar if on a junction point):
and the error code is defined as: ERROR_UNRECOGNIZED_VOLUME 1005 (0x3ED) The volume does not contain a recognized file system. Please make sure that all required file system drivers are loaded and that the volume is not corrupted. |
@XeCycle |
Cargo is a Rust software. Rust's This is how Small sample with This is how it reacts to VirtIO-FS path:
For example, output for NTFS path:
WinFSP MemFS shows exactly the same behaviour as VirtIO-FS does. Looks like it is WinFSP limitation. By the way,
|
Hi @XeCycle, According to winfsp/winfsp#410, to make For now, it can be done through registry: After that,
|
Hello All, Please help us understanding you use cases for using virtio-fs, and thus make us virtio-fs support better. Thanks a lot, |
Thanks @viktor-prutyanov and @YanVugenfirer, I switched to smb last year and have not found time to verify this. Now that you have verified the fix I think we can just close this! |
Running
cargo build
in a typical rust project on virtio-fs mount (something as simple ascargo new helloworld
can reproduce it), will fail saying cannot canonicalize paths; mounting to a new drive letter or a junction point makes no difference. I triedcargo build --target-dir=C:\somewhere-else
, same error. Seems rust tools insist on using paths with symlinks resolved, but the current implementation based on winfsp does not support that; cmake-based c++ projects work fine, in contrast, however only if build tree is not on virtio-fs. The opposite would fail, too, with some cryptic message I don't understand; no idea whether that's intended.Versions:
Btw. a simple test of
fio fio-rand-RW.fio
(basically the one from fio examples) says virtio-fs is slower than samba, in this random 4k read-write-mixed test. Do we intend to outperform samba?The text was updated successfully, but these errors were encountered: