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.

Cache won´t work / won´t be used during file transfer

Featured Replies

Good day community,

 

during the last week I did set up my first Unraid server. So far I encountered no problems that I couldn´t solve myself except one. 

 

I put in three 120GB Kingston SSDs as cache. I enabled cache in the settings, the system is showing those SSDs as cache, but it just won´t use them. Every time I copy files from my workstations onto the server they get written directly onto the array. 

I tried changing the needed free space for cache but without any effect.

 

Below is my systemlog. Maybe I overlooked some simple setting.

 

Thanks a lot

 


Jun 18 14:15:21 avunraid emhttp: shcmd (359): /etc/rc.d/rc.libvirt start |& logger
Jun 18 14:15:21 avunraid root: Starting virtlockd...
Jun 18 14:15:21 avunraid root: Starting virtlogd...
Jun 18 14:15:21 avunraid root: sed: can't read /etc/libvirt/qemu/*.xml: No such file or directory
Jun 18 14:15:21 avunraid root: sed: can't read /etc/libvirt/qemu/*.xml: No such file or directory
Jun 18 14:15:21 avunraid root: Starting libvirtd...
Jun 18 14:15:21 avunraid kernel: tun: Universal TUN/TAP device driver, 1.6
Jun 18 14:15:21 avunraid kernel: tun: (C) 1999-2004 Max Krasnyansky <[email protected]>
Jun 18 14:15:21 avunraid emhttp: nothing to sync
Jun 18 14:15:21 avunraid kernel: Ebtables v2.0 registered
Jun 18 14:15:21 avunraid kernel: virbr0: port 1(virbr0-nic) entered blocking state
Jun 18 14:15:21 avunraid kernel: virbr0: port 1(virbr0-nic) entered disabled state
Jun 18 14:15:21 avunraid kernel: device virbr0-nic entered promiscuous mode
Jun 18 14:15:22 avunraid avahi-daemon[3787]: Joining mDNS multicast group on interface virbr0.IPv4 with address 192.168.122.1.
Jun 18 14:15:22 avunraid kernel: virbr0: port 1(virbr0-nic) entered blocking state
Jun 18 14:15:22 avunraid kernel: virbr0: port 1(virbr0-nic) entered listening state
Jun 18 14:15:22 avunraid avahi-daemon[3787]: New relevant interface virbr0.IPv4 for mDNS.
Jun 18 14:15:22 avunraid avahi-daemon[3787]: Registering new address record for 192.168.122.1 on virbr0.IPv4.
Jun 18 14:15:22 avunraid dnsmasq[7434]: started, version 2.76 cachesize 150
Jun 18 14:15:22 avunraid dnsmasq[7434]: compile time options: IPv6 GNU-getopt no-DBus i18n IDN DHCP DHCPv6 no-Lua TFTP no-conntrack ipset auth no-DNSSEC loop-detect inotify
Jun 18 14:15:22 avunraid dnsmasq-dhcp[7434]: DHCP, IP range 192.168.122.2 -- 192.168.122.254, lease time 1h
Jun 18 14:15:22 avunraid dnsmasq-dhcp[7434]: DHCP, sockets bound exclusively to interface virbr0
Jun 18 14:15:22 avunraid dnsmasq[7434]: reading /etc/resolv.conf
Jun 18 14:15:22 avunraid dnsmasq[7434]: using nameserver 192.168.2.1#53
Jun 18 14:15:22 avunraid dnsmasq[7434]: read /etc/hosts - 2 addresses
Jun 18 14:15:22 avunraid dnsmasq[7434]: read /var/lib/libvirt/dnsmasq/default.addnhosts - 0 addresses
Jun 18 14:15:22 avunraid dnsmasq-dhcp[7434]: read /var/lib/libvirt/dnsmasq/default.hostsfile
Jun 18 14:15:22 avunraid kernel: virbr0: port 1(virbr0-nic) entered disabled state
Jun 18 14:27:54 avunraid emhttp: shcmd (469): /usr/local/sbin/mover |& logger &
Jun 18 14:27:54 avunraid root: mover started
Jun 18 14:27:54 avunraid root: moving "system" to cache
Jun 18 14:27:54 avunraid move: skipping file in-use: ./system/docker/docker.img
Jun 18 14:27:54 avunraid root: .d..t...... ./
Jun 18 14:27:54 avunraid move: rmdir: /mnt/disk1/./system/docker Directory not empty
Jun 18 14:27:54 avunraid move: skipping file in-use: ./system/libvirt/libvirt.img
Jun 18 14:27:54 avunraid move: rmdir: /mnt/disk1/./system/libvirt Directory not empty
Jun 18 14:27:54 avunraid move: rmdir: /mnt/disk1/./system Directory not empty
Jun 18 14:27:54 avunraid root: mover finished

  • Community Expert

Each user share has its own setting for whether and how it uses cache. The default for any user shares you have created is for them to not use cache, so if you haven't set a user share to use cache, it won't.

 

  • Author

Thanks a lot. Did not know that. Cache works fine now.

  • Community Expert

Also, since you added cache after you had already setup the system share, the system share is on disk1, but its files are in use and so can't be moved to cache. Go to Settings and stop VM and Docker services and then go to Main - Array Operation and do Move now. After it finishes, you can start VM and Docker again.

  • Community Expert
Just now, Gonozal said:

Thanks a lot. Did not know that. Cache works fine now.

Make sure you understand the user share cache settings. Do not make the mistake of setting them to prefer unless that is really what you intend. Turn on Help to better understand the settings. Also, see here

 

  • Author

Thanks for the help. Followed the instructions and it works fine now. 

Archived

This topic is now archived and is closed to further replies.

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.