IX-Application DataSet getting huge

Hello,

I am fairly new to truenas i setup the system for plex as it seemed like the easiest solution but in a span of a few days almost 300gb disappeared from my usable storage i looked yesterday and i still have 4.2TB left and this morning i was down to 3.9 i didn’t upload anything on it either. So i was poking around and then i saw my IX applications folder was over 1TB in size. Is there something i can do to clean it up. The only thing thats on here is plex so i don’t see why it would need to be 1tb in size. If you have any insight or things i can do to alleviate some of the room i would be eternally grateful i don’t have the funds to upgrade my storage solution for a while.

For Info my Array is a ZFS1 with 3 10TB drives for a total of 18TB usable

Here’s a screenshot of the dataset:

Did you configure external mounts for storage or do all your apps use the ix-application dataset for data storage?

The only app i have is plex and i have it configured so it stores on its on app folder. It is for sure doing stuff in the background because my hard drive activity has been on consistently for a few weeks. I was thinking of maybe uninstalling plex and deleting the ix app folder and recreating it. But im scares of loosing my plex configs

Plex metadata can be several 10s or 100s of GB. You should be storing this externally in its own dataset.

It is, it’s in its own folder and its only 21 Gigs that’s what i don’t understand.

I decided to bite the bullet and kill the ix-applications dataset. I will rebuild the plex server and see if it continues to be messed up.

You sure you are not snapshotting ix-applications?

I deleted every snapshot i had and it was only about 12gigs

If you were snapshotting ix-application, you should have had thousands of them. The size reported is not the size used. But if you deleted them all, moot point.

I don’t recall ever setting up a snapshot unless it does it automatically on version upgrades. Unsetting the pool and deleting the ix-application folder got me my 1tb back, i also locked it to a max of 50GB it is currently 1.35GB so i’ll monitor it across the next few weeks and see if it grows.

Thanks everyone for all the suggestions. I’m thinking something might have been looping or something maybe it was snapshotting the snapshots? i dunno.

Snapshoting ix-applications, esp without any deletion policy, is very very expensive disk wise, esp if you use it for storage instead of hostpaths on other datasets. Esp if you were using Truecharts too.

For me, with 24 apps, I am using 15G total for ix-applications and it’s nested datasets, just an FYI.

the ix-app dataset is now only 1.35GB once i deleted it and reinstalled plex.
Everything else is hosted on it’s own thing and is 20gb.

I don’t ever recall creating snapshots. the only ones i was able to browse through seem to be during software upgrades. So maybe there was a write loop or something with either the new dragonfish client or plex

Even though you may have never configured any snapshots, or only configured a few to be taken then expire out, the system makes auto-snapshots of the ix-applications directories on every update to apps and any other updates to the system. This is done completely automatically as far as I can tell and The snapshots are not deleted automatically as they have a “Retention: Will not be destroyed automatically” setting that cannot be adjusted to expire best as I can tell. You need to go each month or so and manually delete them. This is what I think is a short coming of Scale.
They are also somewhat hidden. You have to go to Data Protection >> Periodic Snapshot Tasks > Click the external link box (box with the arrow in it) on the section title, Then on the next “Snapshots” screen click the Snapshots button as the Snapshots screen will not show all of the snapshots on the system. Once the Snapshots button is clicked then a (usually) long list of all of the snapshots on the system will show up.

Based on the forums, some people discover they have thousands of auto-snapshots, that they never knew were there until they looked in the right place.

I think it is overall a good idea, except they need to expire in a reasonable time period after an update,

ugh i just logged into my server and there’s 500gb that appeared in the ix-applications folder. Everything in the plex setup points to its own host and not the IX app folder i have no idea what causing this. I know that everytime i close the plex service the drives stop working as much. so is there maybe something on the plex app causing issues?

So updating to electric eel and reinstalling plex seems to have fixed it for good this time. Not sure what was happening but something was definitely writing on the hard drive for no reason. Thanks again for all the support

1 Like