TechTalk – Tagged "Fans"– TechMikeNY




flag Authentic TechMikeNY flag Behind-the-scenes flag Configure-to-Order (CTO) flag Custom flag Dell 12th Generation flag Dell 13th Generation flag Dell 14th Generation flag Vlog flag Cables flag Compatibility flag Cooling
See more...


Thanks for your comment, Steve. Haven’t tested any of those out before, but the more solutions the merrier — would you mind sharing the scripts you found?

— TechMike

There are also scripts available for this that can run all these commands and set fan speeds based on an available temperature reading and be run via a cron command at minute, five minute, etc intervals.

— Steve

Thanks, Zach!

— TechMike

Nice basic virtualization primer. Thank you!

— Zach

Hey Aaron,

To get your GPU recognized for transcoding, you’ll need to select the GPU in TrueNAS and turn on hardware transcoding in Plex. To do that:

1. Select Plex from your list of TrueNAS apps and edit its config. This will look different in different versions of TrueNAS.
1A. If you’re using “Cobia”, clicking the “Apps” button on the left side will pull up a list. Find Plex on the list, look in the box labeled “Application Info”, and select “Edit”.
1B. If you’re on “Bluefin”, the “Apps” button will take you to a screen of apps. Once you find Plex, click the 3 dots in the top right corner its little box, and select “Edit”.    

2. Scroll down until you see “GPU Configuration”.
3. If the section doesn’t have the “Select GPU” dropdowns, you’ll need to click “Add”.
4. Click the drop down to select the type of GPU you’re using. Select “Allocate 1 xxxxxxx/xxx GPU”. (xxxxxxx/xxx being your brand of GPU.)
5. Once you’ve selected your GPU, click “Save”, and wait for Plex to deploy.
6. After Plex has deployed, hop into Plex settings in the WebUI and select “Transcoder”.
7. From the Transcoder settings, find the checkbox that says “Use hardware acceleration when available”. Check that box to turn on hardware transcoding. (The checkbox will be the setting directly below the “Transcoder quality” dropdown.) 8. Remember to hit “Save” to apply the change.

And you should be all set. Once you configure your GPU in TrueNAS and turn on hardware transcoding in Plex, you’ll see “(hw)” written at the end of the stream data.

If you’re using a Nvidia GPU for transcoding, you can see if it’s being utilized by Plex when you have a stream playing that’s being transcoded. To do that, you can use the “nvidia-smi” command in the TrueNAS shell. (More on that here:

Hope that helps!

— TechMike

I’m struggling with this type of setup on Truenas Scale as I’m trying to get a GPU recognised for transcoding. I’m not seeing any provision for this in the setup. Have you been able to pull this off?

— Aaron

Thanks for sharing! Yes, the fix in that Reddit thread will work; as we mentioned in Step 11, you’ll need to make sure that the top fields are correctly filled out when you go to disable host path safety checks in “Advanced Settings”, aka “Kubernetes Settings”. (This also includes selecting “” from the “Node IP” dropdown.) Otherwise, if your port forwarding isn’t set up properly, Plex will not be able to see the server remotely.

— TechMike

In order to see my server from and also use the mobile apps, I had to change the settings in Plex and the apps settings in Truenas apps (interface and gateway fields) like explained here:

— Michel

Hey Logan, 

Thanks for your question. Start by making sure that “Plex Data Volume” and “Plex Config Volume” settings for Plex are pointing to the correct datasets (see step 13). If that’s all set properly, you may be running into one of a few things. 

We found that in order for Plex to recognize our media, we had to create subfolders for each individual piece of media and give the subfolders whatever name we wanted the media to appear as in Plex. 

If it’s a folder structure issue, here’s what you can do: Let’s say you want to add Jaws to Plex, for example. Your structure would need to be Media > Movies > Jaws > Jaws.mkv. If you want it to show up as, say, “Scary Shark Movie”, your structure could be Media > Movies > Scary Shark Movie > Jaws.mkv. (Note that changing the folder name will also change what Plex searches for to populate the movie info/poster.) 

Now, if that doesn’t solve the problem, then it may have to do with the permissions for your Media dataset. To check what your permissions are set to, go into the “Datasets” menu on the left, select your Media dataset, and click “Edit” on the permissions box. First, double check that Owner is set to “apps” for both User and Group. Then, make sure that the “Read”, “Write”, and “Execute” permission boxes are checked for both User and Group. 

Let us know if you need help with anything else!

— TechMike

Hey TechMike,
Thank you for the detailed guide, I made it through to the last step without issue, but seem to be having problems adding media to my server. Like in the other comment you responded to, I can’t get plex to recognize my media whatever I do.

I tried separating the files out into folders inside of Media called Movies and TV Shows, but Plex won’t seem to recognize anything past one folder deep.

It also doesn’t add the media (even if it shows up when I click the Data Tab when selecting a library) if they are in the root of the SMB Media folder.

Any help is appreciated.

— Logan

Excellent guide! Everything went very well with my first foray into using TrueNAS scale using this. I had used OMV with docker and Portainer before and this is even easier.

— Josh

Hey Trey,

Thanks for your question. In the final step of adding a Library to Plex, selecting “/data” during the last step is not actually adding data to Plex; it is directing Plex to look for media within the location, “/data”.

Backtracking to Step 8, we set up 2 datasets; 1. “Plex Config”, for Plex’s configuration files, and 2.“Media”, to store your videos, pictures, and any other content that you want Plex to access.

How does content end up in “Media”? That’s where the SMB share comes into play. The purpose of the SMB share is to be able to easily transfer your media files from your computer and into the “Media” dataset. This dataset is what Plex will access through the designated folder called “data.”

During Step 13, when configuring Plex’s “Storage” settings, you need to check the “Enable host path for Plex Data Volume” and set the host path to the “Media” dataset. By doing this, you’re essentially telling TrueNAS to link the “Media” dataset to the “/data” folder.

Then, when you go to add a Library and hit “Browse Media Dataset”, you’ll need to select the “/data” folder. You’ve set everything up so that whatever is in “Media” ends up in “/data”.

Hope that helps!

— TechMike

Last step to add Library to Plex doesnt work. If media is the directory and shared via SMB then why you adding data to Plex.

— Trey

Hi Dave,

Thanks for your question. The R640 does in fact support both PCIe SSDs and PCIe Bifurcation. However, it is dependent on the operating system containing the correct drivers for the PCI card or PCI SSD adapter. 

We cannot guarantee any part which we cannot test for compatibility, and we haven’t tested these servers with the 3rd party PCI NVME cards or 2.5" NVME adapters. Installing one of these cards may cause the server to run in safemode, spinning the fans up to 100%. Usually, the 2.5" NVME adapters are not compatible with the SAS/RAID controllers used in these model servers.

— TechMike

What do you think of those NVMe M.2 adapters which plug into a PCIe slot? You can find many inexpensive PCIe adapters on eBay which support 1, 2 or 4 NVMe M.2 drives. The ones which support 2 or 4 NVMe drives require a motherboard which supports PCIe bifurcation, but the R640 apparently does. Here are a couple of search strings you can use on eBay:

PCIe M.2 NVME profile -SATA

PCIe M.2 NVME “supports 4” -SATA

Alternately, if you want to go the U.2 route, there are M.2 NVMe to U.2 enclosures for under $10. What do you think of them? Here’s an eBay search string:

M.2 NVMe PCIe to U.2 2.5 SSD

— Dave Burton