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.

[6.9.0-beta35] virtio-fs fails to start

  • Minor

Trying to create any VM with a simple virtio-fs mount fails

 

Basic XML:

<filesystem type='mount' accessmode='passthrough'>
    <driver type='virtiofs'/>
    <binary path='/usr/libexec/virtiofsd' />
    <source dir='/mnt/user/shared'/>
    <target dir='shared_mount'/>
</filesystem>

QEMU logs:

Quote

qemu-system-x86_64: -device vhost-user-fs-pci,chardev=chr-vu-fs0,tag=shared_mount,bus=pci.5,addr=0x0: Failed to write msg. Wrote -1 instead of 12.
qemu-system-x86_64: -device vhost-user-fs-pci,chardev=chr-vu-fs0,tag=shared_mount,bus=pci.5,addr=0x0: vhost_dev_init failed: Operation not permitted
shutting down, reason=failed

virtio-fsd logs:

Quote

[ID: 00029648] virtio_session_mount: Waiting for vhost-user socket connection...
[ID: 00029648] virtio_session_mount: Received vhost-user socket connection
[ID: 00000001] pivot_root(., .): Invalid argument

 

stefanha (QEMU person for this feature) said it was most likely because pivot_root doesn't work well under initramfs. QEMU 5.2 might mitigate this issue by adding a flags to use chroot instead (-o sandbox=chroot).

 

Defaulting this behavior would require creating a script like

exec /usr/libexec virtiofsd -o sandbox=chroot "$@"

 

stefanha also suggested unraid devs may want to contact virtio-fs developers in #virtio-fs on Freenode IRC or the [email protected] mailing list (e.g. to see if there is any changes that can be made to unraid to fix pivot_root).

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.