Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

virtiofsd silently crashes

Featured Replies

I am running an arch VM:

VM XML

<?xml version='1.0' encoding='UTF-8'?>

<domain type='kvm' id='13'>

<name>Arch</name>

<uuid>bfb98cca-e7ae-51cd-e591-e84dd7e765a5</uuid>

<metadata>

<vmtemplate xmlns="unraid" name="Arch" icon="arch.png" os="arch" webui="" storage="default"/>

</metadata>

<memory unit='KiB'>16777216</memory>

<currentMemory unit='KiB'>16777216</currentMemory>

<memoryBacking>

<source type='memfd'/>

<access mode='shared'/>

</memoryBacking>

<vcpu placement='static'>6</vcpu>

<cputune>

<vcpupin vcpu='0' cpuset='2'/>

<vcpupin vcpu='1' cpuset='3'/>

<vcpupin vcpu='2' cpuset='4'/>

<vcpupin vcpu='3' cpuset='5'/>

<vcpupin vcpu='4' cpuset='6'/>

<vcpupin vcpu='5' cpuset='7'/>

</cputune>

<resource>

<partition>/machine</partition>

</resource>

<os>

<type arch='x86_64' machine='pc-i440fx-9.1'>hvm</type>

<loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd</loader>

<nvram>/etc/libvirt/qemu/nvram/bfb98cca-e7ae-51cd-e591-e84dd7e765a5_VARS-pure-efi.fd</nvram>

</os>

<features>

<acpi/>

<apic/>

</features>

<cpu mode='host-passthrough' check='none' migratable='on'>

<topology sockets='1' dies='1' clusters='1' cores='6' threads='1'/>

<cache mode='passthrough'/>

</cpu>

<clock offset='utc'>

<timer name='hpet' present='no'/>

<timer name='hypervclock' present='no'/>

<timer name='pit' tickpolicy='delay'/>

<timer name='rtc' tickpolicy='catchup'/>

</clock>

<on_poweroff>destroy</on_poweroff>

<on_reboot>restart</on_reboot>

<on_crash>restart</on_crash>

<devices>

<emulator>/usr/local/sbin/qemu</emulator>

<disk type='file' device='disk'>

<driver name='qemu' type='raw' cache='writeback' discard='unmap'/>

<source file='/mnt/vmdisks/domains/Arch/vdisk1.img' index='2'/>

<backingStore/>

<target dev='hdc' bus='virtio'/>

<serial>vdisk1</serial>

<boot order='1'/>

<alias name='virtio-disk2'/>

<address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>

</disk>

<disk type='file' device='cdrom'>

<driver name='qemu' type='raw'/>

<source file='/mnt/user/isos/archlinux-2025.11.01-x86_64.iso' index='1'/>

<backingStore/>

<target dev='hda' bus='ide'/>

<readonly/>

<boot order='2'/>

<alias name='ide0-0-0'/>

<address type='drive' controller='0' bus='0' target='0' unit='0'/>

</disk>

<controller type='pci' index='0' model='pci-root'>

<alias name='pci.0'/>

</controller>

<controller type='ide' index='0'>

<alias name='ide'/>

<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>

</controller>

<controller type='virtio-serial' index='0'>

<alias name='virtio-serial0'/>

<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>

</controller>

<controller type='usb' index='0' model='ich9-ehci1'>

<alias name='usb'/>

<address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x7'/>

</controller>

<controller type='usb' index='0' model='ich9-uhci1'>

<alias name='usb'/>

<master startport='0'/>

<address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0' multifunction='on'/>

</controller>

<controller type='usb' index='0' model='ich9-uhci2'>

<alias name='usb'/>

<master startport='2'/>

<address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x1'/>

</controller>

<controller type='usb' index='0' model='ich9-uhci3'>

<alias name='usb'/>

<master startport='4'/>

<address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x2'/>

</controller>

<filesystem type='mount' accessmode='passthrough'>

<driver type='virtiofs'/>

<source socket='/tmp/movies.sock'/>

<target dir='movies'/>

<alias name='fs0'/>

<address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/>

</filesystem>

<filesystem type='mount' accessmode='passthrough'>

<driver type='virtiofs'/>

<source socket='/tmp/tv.sock'/>

<target dir='tv'/>

<alias name='fs1'/>

<address type='pci' domain='0x0000' bus='0x00' slot='0x09' function='0x0'/>

</filesystem>

<interface type='bridge'>

<mac address='52:54:00:b7:12:9b'/>

<source bridge='br0'/>

<target dev='vnet11'/>

<model type='virtio-net'/>

<alias name='net0'/>

<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>

</interface>

<serial type='pty'>

<source path='/dev/pts/1'/>

<target type='isa-serial' port='0'>

<model name='isa-serial'/>

</target>

<alias name='serial0'/>

</serial>

<console type='pty' tty='/dev/pts/1'>

<source path='/dev/pts/1'/>

<target type='serial' port='0'/>

<alias name='serial0'/>

</console>

<channel type='unix'>

<source mode='bind' path='/run/libvirt/qemu/channel/13-Arch/org.qemu.guest_agent.0'/>

<target type='virtio' name='org.qemu.guest_agent.0' state='disconnected'/>

<alias name='channel0'/>

<address type='virtio-serial' controller='0' bus='0' port='1'/>

</channel>

<input type='mouse' bus='ps2'>

<alias name='input0'/>

</input>

<input type='keyboard' bus='ps2'>

<alias name='input1'/>

</input>

<audio id='1' type='none'/>

<hostdev mode='subsystem' type='pci' managed='yes'>

<driver name='vfio'/>

<source>

<address domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>

</source>

<alias name='hostdev0'/>

<address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>

</hostdev>

<hostdev mode='subsystem' type='pci' managed='yes'>

<driver name='vfio'/>

<source>

<address domain='0x0000' bus='0x02' slot='0x00' function='0x1'/>

</source>

<alias name='hostdev1'/>

<address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>

</hostdev>

<hostdev mode='subsystem' type='usb' managed='no'>

<source>

<vendor id='0x046d'/>

<product id='0xc52b'/>

<address bus='1' device='6'/>

</source>

<alias name='hostdev2'/>

<address type='usb' bus='0' port='1'/>

</hostdev>

<memballoon model='none'/>

</devices>

<seclabel type='dynamic' model='dac' relabel='yes'>

<label>+0:+100</label>

<imagelabel>+0:+100</imagelabel>

</seclabel>

</domain>

I started /usr/bin/virtiofsd --socket-path=/tmp/tv.sock --shared-dir=/mnt/user/media/tv --sandbox=none --inode-file-handles=never --log-level=debug 2>&1 | tee /tmp/virtiofsd-tv.log &

Everything seems to work fine, until it crashes for apparently no reason (Last log Entries)

/tmp/virtiofsd-tv.log

[2026-05-14T14:20:49Z DEBUG virtiofsd] QUEUE_EVENT

[2026-05-14T14:20:49Z DEBUG virtiofsd::server] Received request: opcode=Read (15), inode=4194, unique=42988, pid=952

[2026-05-14T14:20:49Z DEBUG virtiofsd::server] Replying OK, header: OutHeader { len: 131088, error: 0, unique: 42988 }

[2026-05-14T14:20:49Z DEBUG virtiofsd::server] Received request: opcode=Read (15), inode=4194, unique=42990, pid=952

[2026-05-14T14:20:49Z DEBUG virtiofsd::server] Replying OK, header: OutHeader { len: 131088, error: 0, unique: 42990 }

[2026-05-14T14:20:49Z DEBUG virtiofsd::server] Received request: opcode=Read (15), inode=4194, unique=42992, pid=952

[2026-05-14T14:20:49Z DEBUG virtiofsd::server] Replying OK, header: OutHeader { len: 131088, error: 0, unique: 42992 }

[2026-05-14T14:20:49Z DEBUG virtiofsd::server] Received request: opcode=Read (15), inode=4194, unique=42994, pid=952

[2026-05-14T14:20:49Z DEBUG virtiofsd::server] Replying OK, header: OutHeader { len: 131088, error: 0, unique: 42994 }

[2026-05-14T14:20:49Z DEBUG virtiofsd::server] Received request: opcode=Read (15), inode=4194, unique=42996, pid=952

[2026-05-14T14:20:49Z DEBUG virtiofsd::server] Replying OK, header: OutHeader { len: 131088, error: 0, unique: 42996 }

[2026-05-14T14:20:49Z DEBUG virtiofsd::server] Received request: opcode=Read (15), inode=4194, unique=42998, pid=952

[2026-05-14T14:20:49Z DEBUG virtiofsd::server] Replying OK, header: OutHeader { len: 131088, error: 0, unique: 42998 }

The sockets are just gone without any notification/error:

root@Tower:~# ps aux | grep virtiofsd
root     2116596  0.0  0.0   4192  2304 pts/0    S+   16:30   0:00 grep virtiofsd

these are the sockets right after starting them:

sockets

root@Tower:~# ps aux | grep virtiofsd

root 1825395 0.0 0.0 16918964 7168 pts/0 Sl 15:01 0:00 /usr/bin/virtiofsd --syslog --inode-file-handles=mandatory --announce-submounts --socket-path=/tmp/movies.sock --shared-dir=/mnt/user/media/movies --sandbox=none

root 1825396 0.0 0.0 16918964 12416 pts/0 Sl 15:01 0:00 /usr/bin/virtiofsd --syslog --inode-file-handles=mandatory --announce-submounts --socket-path=/tmp/tv.sock --shared-dir=/mnt/user/media/tv --sandbox=none

root 1844761 0.0 0.0 4192 2304 pts/0 S+ 15:07 0:00 grep virtiofsd

root@Tower:~# tail -f /var/log/syslog | grep -E "virtiofsd|error|kill"

May 14 15:06:28 Tower virtiofsd [1825395]: Client connected, servicing requests

May 14 15:06:28 Tower virtiofsd [1825396]: Client connected, servicing requests

root@Tower:~# dmesg | grep -i "killed process" root@Tower:~#

Anybody got an idea what i can do to fix that?

  • Author

/usr/bin/virtiofsd --syslog --inode-file-handles=prefer --announce-submounts --socket-path=/tmp/tv.sock --shared-dir=/mnt/user/media/tv --sandbox=none &
seems to work fine, not 100% sure yet but it worked much longer

Never mind did not work

Edited by Kerubis

  • 1 month later...
  • Author

Does anyone have an idea?

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.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.