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.

Incorrect Cache Usage

Featured Replies

I recently started noticing issues with my Plex docker and after re-install could not get the Web UI option to show up. The logs indicated below:

 

IOError: [Errno 28] No space left on device
Logged from file peerservice.py, line 189
Traceback (most recent call last):
  File "/usr/lib/plexmediaserver/Resources/Python/lib/python2.7/logging/__init__.py", line 885, in emit
    self.flush()
  File "/usr/lib/plexmediaserver/Resources/Python/lib/python2.7/logging/__init__.py", line 845, in flush
    self.stream.flush()
IOError: [Errno 28] No space left on device

 

Based on some suggestions from the forum, I looked at cache and below is what I found, 

df -h /mnt/cache
Filesystem      Size  Used Avail Use% Mounted on
/dev/sdb1       578G  223G  128K 100% /mnt/cache
 

du -h -d 1 /mnt/cache
290M    /mnt/cache/appdata
0       /mnt/cache/domains
0       /mnt/cache/system
0       /mnt/cache/.Trash-99
220G    /mnt/cache/Downloads
0       /mnt/cache/temp
220G    /mnt/cache

 

My cache is pool of two disks

240 GB SSD

1 TB NVME

 

UnRaid GUI shows this as 

Device    Identification                        Temp.    Reads    Writes    Errors    FS    Size    Used    Free
Cache    Crucial_CT240M500SSD1_1337094CDAB4 - 240 GB (sdb)    36 C    57,960    27,417    0    btrfs    620 GB    229 GB 391 GB
Cache 2    WDC_WDS100T2B0B-00YS70_183991422378 - 1 TB (sdj)    34 C    10,985    31,799    0    Device is part of cache pool    

 

How can I reset the usage to be accurate?

  • Community Expert

Go to Tools - Diagnostics and attach the complete diagnostics zip file to your NEXT post.

  • Community Expert

@johnnie.black

This brings up a question on the diagnostics. Do the diagnostics show what raid configuration cache pool has?

 

@ani3114

Assuming default raid1 configuration, your cache pool is a mirror with only 240GB capacity.

  • Community Expert
26 minutes ago, trurl said:

Do the diagnostics show what raid configuration cache pool has?

Yes, on btrfs-usage.txt

  • Author

tower-diagnostics-20200106-1131.zip

 

I ran the mover, rebooted the computer. Still the same issue with plex. Seems to have fixed the cache, but plex server still does not show WebUI option.

 

Filesystem     1K-blocks     Used Available Use% Mounted on
/dev/sdb1      605596792 89575876 143097756  39% /mnt/cache

 

Diagnostics attached.

 

  • Community Expert

The first thing you need to do is decide on your cache pool configuration. Do you want it to be a mirror raid1 like it currently is? If so then you are wasting most of that NVME, since you can only mirror the smallest of the drives.

 

Or do you want to use the full capacity of both but without any redundancy?

 

No point in worrying about anything else until you get your cache pool configuration stabilized.

  • Author

I agree, I don't need redundancy on my cache. I would like to get it configured to full capacity of both.

  • Community Expert

Would be simpler and might make even more sense to just remove the smaller of the 2 since it arguably doesn't add much capacity to cache that is already 1TB.

  • Author

Thanks, I am trying to remove the 2nd disk from the pool. Will update once done.

  • Author

I was able to remove the smaller drive from the cache pool and it seems to be showing correct information now both on gui and df -k /mnt/cache

 

Filesystem     1K-blocks     Used Available Use% Mounted on
/dev/sdj1      976762552 89439472 885463872  10% /mnt/cache

 

Removed the plex container and installed it again, but still cant seem to get the WebUI working. Should I be posting the plex issue on a different thread?

 

  • Community Expert

You should upgrade your Unraid. The version you have is 1.5 years old. If for no other reason than it doesn't give as much diagnostic information for us to work with.

 

Go to Settings - Docker, disable, delete, and recreate your docker image. Then the Previous Apps feature on the Apps page will install your dockers just as they were.

 

  • Author

Upgrading to 6.8. Do I still need to delete the docker image and recreate it?

 

 

  • Community Expert
3 minutes ago, ani3114 said:

Do I still need to delete the docker image and recreate it?

Worth a try and really nothing to lose since Previous Apps will get it all back.

  • Author

Completed upgrade to 6.8

 

Now under the unassigned devices section, I am getting below errors

Warning: Use of undefined constant ID_MODEL - assumed 'ID_MODEL' (this will throw an Error in a future version of PHP) in /usr/local/emhttp/plugins/unassigned.devices/include/lib.php on line 1385

Warning: Use of undefined constant serial_short - assumed 'serial_short' (this will throw an Error in a future version of PHP) in /usr/local/emhttp/plugins/unassigned.devices/include/lib.php on line 1385

Warning: Use of undefined constant ID_MODEL - assumed 'ID_MODEL' (this will throw an Error in a future version of PHP) in /usr/local/emhttp/plugins/unassigned.devices/include/lib.php on line 1399

Warning: Use of undefined constant serial_short - assumed 'serial_short' (this will throw an Error in a future version of PHP) in /usr/local/emhttp/plugins/unassigned.devices/include/lib.php on line 1399

Warning: Use of undefined constant byte11h - assumed 'byte11h' (this will throw an Error in a future version of PHP) in /usr/local/emhttp/plugins/unassigned.devices/include/lib.php on line 239

Warning: Use of undefined constant byte10h - assumed 'byte10h' (this will throw an Error in a future version of PHP) in /usr/local/emhttp/plugins/unassigned.devices/include/lib.php on line 239
 

  • Community Expert

Upgrade all plugins.

  • Community Expert
13 minutes ago, johnnie.black said:

Upgrade all plugins.

I thought about that but didn't bother to spell it out.

 

@ani3114

You can also remove that statistics.sender.plg since it has no purpose without the preclear plugin.

  • Author

Was able to upgrade all the plugins. After creating new docker image, WebUI issue was fixed but still had to rebuild all the Plex libraries. 

Everything seems to be working fine now.

Thanks.

  • Community Expert
14 minutes ago, ani3114 said:

still had to rebuild all the Plex libraries. 

Did you use the Previous Apps feature I mentioned? Are you sure you used the same plex appdata as before?

  • Author

Yes, I did it from previous app. I was able to see all my libraries after install but was getting playback error.

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.