Advice for a Long Term Windows User Moving Plex Server to Ubuntu

So I’ve been using Plex for years. I’ve always run the media server on my gaming PC, originally Windows 7 and now 10. It’s grown over the years and it’s at the point where I’m going to move it to a dedicated machine.

I was able to inherit an older Dell workstation from my office which still has rather capable hardware. It had Windows 7 on it but I’ve installed Ubuntu to run something more lightweight that doesn’t hog background resources like Windows likes to. I’ve set up a test Plex server on it and it successfully streams all the more demanding media through the home. I’ll also use this machine for downloading, renaming and sorting media.

I’m at the point now that I’m happy it will work but want to know how to set it up right before going all in. I’m a complete Linux and Ubuntu noob.

I plan to have 3 HDDs for media, (1 x 6TB and 2 x 2TB) and considering picking up a small SSD to run the OS exclusively.

Is there anything I should know coming from Windows to Ubuntu?

Should I partition drives for anything smaller than their maximum capacity?

What format should I partition/format drives for media and OS?

Are there obvious backup options I should be running? I’ve always backed up media like a caveman and just copied it to external drives, however my media is outgrowing that external storage.

Anything else obvious I’m missing?

Again, please remember I’m a complete Linux beginner. Any help would be greatly appreciated! Thanks.

Whenever someone says “older”, the first question which must be asked is: “What’s the CPU?”

This is necessary because, if you’re building a dedicated Plex server, and want decent transcoding capability, you’ll need either the CPU or a capable Nvidia GPU to do it.

Hi ChuckPA, thanks for your reply.

It’s an Intel i7-2600 @3.40 GHz

As I mentioned, I’ve tested it for what would currently be the more demanding transcoding streams it would be carrying out for the time being and it has performed better than my current setup. So I’m happy with the hardware. Just need some advice on Ubuntu.

For filesystem, I’d recommend ext4 for all. FYI since you are coming from a Windows environment, you won’t need to defrag your HDD disks (or at least only very rarely) on ext4 since it is more intelligent about placing files. If you get a SSD I’d recommend mounting it with the “noatime” option. By default Linux records the last read time, so you actually get a small write with every read. Mounting with the “noatime” option turns this off and saves some wear on your SSD.

I’ve got my OS on an SSD , meaning that root, or “/”, is on the SSD, but I moved /home to a HDD. Outside of your media, /home is where you are going to see the most size growth (and outside of OS upgrades, also the most writes) because that is where pretty much everything specific to your user is written. Sure it’s good to have /home on the SSD, but throwing it out there since you said you might get a small SSD… Absolute best performance of course is to have everything on a bigger SSD, but my mix of OS on SSD, and /home on HDD is still fast. Lots of info out there and opinions on both sides if you want to read up to make your decision.

If you are going to use all three drives you listed for media, think about what your Plex libraries are, their size, and how you expect them to grow to help plan how you want to store your Plex libraries on those disks. Each disk (unless you decide to have multiple partitions on each disk) will be mounted at one specific mount point in your Linux file system “tree”. Plex does have the ability for a library to be mapped to multiple directories (and thus potentially multiple disks), but for simplicity I would suggest if possible targeting at the start to have each library have only one directory, and thus one disk. Certainly you can have subdirectories for your disk mount points and therefore multiple Plex libraries on a disk. (I’m a little tired, I hope that makes sense.)

Learn and use Timeshift. It will save you headaches when you do something that doesn’t work and want to roll back.

In general allow yourself time to read, research, and learn when you run into an issue. There is lots of info out there and always something new to learn with Linux if you enjoy the process.

Welcome to Linux!

Which I7 specifically? It’s great you are happy with performance. Be aware that different generations have different GPUs, and some specific models don’t have a GPU. If you have a good GPU you can offload Plex transcoding to it, which will make your overall performance better.

Edit: For backups to external drives look at rsync. Similar in some ways to Windows robocopy if you want to write a backup to external disk that just copies over new/changed files, and if you want it can delete files from the external drive if they no longer exist in the source.

2 Likes

ChuckPA also made a great resource over here:

https://forums.plex.tv/tags/c/plex-media-server/computers/21/server-linux-tips

Using an SSD is a great idea.
Good luck!

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.