Bug 2026299
| Summary: | [virtiofs] Virtiofs support for case-insensitivity on windows guest | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 9 | Reporter: | xiagao |
| Component: | virtio-win | Assignee: | Virtualization Maintenance <virt-maint> |
| virtio-win sub component: | virtio-win-prewhql | QA Contact: | xiagao |
| Status: | CLOSED ERRATA | Docs Contact: | |
| Severity: | medium | ||
| Priority: | medium | CC: | vrozenfe, yvugenfi |
| Version: | 9.0 | Keywords: | Triaged |
| Target Milestone: | rc | Flags: | pm-rhel:
mirror+
|
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Windows | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-05-09 07:55:10 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
xiagao
2021-11-24 10:21:26 UTC
Upstream pull request: https://github.com/virtio-win/kvm-guest-drivers-windows/pull/832 There is how to turn on case insensitivity: https://github.com/virtio-win/kvm-guest-drivers-windows/wiki/VirtIO-FS:-Shared-file-system#options please check with build 228 https://brewweb.engineering.redhat.com/brew/buildinfo?buildID=2226327 Test on virtio-win-prewhql-0.1-228, shared volume still have case-sensitive issue. C:\Users\Administrator>"c:\Program Files (x86)\WinFsp\bin\launchctl-x64.exe" start virtiofs vfsa myfs a: OK C:\Users\Administrator>"c:\Program Files (x86)\WinFsp\bin\launchctl-x64.exe" start virtiofs vfsb myfs1 b: OK C:\Users\Administrator>echo aaa > file C:\Users\Administrator>type file aaa C:\Users\Administrator>type FILE aaa ---------------> Above is the local disk behavior. C:\Users\Administrator>echo aaa > a:\file C:\Users\Administrator>type a:\file aaa C:\Users\Administrator>type a:\FILE The system cannot find the file specified. ---------------> Virtiofs mounted volume still be case-sensitive. (In reply to xiagao from comment #6) > Test on virtio-win-prewhql-0.1-228, shared volume still have case-sensitive > issue. > > C:\Users\Administrator>"c:\Program Files (x86)\WinFsp\bin\launchctl-x64.exe" > start virtiofs vfsa myfs a: > OK > > C:\Users\Administrator>"c:\Program Files (x86)\WinFsp\bin\launchctl-x64.exe" > start virtiofs vfsb myfs1 b: > OK > > C:\Users\Administrator>echo aaa > file > > C:\Users\Administrator>type file > aaa > > C:\Users\Administrator>type FILE > aaa > ---------------> Above is the local disk behavior. > C:\Users\Administrator>echo aaa > a:\file > > C:\Users\Administrator>type a:\file > aaa > > C:\Users\Administrator>type a:\FILE > The system cannot find the file specified. > ---------------> Virtiofs mounted volume still be case-sensitive. Did you enable case insensitivity support according to https://github.com/virtio-win/kvm-guest-drivers-windows/wiki/VirtIO-FS:-Shared-file-system#options ? The support is off by default. This is by design. Same as with Samba. Thanks, Yan. Yes, case insensitive is enabled with parameter "-i" or add it to register with "reg add HKLM\Software\VirtIO-FS /v CaseInsensitive /d 1 /t REG_DWORD"
1. create a file in shared dir on host, such as
# echo test > Test.txt
2. Be able to get it with all lower_letter in mounted volume on win11 guest.
> type test.txt
test
So it can be verified.
Documentation should be added on how to turn on case insensitive: https://github.com/virtio-win/kvm-guest-drivers-windows/wiki/VirtIO-FS:-Shared-file-system#options Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (virtio-win bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2023:2451 |