Jump to content

twiikker

Members
  • Posts

    54
  • Joined

  • Last visited

Report Comments posted by twiikker

  1. I have similiar problem now and editing "/etc/libvirt/qemu/VM.xml" has no effect on it.

     

    I'm on 6.10.2.

    So my problem is that i cannot save settings with basic template which saves password since it bricks my virtiofs settings from xml and xml setup does not save VNC password.

  2. On 4/11/2022 at 1:36 AM, omninewb said:

    EDIT: Holy stinky dog-poo! Okay kids, this all works using *exactly* the below xml (w/e/f your naming convention), just make sure when you create the *script, that you specify it with the shebang...

    Script: 

    #!/bin/sh
    exec /usr/libexec/virtiofsd -o sandbox=chroot "$@"

     

    XML:

      <memoryBacking>
        <source type='memfd'/>
        <access mode='shared'/>
      </memoryBacking>    
    ----
        <filesystem type='mount' accessmode='passthrough'>
          <driver type='virtiofs'/>
          <binary path='/usr/libexec/virtiofsd-script'/>
          <source dir='/mnt/user/domains'/>
          <target dir='unraidshare'/>
        </filesystem>

    After you get it running, mount with the usual mount commands, in my case:

    sudo mount -t virtiofs unraidshare /mnt/unraiddata/

     

    ---------See above!!! These are for notes of my progress...--------

      Reveal hidden contents

    This be an old thread, but relevant once again as we are now in Unraid 6.10-rc4. I have created a file creatively called `virtiofsd-script` and input it into my xml as follows:

      <memoryBacking>
        <source type='memfd'/>
        <access mode='shared'/>
      </memoryBacking>    
    ----
        <filesystem type='mount' accessmode='passthrough'>
          <driver type='virtiofs'/>
          <binary path='/usr/libexec/virtiofsd-script'/>
          <source dir='/mnt/user/domains'/>
          <target dir='unraidshare'/>
        </filesystem>

    But I am still having no joy. 

     

    To plagiarize myself from the Unraid Discord, I have the following:

    Any help or insight I could get would be awesome! Happy, of course, to play around with different things to try to get it working as requested/recommended as well. Its just for a blockchain node, so, nothing that can't be replaced, and I would really like that performance increase!

     

    Thousand thanks for you! Got my virtiofs working with this. Kinda lost hope already to get it working when tried before. 🥳

×
×
  • Create New...