Incorrect Cache Usage


Recommended Posts

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?

Link to comment

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.

Link to comment

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?

 

Link to comment

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.

 

Link to comment

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
 

Link to comment

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.