Hello. I am running out of space on my OS volume on my QNAP TVS-h1688X. Most of this space is taken up by Plex, over 3TB, which I assume is mostly thumbnails etc, in the Plexdata folder. If I migrate this app to another volume, does this data go with it?
I have serious doubts that your thumbnails or databases are taking up 3TB of storage space… If so, there’s something terribly wrong with your system/setup.
I would thoroughly go through to see exactly what is taking up so much space…
For instance the databases MAY get as high as 1-2GB but even that I would almost consider to be bloated.
Thumbnails and the cache folder can definitely be culprits for storage consumption, but unless you have every movie and TV show ever released stored on your server, I’d still say it’s very unlikely to be that… Maybe in the 10’s of GB’s but again, that’s about it.
Yeah… I second @kazz3r24 here… something seems off even accounting for thumbnails.
If you’ve had Plex running for a long time and switched between locations occasionally you might have some cruft you could clear out.
You might give this tool a try: DBRepair
Good place to start for some cleanup of orphaned stuff.
After that it might come down to just posting some of your folder\sizes contents maybe. I lose track specifically but I know things like the “blobs” can get corrupted and grow but you can reset it without really losing anything. Some of the caches can be cleaned out too. There’s an article about PlexData folder getting large but it doesn’t really cover troubleshooting\cleaning it up when it might be ballooning because of a past error or failing task.
And in answer to:
I believe so yes. At least that’s my understanding as a fellow QNAP owner but I’ve never done it.
Thank you. I do have quite a large Plex library of around 400 TB. It has been running off of this machine for about a year, previously migrated from another QNAP instance. I am working on getting some folder sizes now, but as it’s running, Plex Media Server\Media is approaching 1 TB
Should cover it all…
I think number of titles tends to be a bigger factor than size of the files but that’s a pretty big library either way. ![]()
Like they say having large music library builds that folder up because of all the individually tracked metadata music tends to have with it. So it might help folks more familiar with size comparison for the Plex folder if you also provide those rough numbers too. Like I have about 1000 movie titles and about 4000 episodes\100 Shows and about 1000 albums. My PlexData folder is about 100GB (and I’ve had the same Plex DB moved between a few platforms for about 10 years so there’s probably some cruft in there).
When you use App Center’s Migrate To function,
-
QTS/QuTS moves the physical server instance (under .qpkg) to the new volume
-
As PMS (re)starts , I look for a
PlexDatashared folder as I always do. -
If the shared folder exists, I get the current location (.qpkg) and then create the appropriate linkages.
-
The end result is
PlexDatanow points to the new location.
Supplemental to the relocation question.
Please use FileStation
- Navigate: `PlexData / Plex Media Server / Plug-in Support / Databases
- Please screenshot the sizes of the DBs. (we’re suspecting you have bloated databases from 1.41.7 problems)
Thank you.
Do you have an idea about how many items PMS has indexed and matched ?
I’m asking only to make certain your DB should be that big. Otherwise, it looks good.
As was suggested above, the next suspect are all the temp files PMS “forgets” to cleanup when it’s done with it.
Are you comfortable using the SSH command line (with instructions) ?
My current libraries contain:
11893 movies
6188 shows
296382 episodes
2246 albums
28279 tracks
I am medium comfortable suing SSH command line. I can definitely do it, but do not completely understand what I am doing and am much more comfortable using MS DOS commands so the Linux syntax usually takes me a bit.
Would you please read the README.md file here and let me know your comfort level ? (I’ll give you the commands, it’s more about your comfort doing it)
What we’re going to focus on is the PRUNE command
That is a serious media collection! ![]()
I don’t think even the largest video store I ever worked (and I worked some big BBV stores) had remotely that many titles!
@orgetorix - I’m an infrequent user of SSH\Terminal commands but ChuckPa’s DBRepair tool and well laid out instructions are easy to manage but you might see an oddity in experience. ![]()
I just extract the files on my desktop and then upload them to an accessible share folder on the QNAP via FileStation GUI or SMB and then I SSH into that folder to CHMOD and run it.
Commands look like this (from my Mac terminal):
ssh username@qnapservername.local (or ssh username@qnapipaddress)
cd ..
cd ..
::this gets you up a few levels to see the share folders
ls ::this is “list” command “LS” to show you the folders
cd foldername ::gets you into the folder of your choice; you can autocomplete names using tab key, they need to match case usually
cd DBRepair ::or whatever folder you set for it
chmod +x DBRepair.sh
sudo ./DBRepair.sh ::enter password when prompted - if I don’t use sudo and don’t use ./ it yells at me, dunno if that’s macOS terminal or QNAP side
That’s it… now you’re in the menus for DBRepair. ![]()
I red through the readme.md and I think I can manage it. Thank you for your help!
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
