TexasUnraid Posted November 27, 2022 Share Posted November 27, 2022 Cool, it was surprisingly hard to find this info on google. Quote Link to comment
Rodrigo Alves Posted November 28, 2022 Share Posted November 28, 2022 I was able to configure the drive in windows 10, but when I copy a file I get an error saying "the file's properties cannot be copied". Can someone help me please? Quote Link to comment
TexasUnraid Posted November 29, 2022 Share Posted November 29, 2022 6 hours ago, Rodrigo Alves said: I was able to configure the drive in windows 10, but when I copy a file I get an error saying "the file's properties cannot be copied". Can someone help me please? Try running the "docker safe new perms" tool under the tools menu in unraid. Good place to start when you run into any permissions issues. Quote Link to comment
SimonF Posted November 29, 2022 Author Share Posted November 29, 2022 On 11/27/2022 at 2:00 PM, johnsanc said: Have there been any updates on the freeze issue several people are having whenever memoryBacking is enabled? Can you confirm your memorybacking options? I was running with just memfd and shared, but can you try including nosharepages also if you are not already? <memoryBacking> <nosharepages/> <source type='memfd'/> <access mode='shared'/> </memoryBacking> Quote Link to comment
Rodrigo Alves Posted November 29, 2022 Share Posted November 29, 2022 17 hours ago, TexasUnraid said: Try running the "docker safe new perms" tool under the tools menu in unraid. Good place to start when you run into any permissions issues. unfortunately it didn't work.. i'm struggling to get my Gdrive folder on that share, but gdrive doesn't accept mapped drives, figured this would be a great solution for me.. Quote Link to comment
TexasUnraid Posted November 30, 2022 Share Posted November 30, 2022 So I got the vitrioFS working on windows, I am trying to get it working on ubuntu now (of the 9p version, never could get that to work either) but can't figure out what I need to install to get it working? Quote Link to comment
m33ts4k0z Posted December 4, 2022 Share Posted December 4, 2022 (edited) It looks like this is still very unstable. Steam is unable to download games to the drive. I get disk write and read errors without being able to even start the download. I have checked permissions, run new permissions tool, run steam with admin privileges and so on. Steam logs dont say anything more either. Mounting the same share as a network drive works perfectly fine. Running windows 11 Pro 22H2. Any further suggestions are welcome. Edited December 4, 2022 by m33ts4k0z Quote Link to comment
SimonF Posted December 4, 2022 Author Share Posted December 4, 2022 On 11/24/2022 at 6:48 PM, KptnKMan said: I'm testing Virtiofs on my main Win11 VM, and having quite some success, but with a few caveats. Firstly, while installing the latest virtio drivers, my VM IMMEDIATELY CRASHES. I found through lots of trial and crashes that if I leave "Fwcfg" DISABLED, the install finishes. Disabling it allows install of updated drivers, sets up services, and does not crash the VM. What is this Fwcfg, can anyone shed some light on that? Secondly, I'm trying to setup 2 virtiofs disks, but only 1 appears as the Z: drive If I setup 2 drives, only the second appears as Z: when the VM boots. In this example, I setup "vdata1" and "vdata2": Thirdly, the virtiofs is always set as Z: I cannot find or see any way to reassign the drive letter, or indeed use multiple drive letters. Is there a way to change the assigned drive? I have not tested but I have put a link to multi instance doc here 1 Quote Link to comment
mackid1993 Posted December 8, 2022 Share Posted December 8, 2022 Has anyone found a solution to the VM's freezing? Mine locks up after about 12 hours of use. Quote Link to comment
KptnKMan Posted December 14, 2022 Share Posted December 14, 2022 On 12/8/2022 at 8:57 PM, mackid1993 said: Has anyone found a solution to the VM's freezing? Mine locks up after about 12 hours of use. What platform are you using? I'm also getting the lockup/freezing issue, my details in my signature. Quote Link to comment
BUSTER Posted December 20, 2022 Share Posted December 20, 2022 (edited) Created fresh new Install Windows 11 Pro Following the steps one to one with SpaceInvaders Video Share Succesfully added via Virtiofs, before installed winsfp from https://winfsp.dev but verry slow transfer rates cYa BUSTER Edited December 20, 2022 by BUSTER Quote Link to comment
mackid1993 Posted December 22, 2022 Share Posted December 22, 2022 On 12/14/2022 at 1:22 PM, KptnKMan said: What platform are you using? I'm also getting the lockup/freezing issue, my details in my signature. I was getting it on Win 11 Pro. I finally gave up and removed the VirtIOFS stuff from my XML since it was unusable. 1 Quote Link to comment
SimonF Posted January 9 Author Share Posted January 9 (edited) Virtio drivers 229-1 has been released, but I have not loaded the. yet. Tags seem to be working from the commandline. Edited January 9 by SimonF Quote Link to comment
anonlio Posted January 10 Share Posted January 10 Hi there, simply wanted to report that I am also experiencing the Freeze after ~12 hours on a Ubuntu 22.08 VM. Here is my hardware setup: Quote Link to comment
mackid1993 Posted January 13 Share Posted January 13 So far my Win 11 VM has been up 7 hours and 30 minutes without crashing yet with the newest 229-1 drivers. Hopefully we finally have stability now. Quote Link to comment
SimonF Posted January 13 Author Share Posted January 13 4 hours ago, mackid1993 said: So far my Win 11 VM has been up 7 hours and 30 minutes without crashing yet with the newest 229-1 drivers. Hopefully we finally have stability now. Are you running windows? if so what version of winfsp are you running? Quote Link to comment
mackid1993 Posted January 13 Share Posted January 13 14 hours ago, SimonF said: Are you running windows? if so what version of winfsp are you running? I'm running Windows 11. WinFsp is 2022.2 which was the latest version I could find. With the 229-1 drivers I managed over a day of uptime with no crashing so far. Before it would have completely locked up after about 10-12 hours. Quote Link to comment
SomeoneOnLine Posted January 16 Share Posted January 16 NICE! I just updated one of my win11 vms. gonna see if its more stable then previous releases. now if I could only figure out how to change the drive letter that gets assigned to the mount point! Quote Link to comment
SomeoneOnLine Posted January 16 Share Posted January 16 Discovered Something I thought I would share, If you find that some EXEs will not run directly from a mounted share in Windows, in particular, EXEs that require Admin Rights to run. Make sure that the Windows Service "WebClient" is Running. If not set it to Automatic and Start it. This was the case for me on a Windows 11 VM. Milage May Vary! Google-Fu, To The Rescue! Error 0x800704b3 when launching application from HFS+ volume Quote Link to comment
KptnKMan Posted February 9 Share Posted February 9 Is anyone using the latest drivers still experiencing the locking issue? I'm considering it again, and wondering if there's any success. Quote Link to comment
SomeoneOnLine Posted February 11 Share Posted February 11 I actually just re/built from scratch about 2 hours ago a new win11 guest vm on my unraid host because my last one was locking up and or seizing up all cpu's attached to the guest. I tweaked the heck out of the guest os, so I wasnt sure if it was my tweaking things too much or one or many of the mounted shares via VirtioFS. il share back in a few days or so if mine locks up or not. But if others are having same behavior then I'm not gonna hold my breath! ~SOL Quote Link to comment
johnsanc Posted February 11 Share Posted February 11 It’s related to memoryBacking. I can reproduce with just that setting and nothing else related to virtiofs Quote Link to comment
SomeoneOnLine Posted February 14 Share Posted February 14 Just checking back in! The VM I rebuilt from scratch has been up without issues (idle most of the time) since friday and all is stable with unraid host and the vm. I have 5 different VirtioFS mounts in Windows 11 Pro 22H2 guest vm. I also have memoryBacking enabled as per requirements to get mounts to work in windows. I didnt tweak anything really at all in guest os. im sure that helps as I can get carried away at times in misc windows tweaks. ~SOL Quote Link to comment
mackid1993 Posted March 20 Share Posted March 20 (edited) VirtioFS and Memory backing seems much more stable in 6.12-rc2. I have almost a day of uptime and I'm backing up to backblaze in my Windows VM with no issue. I found this (https://github.com/virtio-win/kvm-guest-drivers-windows/wiki/VirtIO-FS:-Shared-file-system#multiple-virtio-fs-instances) article to help mount multiple shares with VirtioFS with different drive letters. I have task scheduler run a batch script with elevated permissions at boot. You can set each individual share as a Mount Point in the VM manager like this: First step to do this you first have to stop and disable the VirtioFS Service: sc stop VirtioFsSvc sc config VirtioFsSvc start=demand Then run the command while putting in the location of your VirtioFS.exe "C:\Program Files (x86)\WinFsp\bin\fsreg.bat" virtiofs "<path to the binary>\virtiofs.exe" "-t %1 -m %2" This command makes the necessary changes to the registry. Then you can mount your different mount points as set in the VM manager with this command: "C:\Program Files (x86)\WinFsp\bin\launchctl-x64.exe" start virtiofs viofsY mount_tag0 Y: My completed batch file that I run as admin with task scheduler looks like this: "C:\Program Files (x86)\WinFsp\bin\launchctl-x64.exe" start virtiofs viofsJ Archives J: "C:\Program Files (x86)\WinFsp\bin\launchctl-x64.exe" start virtiofs viofsl Downloads l: "C:\Program Files (x86)\WinFsp\bin\launchctl-x64.exe" start virtiofs viofsM Music m: "C:\Program Files (x86)\WinFsp\bin\launchctl-x64.exe" start virtiofs viofsS Software s: "C:\Program Files (x86)\WinFsp\bin\launchctl-x64.exe" start virtiofs viofsT TV T: "C:\Program Files (x86)\WinFsp\bin\launchctl-x64.exe" start virtiofs viofsU Movies U: "C:\Program Files (x86)\WinFsp\bin\launchctl-x64.exe" start virtiofs viofsV Backup V: "C:\Program Files (x86)\WinFsp\bin\launchctl-x64.exe" start virtiofs viofsY CommunityApplicationsAppdataBackup Y: To unmount drives you run this command: "C:\Program Files (x86)\WinFsp\bin\launchctl-x64.exe" stop virtiofs viofsY My unmount script looks like this: "C:\Program Files (x86)\WinFsp\bin\launchctl-x64.exe" stop virtiofs viofsJ "C:\Program Files (x86)\WinFsp\bin\launchctl-x64.exe" stop virtiofs viofsl "C:\Program Files (x86)\WinFsp\bin\launchctl-x64.exe" stop virtiofs viofsM "C:\Program Files (x86)\WinFsp\bin\launchctl-x64.exe" stop virtiofs viofsS "C:\Program Files (x86)\WinFsp\bin\launchctl-x64.exe" stop virtiofs viofsT "C:\Program Files (x86)\WinFsp\bin\launchctl-x64.exe" stop virtiofs viofsU "C:\Program Files (x86)\WinFsp\bin\launchctl-x64.exe" stop virtiofs viofsV "C:\Program Files (x86)\WinFsp\bin\launchctl-x64.exe" stop virtiofs viofsY So far this works great with backblaze personal backup under Windows. I have 22 hours of uptime backing up with no lockups yet. I found it helpful to limit the number of threads backblaze uses to 8 which is the recommended and to also give my VM 16 GB of RAM. Edited March 20 by mackid1993 clarity 2 Quote Link to comment
mackid1993 Posted March 20 Share Posted March 20 Just another update, it seems like 16GB of RAM is a must for Backblaze at least with the amount of data I have. I now decided try balooning the RAM so I set the min to 4096 MB and the max to 16384 MB. Now to wait 24 hours again and see if it locks up on me. So far Task Manger is confused but things are stable and there is much more memory for unRAID itself. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.