posted in Selfhosted

I don't know how much more optimizing and compressing I can do before deleting old media becomes essential.

With the price of storage these days, I can’t afford to upgrade my array.

I don't know how much more optimizing and compressing I can do before deleting old media becomes essential. — Open image attachment ⁨1⁩ of ⁨1⁩
I don't know how much more optimizing and compressing I can do before deleting old media becomes essential.
enPage

Replying to @⁨Emperor@reddthat.com⁩

The problem is that most users storing mostly audio and video media probably already have the data encoded in a content-type-specific encoding that already compresses it and takes advantage of characteristics of the content type (e.g. audio tends to have similar waves playing at a given frequency for some time). General-purpose compression normally won’t buy you anything on top of that.

If you have FLAC-encoded audio, you probably won’t shrink it by LZMA-compressing it with pixz. Same issue applies to filesystem-level compression.

Replying to an earlier post

Mostly optimizing my media, reencoding everything with better compression, that’s bought me about 1.5tb.

I’ve also optimized my backup process, I used to image all my VMs daily, and save those on my NAS, now I just take snapshots of the application configuration directories, that process has saved about 200gb.

I also made the incredibly hard decision to stop perma-seeding, all my torrents(with some exceptions) now auto delete at a ratio of 7.5, that saved me over 4tb, but was a tough call.

My media library has nearly doubled in size over the last 6 months though, and eventually I’ll lose the battle.

Replying to an earlier post

You might consider going full cold backup, at least for unchanging media, after all RAID is not a backup, it’s high availability, you can still accidentally delete stuff, get it virally locked etc. Decide what actually needs high availability and mirror to the system drive or some such. That way you can recover one of the RAID drives by going to JBOD (just a box of disks).

Replying to an earlier post

All critical media(personal photos/videos, documents, configurations, databases, password manager, etc) is backed up following a 3-2-1 system, the media library, which is the largest part of the storage system, is without a backup though. I could use my solitary spare 8tb IronWolf as a backup disk for most of it, but I don’t consider it essential, as losing the media would be annoying, but not devistating.

Replying to an earlier post

Fair enough, good to see someone else actually backing up properly. Personally I use offline HDDs for my second media (as well as replication to old laptops), how about you?

You should still keep a list of files for the unessential stuff. I’ve recently moved this to Katalog which is pretty nice for knowing where cold backup files are, which means I can delete with confidence when the time comes.

Replying to an earlier post

I have a second system on the far side of my house with 2 6tb drives writing in mirror, and with daily snapshots. All users have computers on their network that route them through my VPN, the few I trust have MiniPCS with similar mirrored drive setups. Every morning at about 2AM they all rsync the important data. It’s not a perfect setup, but I’m pretty confident in it.

All those drives I bought when they didn’t cost more than my car, and I have considered canablizing one of them for other projects.

Replying to @⁨Flatearth_Habeebi@lemmy.zip⁩

How much space you got for drives? What’re you looking for? I usually sit on enterprise drives because they’re made so well! I just got rid of some 3TB SAS drives that are from 2011, refurbished as of 2014. They’ve been my Plex storage for eternity up until 2-3 years ago.

If I store stuff, it’s with desiccant in my basement that’s partially finished so it’s not damp. I had several 8TB drives at work from work, but we got hit by storms this last spring and they got wet 😭😭😭 it crushed my soul a little.

Keep in touch, I often unload stuff for free or near free. (See my post history, though I had away more from my Reddit days before my ban) I am friends with a local MSP, and often get hardware from them too.

Replying to @⁨unitedwithme@lemmy.today⁩

I have 10x6tb SAS drives. A friend of mine is just like you, used to work for a big corporation and they still give him retired servers and drives. So he gave me this one hpe and I’m now sitting on 32TB free storage after all the movies and shows I’ve added so far. He also gave me two spare ones in case of failure and I have set my RAID to 6 and I have two drives in case of a failure. I’ll definitely keep you close, as I always worry about the prices in case more than one drive dies.

My drives are 8 years old according to the dates on them. If I ever need ones, they’ll be 6TB to match what I have. I also have my server in my finished basement where I have my other toys, like PCs and PlayStations. It’s my and my son’s playground. We are there basically all day long doing shit.

Not sure if Lemmy has a follow for a person, but I’ll check. I gotta keep you close 😂

Replying to @⁨ShutUpWesley@piefed.zip⁩

I’m sitting at 97% from a total of ~21TB (~700GB free). I could dial down my NAS about the warning, but Windows still shows them red. Kinda sucks that they go about percentage and not with free space, especially with large drives, this matters a lot. I want to reduce my classic games collection, to games that actually interests me, but I haven’t figures out a smart way to go through the collection. The good part is, I do have an upgrade option, but it’s quite expensive.

Replying to @⁨melroy@kbin.melroy.org⁩

You have to have:

  • A considerable amount of data for it to come out ahead, because tape drives are not cheap in 2026, and you have to have enough tapes in use for the cheaper tapes to make up for the more-expensive drive.

  • A use case for which not having the data accessible without manual involvement is okay (unless you are also buying a robotic tape library). For backups, this may not be a big deal, but for some applications, it is.

I think that for most home users, the amount of data that they’re working with likely isn’t enough to push them into tape-drive-is-cheaper space.

tapebackup.org/lto-tape-price-trend

Going off that, an LTO-9 drive is maybe $8k, and an 18TB LTO-9 tape maybe $100.

pcpartpicker.com/trends/…/internal-hard-drive/

A 16TB hard drive is maybe $900 at the moment.

~ $ rlwrap maxima -q
;;; Loading #P"/data/data/com.termux/files/usr/lib/ecl-26.5.5/sb-bsd-sockets.fas"
;;; Loading #P"/data/data/com.termux/files/usr/lib/ecl-26.5.5/sockets.fas"
(%i1) solve ([(900/16)*s=(100/18)*s+8000], [s]);
                                               11520
(%o1)                             [s = ─────]
                                                73
(%i2) float(11520/73);
(%o2)                          157.8082191780822
(%i3)

Your breakeven size at that price point is going to be about 158 TB, or about $8,900 in storage.

en.wikipedia.orgTape library - Wikipedia

Replying to @⁨2ndDegreeOWO@lemmy.world⁩

M-DISC is rated for 100 years by the US government if stored correctly.

At one point, optical media was a significant win on price, but skimming prices, I think that sizes haven’t really kept up.

A 25 pack of 100 GB BD-R M-DISC Verbatim discs looks like it’s $229 on Amazon.

That’s $229 for 2.5 TB of storage ($92/TB). At that price point, the hard drive ($56/TB) is still ahead, even at presently-elevated prices. It’s not getting close to tape media prices ($5/TB for LTO-9, by the above numbers).

Some non-M-DISC 100GB discs look like they’re cheaper, but it’s still about $50/TB. By those numbers, you could just edge out hard drives on media cost on them, but you still gotta deal with the limitations of the media.

I’d probably give optical media a win where you need a lot of longevity out of the media, but unless they get a lot cheaper or hard drives get more expensive, I don’t think that they’ll generally be a lot cheaper in price per unit of storage.

Replying to @⁨2ndDegreeOWO@lemmy.world⁩

www.amazon.com/…/B0009YJXMI

Here’s a 100 pack of DVD-Rs that are 4.7 GB each. It’s $24.

That’s 0.47 TB for $24, or $51/TB. It’s cheaper on a per-disc basis, but on a per-unit-of-storage cost, it’s slightly more expensive than than the non-M-DISC BD-Rs.

The cheapest no-name DVD-R 100 pack I see on Amazon that doesn’t have additional shipping charges that blow out the price is this. That’s $23 for 100 4.7 GB discs, so $49/TB, which is about the same.

Replying to @⁨NotMyOldRedditName@lemmy.world⁩

I’d guess that they probably don’t sell many units.

If you sell a thousand, say, optical drives for each one tape drive, you have to pay for a thousand times as much of your fixed costs per tape drive unit, stuff like R&D. Optical drives are (or have been, at least) a mass market consumer item that were on just about every computer and on home entertainment devices and on video game consoles. Lot of those out there. On the other hand, there are few entities with onsite backup systems using dedicated media, which is the principal use case for tape. Not many users to spread your fixed costs over.

EDIT: I’d guess that most smaller entities who need cold storage are using some sort of cold storage cloud service, like Amazon Glacier, and there they’re probably basically paying for shared time on a tape drive, so they don’t care much about the drive cost being high. The people for whom it’s an issue are going to be those who want a dedicated on-site tape drive underlying a backup system and have limited scale of data. Self-hosters likely, unfortunately, fit that bill pretty well.

en.wikipedia.orgAmazon S3 Glacier - Wikipedia

Replying to @⁨2ndDegreeOWO@lemmy.world⁩

I have a list of non-negotiables I never delete - stuff I would be genuinely upset if I couldn’t get it again, even if it’s common “right now”. Then there’s the rare stuff that isn’t easy to get even if I barely ever watch it. The rest is in the “transient” category and just gets re-downloaded if I ever want it. I don’t keep things I never watch and don’t like even if they’re rare though.

Replying to @⁨ShutUpWesley@piefed.zip⁩

There’s this home organization technique where you put a sticker on everything in your closet/bookshelf and when you use it, you remove the sticker. Everything that still has a sticker after a year didn’t get used/read and chances are you won’t now. So it gets discarded.

I need a media server equivalent of that. I have terabytes full of “oh I’ll watch that someday!”. No, I won’t.

One technical thing I did was ditch everything larger than 1080P (I don’t value the quality bump when watching anyways), and reencoding everything with HEVC. It did save up hundreds of GB. But let’s be honest, even freeing up 1TB at this scale is just buying a small amount of time.

Replying to @⁨i_stole_ur_taco@lemmy.ca⁩

Maintainarr is good for that. You can define rules like “delete anything that was added to Plex over 2 years ago and has not been watched” or “delete any episodes from reality shows when they’re not from the current season” to give a few examples.

It’s got a ton of filters on it to let you build rules to automate media cleanup, and you do things like show the list of media that is pending deletion on the Plex home screen, or make it so if someone adds a movie to their watchlist (assuming it’s public) you can exclude it from deletion.

Replying to @⁨ShutUpWesley@piefed.zip⁩

Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I’ve seen in this thread:

Fewer Letters More Letters NAS Network-Attached Storage Plex Brand of media server package RAID Redundant Array of Independent Disks for mass storage SATA Serial AT Attachment interface for mass storage SMB Server Message Block protocol for file and printer sharing; Windows-native VPN Virtual Private Network ZFS Solaris/Linux filesystem focusing on data integrity

7 acronyms in this thread; the most compressed thread commented on today has 3 acronyms.

[Thread #189 for this comm, first seen 29th Nov 2026, 02:40] [FAQ] [Full list] [Contact] [Source code]

Hachyderm.ioImran Nazar ~ عمران نزر (@Two9A@hachyderm.io)3.24K Posts, 316 Following, 296 Followers · Front-end #typescript developer and general keyboard tapper; author of Internet RFC 7168 (Hypertext Coffeepot Control Protocol for teapots); occasional plumber, more than occasional #c64 #retrocomputing enthusiast, terrible at classical #piano. Header photo is a verdant scene looking over the landscape near Buxton, England, taken from a single-track country road.

Replying to @⁨ShutUpWesley@piefed.zip⁩

For cartoons/anime, I find AV1 is worth the encoding time; about 200MB per 20 minute episode at 1080p at a quality somewhere between streaming and Blu-ray. For live action I’ve found it’s not much better than H.265/HEVC.

I had a lot of shows that I downloaded as they came out so they were 720p, terrible quality and still like 700MB each, so it was a space saving and quality boost.

A bit of a hassle to rip the blu ray, be stuck with the massive files for a while while each episode takes ~8 hours to encode. Can do them in parallel but still looking at a day per season. Can be lucky and find an existing AV1 encode floating around, but they are often either 4k or a bit too compressed for my taste.

Replying to @⁨ShutUpWesley@piefed.zip⁩

At a certain point the technical solution ceases to be the correct one, and you have to consider what you’re actually optimising for.

Fifteen terabytes for movies and tv seems unimaginable to me. Our library contains some 800 handpicked movies and favourite shows: ten seasons of The Simpsons, the entirety of Stargate, The IT Crowd, etc. Comfort food.

![]

My preferred metric is how long it would take me to consume this stuff on a desert island.

Eg: I’ve been creating a local snapshot of YouTube using a Raspberry Pi 4, MeTube/yt-dlp, SMB and my own fork of SmartTube.

Based on my existing archive, 1 TB would accommodate approximately 25,650 videos at 480p. That’s 150 days of non-stop 24/7viewing, or nearly five years at two hours every single day.

(The intention is to automatically download new content from my favourite creators and use systemd timers to prune videos by age and watch count, exempting those marked for permanent retention. You could do something similar with movies / tv shows too).

Perhaps the solution is better curation rather than more storage? Novelty and surprise needn’t mean add another hard drive.

Replying to @⁨lka1988@lemmy.dbzer0.com⁩

Here

You can use it right now, but it’s two parts (the app on your tv, the catalogue updater on your server) so it’s a bit fiddly. I’m going to do a cut-away over the next month to make the Android app truly standalone.

Github is about two revisions behind what I run locally, but it still works just fine. I won’t push any of the prototyping I’m currently doing, as I intend to do a 1.0.0 release in Jan. The plan is to switch to NewPipeExtractor, rip out Firebase and other unnecessary upstream Smarttube dependencies, improve offline SponsorBlock and indexing, and add direct USB and internal storage support, amongst a few other niggling changes I want to make / have already made.

The long term goal is that you is that you simply point it at a directory of yt-dlp downloads and you’ve got your own little YouTube.

I’ll do a proper announcement post here when it’s done, so am just sharing this because you asked.

PS: The other thing (blue background) is NovaPlayer. I have a fork of that too so that I have a ghetto version of parental control.

SmartTube with local profiles, no Google sign-in and offline playback from your local YouTube archive. - bsgcl/SmartTubeLocalGitHubGitHub - bsgcl/SmartTubeLocal: SmartTube with local profiles, no Google sign-in and offline playback from your local YouTube archive.SmartTube with local profiles, no Google sign-in and offline playback from your local YouTube archive. - bsgcl/SmartTubeLocal

Replying to @⁨lka1988@lemmy.dbzer0.com⁩

It’s VERY ghetto.

I really like NovaPlayer. I had it installed on our Chromecast with Google TV when we went to Japan. You can plug in a USB drive and have it populate the front end with metadata, covers etc. It scrapes once and thereafter it “just works” (so long as your TV has an HDMI port lol). A 128GB thumb drive was more than enough to entertain the kids and store a bunch of shows we watch.

The issue is that NovaPlayer does NOT provide ANY parental controls, and multiple media directories don’t all get the nice hero view. So what I did is fork it, gave it a paint job, changed its package ID and media-library namespace, and re-signed the APK. That’s it.

Doing that allows two independent instances to coexist (NovaPlayer and NovaPlayer KIDS).

Then, I made my media directory thusly:

  • Movies
  • TV Shows
  • Kids Movies
  • Kids TV Shows

NovaPlayerKIDS only points to and indexes its respective directories, with independent libraries, artwork and watch histories. You can then password-protect the regular NovaPlayer at the launcher level using a front end.

So, like I said, no elaborate parental control system. Just two instances of the same bloody app and me manually dividing up movies and TV shows into “adult” and “kids”. Ghetto, low tech, but until the kids figure out how to hack passwords…I’m all good. (I’m actually going to create a bounty for the eldest; if she can hack it, I will give her $100. Bribery is a perfectly cromulent way to learn comp-sci)

Replying to an earlier post

Its not just movies/shows, I think the “media server” elements, including movies,shows,music,audiobooks&ebooks, amounts to a hair under 10tb. The rest of the array holds things like backups from various important systems, family photos&videos, and a bunch of other stuff.

I keep things encoded with decent quality, I, and pretty much all my dozenish users, have decent HT setups, so ensuring good quality video and audio is important. Most of it is 1080p, but well encoded bluray rips that still look good on large screens. On top of that, pretty much everything is stored with relatively high bitrate 5.1 audio. I wouldn’t want so much compression on the media that it makes my nice HT setup superficial.

For the same reason, my music is all very high quality CD rips encoded losslessly, which takes a good chunk of the disk space. I’m not nearly as prescious about audiobook quality, so that’s not huge, and even my pretty massive ebook collection is a neglegable part.

And if it was just me using the library, reducing the items would be a simple task, but with roughly a dozen users, it becomes more difficult to get a good census of who wants what.

Replying to @⁨ShutUpWesley@piefed.zip⁩

Ah. That complicates things a bit. You’ve effectively become Netflix-local, Spotify-local etc. Been there, done that.

Could you not automate some of the curation tho? I’m thinking a systemd timer that periodically checks file access timestamps (atime, with relatime enabled) against playback logs, flagging anything untouched for six months for auto-deletion, with a grace period. Users could nominate certain content for permanent retention too.

You’d capture both media server activity and direct file access without having to conduct a bloody census every time you need to reclaim disk space. Nor would you need to sacrifice fidelity.

Dedicating 30 GB to a Blu-ray rip that someone watched once, three years ago, seems like an awful waste of precious space.

Actually, hang on: doesn’t Jellysweep do this already? I like hacking shit together but if something already exists and you already use JF + the ARR stack, well…

🧹 Jellysweep is a smart cleanup tool for your Jellyfin media server - jon4hz/jellysweepGitHubGitHub - jon4hz/jellysweep: 🧹 Jellysweep is a smart cleanup tool for your Jellyfin media server🧹 Jellysweep is a smart cleanup tool for your Jellyfin media server - jon4hz/jellysweep

Replying to @⁨ShutUpWesley@piefed.zip⁩

Had a bit more of a squiz at Jellysweep. Apparently it can honour Jellyfin’s existing Favourites via favorites_enabled.

So you could run Jellysweep in the background, have a Leaving Soon collection appear within Jellyfin itself and simply tell your users to favourite anything they particularly want to keep. No need for them to learn anything.

EDIT: just saw your 2nd post. Venting, not asking for solutions. My bad - vent away :)

Replying to @⁨ShutUpWesley@piefed.zip⁩

At what point collecting turns into hoarding.

Storing just because “you may need it” and getting anxiety over getting rid of things also diminishes the enjoyment of the things you have burried.

That much storage for a personal “collection” is no different than a house with piles of things on each room.

I understand that volume for a curated media archive that will be used by future generations. Is your collection like that?

Replying to @⁨ShutUpWesley@piefed.zip⁩

I don’t know what your financial situation is but I just checked and you could get a 16TB harddrive for like 350 to 400 dollars. I doubt they’re fast but you could put your long archive stuff in there.

If you can’t spend any money, I would say weed through all the data for any duplicate or unnecessary files. I would also say delete the least used or easiest to replace stuff, but if you want to keep everything you could heavily loss-ely compress the unimportant stuff. Like consider video media that would be just as good at 720p resolution for example.

Replying to @⁨ShutUpWesley@piefed.zip⁩

You’ve mentioned you have other people use your media server as well. Can you ask them to help you fund an extenstion? Since you’d still manage and run it all, it seems reasonable, but you know better the conditions you provide this service on. You can also ask them to tidy up media they uploaded and don’t need anymore.

If there is a place to buy decent refurbished drives, as mentioned above with SAS, it can decrease the price tag.

I imagine loaned PC storage a.k.a. cloud can get banned for pirated media storage and would have a confusing mechanism of integrating it with your setup, setting up access rights etc. Not to say that paying sub for cloud TBs can end up as a temporary-gone-permanent fix that would later become a worse problem itself.

Running out of space I also thought about video deduplication, e.g. cutting repeated intros or end credits from TV shows and provide playlists for episodes, pointing at a single intro.mp4 then the episode then credits, but I found out it’s not easy to automate and it doesn’t save much space, while potentially leads to missing varying intros or production details.

With what others already mentioned, I’m out of ideas, but do look for an update post where you’d show what you decided to do.

Replying to @⁨ShutUpWesley@piefed.zip⁩

I’m running out of space on my laptop. I’ve gone through and used tools to find where the space is being used, but ultimately the drive is just to small for all the development emulators and games etc I want to store on it.

I started going through deleting all the small files that you collect over time (or least I do) like one time screenshots, little screen captures of things that were only relevant in the moment etc, and managed to free up a couple gigs. I’m sure there’s plenty more with a lot of time.

But doing that at the TB scale seems like it won’t do much haha.

Replying to an earlier post

Not necessarily the apocalypse, but in the modern climate I’m very concerned about the longevity of the free and open internet, I can foresee a future where the levels of interconnection decreases.

Things like governments cracking down on free speech, private companies doing everything they can to spy on everyone, and now the torrential flood of vulnerabilities coming out of AI labs, it seems that preparing for an offline life is probably wise.

Replying to @⁨ShutUpWesley@piefed.zip⁩

I deleted about 2tb of tv shows the other day to free up some space. I looked through the folders and realised that I would never really re-watch 95% of them and could re-download the shows I might watch again someday. I’ve always had a hoarding tendency to keep things “just in case”. Back in the day I had hundreds of VHS tapes of shows I recorded “just in case”. I don’t think I ever re-watched them and they all got taken to the dump.

Replying to @⁨victorz@lemmy.world⁩

Yes I know, but with my limited space (10To) I can only allow myself to seed dying torrents… And with the current trend of disk cost, I can’t do more than that. But don’t you agree thats still a good behavior compared to racers? Short term seeders ?

But I’m still seeding other torrents for about 60 days which is more than enough for my own space sanity.

Sure If I had 40To of space I would krank it up a bit, but my hands are tied.

Edit: Peer2Peer is team work… If more people would behave like that, we would have less dead torrents on the horizon ^^

Replying to @⁨N0x0n@lemmy.ml⁩

Oh yeah, no, for sure, that’s a very good algorithm for good torrent network health and longevity, no doubt. I just thought the threshold was a bit low that’s all. 😁 I agree of course, objectively, that this behavior would, if followed by everyone, result in literally zero dead torrents in a perfect world. But there’d also only ever be two seeders on every torrent, which is very low. 😅 But everyone can’t be forever seeders, understandably! 👍

By the way, what size unit is “To”?

Replying to @⁨ShutUpWesley@piefed.zip⁩

Someone once posted an unraid(?) script that automatically deleted shows and movies that got no use and had been around a while. I sadly lost the link and never used it but I’ve been looking for it lately for the same reason.

Delete anything getting no/low views that’s easy to reacquire if it’s ever needed.

I’m sure the script would need a bit of nuance but still a great start.