Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Plex Docker Container keeping drive from spinning down

Featured Replies

  • Community Expert

I am posting this here for anyone else that experiences this problem as something they can check.

 

Problem: One disk, the one holding my tv share, would never spin down like the rest of my drives.  Unraid was registering read activity on the drive.

 

I downloaded the logs from Plex and noticed  errors in the Plex Media Server.log related to transcoding.  Essentially what had happened is that my transcode configuration in plex was set to use /transcode for temporary data... but that directory didn't exist in the linuxserver.io plex container.  I had to add a path to map it /transcode to /tmp on the unraid host and the error went away (I have a lot of ram, would have used a cache share if I didnt) .

I suspect that the default path for a new plex deployment would have put it somewhere in the appdata directory, however I was migrating from an older system so the transcode working directory was already stored in the plex database.

Anyway, for some reason with the transcode path missing, it kept hitting the drive (but not registering a file read), then failing to start the transcode then trying again later.

Just one other thing to look at if your struggling with a drive that won't spin down.

  • Community Expert

A good place to start is by using the "File Activity" plugin to see what specific files are being accessed on the drives.

 

Another thing to check is to see if any of your plex "appdata" is somehow on the disk because that itself could keep the disk active.

 

Plex might also just be doing it's tasks like intro detection, file analysis, etc...

 

Stop plex entirely and see if the disk stays spun down.

Edited by MowMdown

  • 3 weeks later...
  • Author
  • Community Expert

Sorry for the delay, didn't see your response until now.

The problem was that there was no file activity for the plugin to report.

It was purely a misconfiguration of the transcode path in plex that, for some reason, did not exist.  I believe that plex was constantly trying to use the transcode temp directory to process a show on my tv share, and couldn't.  It never actually read the show's file, but it must have been inspecting the directory or file attributes or something and keeping the drive active.

  • Community Expert
On 4/4/2025 at 7:56 PM, MowMdown said:

Another thing to check is to see if any of your plex "appdata" is somehow on the disk because that itself could keep the disk active.

Check to see if any of the "default shares" have files on any array disks. That will keep them from spinning down. system share especially.

https://docs.unraid.net/unraid-os/manual/shares/user-shares/#default-shares

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.