unRAID 6.9.0-beta22 Update: Fixes and Improvements

After much anticipation, unRAID has finally released a new beta!

I don’t see the official announcement in the unRAID forums yet, so if you’re interested, here are the release notes:

Unraid 6.9.0-beta22 2020-06-16 Release Notes Version 6.9.0-beta22 2020-06-16

Caution! This is beta sofware, consider using on test servers only.

Base distro:

  • aaa_base: version 14.2
  • aaa_elflibs: version 15.0 build 23
  • acl: version 2.2.53
  • acpid: version 2.0.32
  • apcupsd: version 3.14.14
  • at: version 3.2.1
  • attr: version 2.4.48
  • avahi: version 0.8
  • bash: version 5.0.017
  • beep: version 1.3
  • bin: version 11.1
  • bluez-firmware: version 1.2
  • bridge-utils: version 1.6
  • brotli: version 1.0.7
  • btrfs-progs: version 5.6.1
  • bzip2: version 1.0.8
  • ca-certificates: version 20191130 build 1
  • celt051: version 0.5.1.3
  • cifs-utils: version 6.10
  • coreutils: version 8.32
  • cpio: version 2.13
  • cpufrequtils: version 008
  • cryptsetup: version 2.3.3
  • curl: version 7.70.0
  • cyrus-sasl: version 2.1.27
  • db48: version 4.8.30
  • dbus: version 1.12.18
  • dcron: version 4.5
  • devs: version 2.3.1 build 25
  • dhcpcd: version 8.1.9
  • diffutils: version 3.7
  • dmidecode: version 3.2
  • dnsmasq: version 2.81
  • docker: version 19.03.11
  • dosfstools: version 4.1
  • e2fsprogs: version 1.45.6
  • ebtables: version 2.0.11
  • eject: version 2.1.5
  • elvis: version 2.2_0
  • etc: version 15.0
  • ethtool: version 5.7
  • eudev: version 3.2.5
  • file: version 5.38
  • findutils: version 4.7.0
  • flex: version 2.6.4
  • floppy: version 5.5
  • fontconfig: version 2.13.92
  • freetype: version 2.10.2
  • fuse3: version 3.9.1
  • gawk: version 4.2.1
  • gd: version 2.2.5
  • gdbm: version 1.18.1
  • genpower: version 1.0.5
  • getty-ps: version 2.1.0b
  • git: version 2.27.0
  • glib2: version 2.64.3
  • glibc-solibs: version 2.30
  • glibc-zoneinfo: version 2020a build 1
  • glibc: version 2.30
  • gmp: version 6.2.0
  • gnutls: version 3.6.14
  • gptfdisk: version 1.0.5
  • grep: version 3.4
  • gtk+3: version 3.24.20
  • gzip: version 1.10
  • harfbuzz: version 2.6.7
  • haveged: version 1.9.8
  • hdparm: version 9.58
  • hostname: version 3.23
  • htop: version 2.2.0
  • icu4c: version 67.1
  • inetd: version 1.79s
  • infozip: version 6.0
  • inotify-tools: version 3.20.2.2
  • intel-microcode: version 20200609
  • iproute2: version 5.7.0
  • iptables: version 1.8.5
  • iputils: version 20190709
  • irqbalance: version 1.6.0
  • jansson: version 2.13.1
  • jemalloc: version 4.5.0
  • jq: version 1.6
  • keyutils: version 1.6.1
  • kmod: version 27
  • lbzip2: version 2.5
  • lcms2: version 2.10
  • less: version 551
  • libaio: version 0.3.112
  • libarchive: version 3.4.3
  • libcap-ng: version 0.7.10
  • libcgroup: version 0.41
  • libdaemon: version 0.14
  • libdrm: version 2.4.102
  • libedit: version 20191231_3.1
  • libestr: version 0.1.11
  • libevent: version 2.1.11
  • libfastjson: version 0.99.8
  • libffi: version 3.3
  • libgcrypt: version 1.8.5
  • libgpg-error: version 1.38
  • libgudev: version 233
  • libidn: version 1.35
  • libjpeg-turbo: version 2.0.4
  • liblogging: version 1.0.6
  • libmnl: version 1.0.4
  • libnetfilter_conntrack: version 1.0.8
  • libnfnetlink: version 1.0.1
  • libnftnl: version 1.1.7
  • libnl3: version 3.5.0
  • libpcap: version 1.9.1
  • libpciaccess: version 0.16
  • libpng: version 1.6.37
  • libpsl: version 0.21.0
  • librsvg: version 2.48.7
  • libseccomp: version 2.4.3
  • libssh2: version 1.9.0
  • libssh: version 0.9.4
  • libtasn1: version 4.16.0
  • libtirpc: version 1.2.6
  • libunistring: version 0.9.10
  • libusb-compat: version 0.1.5
  • libusb: version 1.0.23
  • libuv: version 1.34.0
  • libvirt-php: version 0.5.5
  • libvirt: version 6.4.0
  • libwebp: version 1.1.0
  • libwebsockets: version 3.2.2
  • libx86: version 1.1
  • libxml2: version 2.9.10
  • libxslt: version 1.1.34
  • libzip: version 1.7.0
  • lm_sensors: version 3.6.0
  • logrotate: version 3.16.0
  • lshw: version B.02.17
  • lsof: version 4.93.2
  • lsscsi: version 0.31
  • lvm2: version 2.03.09
  • lz4: version 1.9.1
  • lzip: version 1.21
  • lzo: version 2.10
  • mc: version 4.8.24
  • miniupnpc: version 2.1
  • mpfr: version 4.0.2
  • nano: version 4.9.3
  • ncompress: version 4.2.4.6
  • ncurses: version 6.2
  • net-tools: version 20181103_0eebece
  • nettle: version 3.6
  • network-scripts: version 15.0 build 9
  • nfs-utils: version 2.1.1
  • nghttp2: version 1.41.0
  • nginx: version 1.16.1
  • nodejs: version 13.12.0
  • nss-mdns: version 0.14.1
  • ntfs-3g: version 2017.3.23
  • ntp: version 4.2.8p14
  • numactl: version 2.0.11
  • oniguruma: version 6.9.1
  • openldap-client: version 2.4.49
  • openssh: version 8.3p1
  • openssl-solibs: version 1.1.1g
  • openssl: version 1.1.1g
  • p11-kit: version 0.23.20
  • patch: version 2.7.6
  • pciutils: version 3.7.0
  • pcre2: version 10.35
  • pcre: version 8.44
  • php: version 7.4.7 (CVE-2019-11048)
  • pixman: version 0.40.0
  • pkgtools: version 15.0 build 33
  • pm-utils: version 1.4.1
  • procps-ng: version 3.3.16
  • pv: version 1.6.6
  • qemu: version 5.0.0
  • qrencode: version 4.0.2
  • reiserfsprogs: version 3.6.27
  • rpcbind: version 1.2.5
  • rsync: version 3.1.3
  • rsyslog: version 8.2002.0
  • samba: version 4.12.3 (CVE-2020-10700, CVE-2020-10704)
  • sdparm: version 1.11
  • sed: version 4.8
  • sg3_utils: version 1.45
  • shadow: version 4.8.1
  • shared-mime-info: version 2.0
  • smartmontools: version 7.1
  • spice: version 0.14.1
  • sqlite: version 3.32.2
  • ssmtp: version 2.64
  • sudo: version 1.9.0
  • sysfsutils: version 2.1.0
  • sysvinit-scripts: version 2.1 build 31
  • sysvinit: version 2.96
  • talloc: version 2.3.1
  • tar: version 1.32
  • tcp_wrappers: version 7.6
  • tdb: version 1.4.3
  • telnet: version 0.17
  • tevent: version 0.10.2
  • traceroute: version 2.1.0
  • tree: version 1.8.0
  • ttyd: version 20200606
  • usbredir: version 0.7.1
  • usbutils: version 012
  • utempter: version 1.2.0
  • util-linux: version 2.35.2
  • vbetool: version 1.2.2
  • vsftpd: version 3.0.3
  • wget: version 1.20.3
  • which: version 2.21
  • wireguard-tools: version 1.0.20200513
  • wsdd: version 20180618
  • xfsprogs: version 5.6.0
  • xkeyboard-config: version 2.30
  • xorg-server: version 1.20.8
  • xterm: version 356
  • xz: version 5.2.5
  • yajl: version 2.1.0
  • zlib: version 1.2.11
  • zstd: version 1.4.5

Linux kernel:

  • version 5.7.2
  • CONFIG_WIREGUARD: WireGuard secure network tunnel
  • CONFIG_IP_SET: IP set support
  • CONFIG_SENSORS_DRIVETEMP: Hard disk drives with temperature sensors
  • enabled additional hwmon native drivers
  • enabled additional hyperv drivers
  • firmware added:
    • BCM20702A1-0b05-180a.hcd
  • out-of-tree driver status:
    • igb: using in-tree version
    • ixgbe: using in-tree version
    • r8125: using in-tree version
    • r750: (removed)
    • rr3740a: (removed)
    • tn40xx: (removed)

Management:

  • AFP support removed
  • Multiple pool support added
  • Multi-language support added
  • avoid sending spinup/spindown to non-rotational devices
  • get rid of ‘system’ plugin support (never used)
  • integrate PAM
  • integrate ljm42 vfio-pci script changes
  • webgui: turn off username autocomplete in login form
  • webgui: Added new display setting: show normalized or raw device identifiers
  • webgui: Add ‘Portuguese (pt)’ key map option for libvirt
  • webgui: Added “safe mode” one-shot safemode reboot option
  • webgui: Tabbed case select window
  • webgui: Updated case icons
  • webgui: Show message when too many files for browsing
  • webgui: Main page: hide Move button when user shares are not enabled
  • webgui: VMs: change default network model to virtio-net
  • webgui: Allow duplicate containers different icons
  • webgui: Allow markdown within container descriptions
  • webgui: Fix Banner Warnings Not Dismissing without reload of page
  • webgui: Network: allow metric value of zero to set no default gateway
  • webgui: Network: fix privacy extensions not set
  • webgui: Network settings: show first DNSv6 server
  • webgui: SysDevs overhaul with vfio-pci.cfg binding
  • webgui: Icon buttons re-arrangement
  • webgui: Add update dialog to docker context menu
  • webgui: Update Feedback.php
  • webgui: Use update image dialog for update entry in docker context menu
  • webgui: Task Plugins: Providing Ability to define Display_Name

It’s still early, but from my preliminary testing, it appears that unRAID has fixed the amplified cache writes issue.

Before Update (Version 6.9.0-beta1):

After Update (Version 6.9.0-beta22):

This data is with my Unraid server idling. Note the significant drop from a constant stream of cache writes at ~8MB/s to 524 kB/s after upgrade.

Assuming this pattern holds and the problem is indeed fixed with this latest Unraid upgrade, this is exciting news indeed and will have a major improvement on our cache drive life.

-TorqueWrench

Update

Official Unraid 6.9.0-beta22 Prerelease Forum Thread

Five days later and the improvement in cache writes is still holding:

I’m willing to call this issue fixed, at least for me.

Updating as today (7/7/20) I had a severe crash, where all of my unRAID shares unmounted, knocking my Docker containers offline.

I have reported the issue here to unRAID. I will repeat the description of the issue here:

While accessing a previously running container (Grafana), I was getting errors in the browser. Stopping and starting the container resulted in the error “Execution error - server error”. I realized that all of my Docker containers weren’t working.

Attempting to restart Docker itself, I noticed this:

ApplicationFrameHost_MhHvKN2CYT.thumb.jpg.02d080ce11e7b35ef9f7f5aeb2333a2a.jpg

And, sure enough, navigating to “Shares” in the GUI, I don’t have any mounted shares:

ApplicationFrameHost_W2ywPWbqGO.thumb.jpg.7afc823dd5c470bc71cf92dcf74af6ed.jpg

The only thing that looks interesting in the syslog is this, which occurred at the time I see my server going offline in Grafana:

shfs: shfs: ../lib/fuse.c:1451: unlink_node: Assertion `node->nlookup > 1' failed.

Research:

This looks similar to a problem reported last year with the same error message and symptoms:

It looks like a few users have reported SMB problems with this release:

The thing is, I don’t think this is necessarily an “SMB” issue. In the even of an SMB panic, I would expect that the exported SMB shares would simply be unavailable, I wouldn’t expect the local mounts to disappear on the unRAID server itself. I think the problem may just manifest itself to most users as an issue with SMB when the underlying mounts disappear because most users’ only interaction with their unRAID server is with their SMB shares.