this post was submitted on 07 Oct 2023
9 points (100.0% liked)

unRAID

1119 readers
5 users here now

A community for unRAID users to discuss their projects.

founded 1 year ago
MODERATORS
 

Appdata, isos, system and domains are the only things on the Cache drive, mover has been run and there is nothing on the cache drive that shouldn't be. I only have 1 docker installed currently (plex) and no VMs or ISOs downloaded or(no VMs). I have tried to delete old files that docker apps left behind, but some of the folders won't delete. ( I also have a share thsts empty but there are folders I can't delete (no files in them that I can see) and therfor can't remove the share)

I'm at a point where I want to restart my server from scratch, but don't want to loose the data on the drives in the array, can this be done? And if so, how?

top 13 comments
sorted by: hot top controversial new old
[–] [email protected] 3 points 1 year ago (3 children)

How big is your Plex library?

[–] [email protected] 3 points 1 year ago* (last edited 1 year ago)

This is the most likely culprit. My cache has about 200 GB and Plex is just over 75 GB.

Another thing to check is your vDisk size in your docker settings.

[–] [email protected] 1 points 1 year ago (1 children)
[–] [email protected] 1 points 1 year ago (1 children)

Do you have thumbnail generation turned on (like fribbtastic mentioned)? That could be a reason why.

In the web interface, click the “>_” icon in the top right to open the terminal. Then type du -sh /mnt/user/appdata and post the results here

[–] [email protected] 1 points 1 year ago (1 children)
[–] [email protected] 1 points 1 year ago* (last edited 1 year ago) (1 children)

I made a mistake in that code line. It should be this instead

du -sh /mnt/user/appdata/*

Sorry about that!

EDIT: but, this size is nearly the same size as your cache drive. If you only have Plex installed, it’s my assumption that you do have thumbnail generation turned on. Doing so can take a lot of storage space if you have a large media library

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago) (1 children)

yea, its plex

  • 188G /mnt/user/appdata/Plex-Media-Server
  • 0 /mnt/user/appdata/PlexData
  • 4.0K /mnt/user/appdata/binhex-minecraftserver
  • 0 /mnt/user/appdata/data
  • 12K /mnt/user/appdata/ddclient
  • 783M /mnt/user/appdata/firefox
  • 0 /mnt/user/appdata/go-auto-yt
  • 660K /mnt/user/appdata/krusader
  • 0 /mnt/user/appdata/passthroughvpn
  • 107M /mnt/user/appdata/pihole
  • 28K /mnt/user/appdata/speedtest-tracker
  • 0 /mnt/user/appdata/transcode
  • 18M /mnt/user/appdata/xteve
  • 11M /mnt/user/appdata/xteve_vpn

How can I delete the rest, that isnt plex? they are old Dockers which I have removed.-

[–] [email protected] 2 points 1 year ago

open the console and delete them through that (look up the rm command), you could also use a docker container called Krusader to do that in a more "clicky" way.

[–] [email protected] 1 points 1 year ago (1 children)

To add, Plex specifically can be that large when you have thumbnail generation enabled.

[–] [email protected] 1 points 1 year ago

Interesting, in didn't think Plex would be the culprit.

[–] [email protected] 2 points 1 year ago (1 children)

Has this actually caused any problems? You have plenty of space on the cache drive so I'm not sure why it's such a concern.

[–] [email protected] 2 points 1 year ago

It turns out, its not a problem, its Plex, the problem I currently have, is that I have a share I want to remove, but I can't, as its not empty. But when I access the share and try to delete seemingly empty folders, I can't, and I therefore can't remove the share.

[–] [email protected] 1 points 1 year ago

One other suggestion is to start in maintenance mode and check the filesystem for errors. I had one strange one some time ago where it wasn’t showing errors but was showing space used. When I scanned the drive I got my free space back.

If there is a share there that won’t delete, it’s not empty. You can use the file manager to view everything inside and erase all of it, or alternately do it from a shell prompt (carefully).