# Transcode Drive

**URL:** https://forums.plex.tv/t/transcode-drive/583056
**Category:** Plex Media Server
**Tags:** server-linux
**Created:** [April 30, 2020, 6:51am UTC](https://forums.plex.tv/t/transcode-drive/583056 "2020-04-30T06:51:04Z")
**Posts on this page:** 13
**Page:** 1

<div class="post-metadata">

### Author: ![perrymansmalley](https://avatars.discourse-cdn.com/v4/letter/p/ea666f/32.png) [@perrymansmalley](https://forums.plex.tv/u/perrymansmalley)
#### Post date: [April 30, 2020, 6:51am UTC](https://forums.plex.tv/t/transcode-drive/583056/1 "2020-04-30T06:51:05Z")

</div>

Hi

can anyone tell me how i can tell if Plex is using the 240gb SSD i put in for transcoding duty?  
Most of the Transcoding is on the GPU and the feedback is it pauses once per film, so i was wondering if the SSD is even being used at all. Write life i dont care about write life really as its only while lock down is going on Family are using my server.

I increased the transcode throttle to 500 seconds but i have no idea if this transcode drive is even doing anything in my system.

i7 3770 4c 8t  
16gb ram  
ssd boot  
ssd transcode  
nas drives for storage  
1050ti gpu

Ubuntu 18.04 lts

Server Version#:  
Player Version#:

---

<div class="post-metadata">

### Author: ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)
#### Post date: [April 30, 2020, 7:56pm UTC](https://forums.plex.tv/t/transcode-drive/583056/2 "2020-04-30T19:56:10Z")

</div>

1. I need to see the log files, captured immediately after a transcoding attempt

2. DEBUG logging ON, VERBOSE logging OFF

3. For future reference, **Please** do not tag `server-linux-tips`. This tag is used for helpful tips – not for problems/issues.

---

<div class="post-metadata">

### Author: ![perrymansmalley](https://avatars.discourse-cdn.com/v4/letter/p/ea666f/32.png) [@perrymansmalley](https://forums.plex.tv/u/perrymansmalley)
#### Post date: [May 1, 2020, 7:51am UTC](https://forums.plex.tv/t/transcode-drive/583056/3 "2020-05-01T07:51:26Z")

</div>

Here is the log - i wont add tips again i did think adding a transcode driver would be under tips as its an extra to the system.

If the SSD is not doing anything i can just pop it in a different server before i add my music collection to plex its been a journey using linux

[Plex Media Server Logs\_2020-05-01\_07-49-43.zip](https://forums.plex.tv/uploads/short-url/A3cKpZrSsQ65zyojxpFGxWAYc31.zip) (4.5 MB)

---

<div class="post-metadata">

### Author: ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)
#### Post date: [May 1, 2020, 4:33pm UTC](https://forums.plex.tv/t/transcode-drive/583056/4 "2020-05-01T16:33:34Z")

</div>

You have permission errors.

The transcoder temp directory doesn’t allow user `plex` to write to it.

```auto
com-plexapp-android&subtitleSize=100&videoBitrate=200000&videoQuality=100&videoResolution=3840x2160 (20 live) TLS 9ms 425 bytes (range: bytes=0-) 
May 01, 2020 07:49:00.480 [0x7f8cfd527700] DEBUG - Auth: authenticated user 1 as perrymansmalley
May 01, 2020 07:49:00.480 [0x7f8cf65e1700] DEBUG - Request: [10.255.192.61:58176 (Subnet)] GET /statistics/bandwidth?timespan=6 (20 live) TLS GZIP Signed-in Token (perrymansmalley)
May 01, 2020 07:49:00.483 [0x7f8cfdd28700] DEBUG - Completed: [10.255.192.61:58176] 200 GET /statistics/bandwidth?timespan=6 (20 live) TLS GZIP 3ms 1442 bytes (pipelined: 41)
May 01, 2020 07:49:00.791 [0x7f8cfcd26700] DEBUG - Request: [10.255.192.9:46886 (Subnet)] GET /video/:/transcode/universal/session/066bd77385a1c62e-com-plexapp-android/base/index.m3u8 (21 live) TLS Signed-in
May 01, 2020 07:49:00.791 [0x7f8cfcd26700] DEBUG - Found session GUID of 066bd77385a1c62e-com-plexapp-android in session start.
May 01, 2020 07:49:00.791 [0x7f8cfcd26700] DEBUG - Starting a transcode session 066bd77385a1c62e-com-plexapp-android at offset -1.0 (state=3)
May 01, 2020 07:49:00.791 [0x7f8cfcd26700] ERROR - IsFileWritable: failed to create file '"/home/handofgod/Transcoder/93aa3f61-7460-41c8-a94a-ac6687b33129"'
May 01, 2020 07:49:00.791 [0x7f8cfcd26700] WARN - IsDirWritable: directory '"/home/handofgod/Transcoder/"' is not writable
May 01, 2020 07:49:00.791 [0x7f8cfcd26700] DEBUG - TPU: hardware transcoding: using hardware decode accelerator nvdec
May 01, 2020 07:49:00.791 [0x7f8cfcd26700] DEBUG - [Universal] Using local file path instead of URL: /home/handofgod/Videos/Adult/Adult_Only/Legally.Blonde.2001.REMASTERED.1080p.BluRay.H264.AAC-RARBG.mp4
May 01, 2020 07:49:00.791 [0x7f8cfcd26700] DEBUG - TPU: hardware transcoding: zero-copy support present
May 01, 2020 07:49:00.791 [0x7f8cfcd26700] DEBUG - TPU: hardware transcoding: using zero-copy transcoding
May 01, 2020 07:49:00.792 [0x7f8cfcd26700] DEBUG - TPU: hardware transcoding: final decoder: nvdec, final encoder: nvenc
May 01, 2020 07:49:00.792 [0x7f8cfcd26700] ERROR - IsFileWritable: failed to create file '"/home/handofgod/Transcoder/f63228be-1e72-4975-a143-88b1a6ebd53d"'
May 01, 2020 07:49:00.792 [0x7f8cfcd26700] WARN - IsDirWritable: directory '"/home/handofgod/Transcoder/"' is not writable
May 01, 2020 07:49:00.792 [0x7f8cfcd26700] DEBUG - Job running: EAE_ROOT='/tmp/pms-07fa3a48-d902-4da4-8408-911e5a0837d6/EasyAudioEncoder' FFMPEG_EXTERNAL_LIBS='/var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Codecs/99c90e0-3095-linux-x86_64/' XDG_CACHE_HOME='/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Cache' XDG_DATA_HOME='/usr/lib/plexmediaserver/Resources' X_PLEX_TOKEN='xxxxxxxxxxxxxxxxxxxx' '/usr/lib/plexmediaserver/Plex Transcoder' '-codec:#0x01' 'h264' '-hwaccel:#0x01' 'nvdec' '-hwaccel_fallback_threshold:#0x01' '10' '-hwaccel_output_format:#0x01' 'cuda' '-codec:#0x02' 'aac_lc' '-analyzeduration' '20000000' '-probesize' '20000000' '-i' '/home/handofgod/Videos/Adult/Adult_Only/Legally.Blonde.2001.REMASTERED.1080p.BluRay.H264.AAC-RARBG.mp4' '-filter_complex' '[0:#0x01]hwupload[0];[0]scale_cuda=w=1920:h=808:format=nv12[1]' '-filter_complex' '[0:#0x02] aresample=async=1:ocl='\''5.1'\'':osr=48000[2]' '-map' '[1]' '-codec:0' 'h264_nvenc' '-b:0' '2811k' '-maxrate:0' '3748k' '-bufsize:0' '7496k' '-forced-idr:0' '1' '-r:0' '23.975999999999999' '-force_key_frames:0' 'expr:gte(t,0+n_forced*3)' '-map' '[2]' '-metadata:s:1' 'language=eng' '-codec:1' 'aac' '-strict:1' 'experimental' '-aac_coder:1' 'fast' '-q:1' '0' '-segment_format' 'mpegts' '-f' 'ssegment' '-individual_header_trailer' '0' '-segment_time' '3' '-segment_start_number' '0' '-segment_copyts' '1' '-segment_time_delta' '0.0625' '-segment_list' 'http://127.0.0.1:32400/video/:/transcode/session/066bd77385a1c62e-com-plexapp-android/f36aaf5e-6ccd-4961-84dc-8c826bc8b804/seglist?X-Plex-Http-Pipeline=infinite' '-segment_list_type' 'csv' '-segment_list_size' '5' '-segment_list_separate_stream_times' '1' '-segment_list_unfinished' '1' '-max_delay' '5000000' '-avoid_negative_ts' 'disabled' '-map_metadata' '-1' '-map_chapters' '-1' 'media-%05d.ts' '-start_at_zero' '-copyts' '-vsync' 'cfr' '-y' '-init_hw_device' 'cuda=cuda:' '-hwaccel_device' 'cuda' '-filter_hw_device' 'cuda' '-nostats' '-loglevel' 'quiet' '-loglevel_plex' 'error' '-progressurl' 'http://127.0.0.1:32400/video/:/transcode/session/066bd77385a1c62e-com-plexapp-android/f36aaf5e-6ccd-4961-84dc-8c826bc8b804/progress'
May 01, 2020 07:49:00.793 [0x7f8cfcd26700] DEBUG - Jobs: Starting child process with pid 2437

```

---

<div class="post-metadata">

### Author: ![perrymansmalley](https://avatars.discourse-cdn.com/v4/letter/p/ea666f/32.png) [@perrymansmalley](https://forums.plex.tv/u/perrymansmalley)
#### Post date: [May 2, 2020, 11:03am UTC](https://forums.plex.tv/t/transcode-drive/583056/5 "2020-05-02T11:03:07Z")

</div>

Thank you for this help.

i changed the /home/handofgod/transcoder folder to

sudo chown -R plex:plex /home/handofgod/transcoder  
sudo chmod 755 -R /home/handofgod/transcoder

- Changed the \_R to -R just incase this works. No idea if it’s working still as the log files are crazy in volume and no idea which one to look at.

[Plex Media Server Logs\_2020-05-02\_11-02-06.zip](https://forums.plex.tv/uploads/short-url/fkvXJjoo3W3OvU2xLwCGPFqFdv2.zip) (3.6 MB)

---

<div class="post-metadata">

### Author: ![Coxeroni](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/coxeroni/32/21481_2.png) [@Coxeroni](https://forums.plex.tv/u/Coxeroni)
#### Post date: [May 2, 2020, 11:08am UTC](https://forums.plex.tv/t/transcode-drive/583056/6 "2020-05-02T11:08:50Z")

</div>

> [@perrymansmalley](#):
>
> sudo chown \_R plex:plex /home/handofgod/transcoder

Hopefully it was `chown -R`

---

<div class="post-metadata">

### Author: ![perrymansmalley](https://avatars.discourse-cdn.com/v4/letter/p/ea666f/32.png) [@perrymansmalley](https://forums.plex.tv/u/perrymansmalley)
#### Post date: [May 2, 2020, 11:15am UTC](https://forums.plex.tv/t/transcode-drive/583056/7 "2020-05-02T11:15:13Z")

</div>

hopefully it works

just waiting for the Tv Tuner to arrive as this plex stuff isnt just buy a plex pass and its all unlocked but nothing worth having is easy

if its not actually doing anything i will prob pop the ssd in the nas server as a cashe drive

---

<div class="post-metadata">

### Author: ![perrymansmalley](https://avatars.discourse-cdn.com/v4/letter/p/ea666f/32.png) [@perrymansmalley](https://forums.plex.tv/u/perrymansmalley)
#### Post date: [May 4, 2020, 12:37pm UTC](https://forums.plex.tv/t/transcode-drive/583056/8 "2020-05-04T12:37:19Z")

</div>

@ChuckPa any chance you can tell me which log file to look in as i still dont know if the drive is being used.

[Plex Media Server Logs\_2020-05-04\_12-35-31.zip](https://forums.plex.tv/uploads/short-url/mSY1kiITdXd7yqynzTPiS3qJWdW.zip) (3.8 MB)

---

<div class="post-metadata">

### Author: ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)
#### Post date: [May 4, 2020, 1:30pm UTC](https://forums.plex.tv/t/transcode-drive/583056/9 "2020-05-04T13:30:37Z")

</div>

![Screenshot from 2020-05-04 09-29-59](https://global.discourse-cdn.com/plex/original/3X/f/3/f3611d100487512c7943339a885bd033d36e6894.png)

This is what you’re looking for

---

<div class="post-metadata">

### Author: ![perrymansmalley](https://avatars.discourse-cdn.com/v4/letter/p/ea666f/32.png) [@perrymansmalley](https://forums.plex.tv/u/perrymansmalley)
#### Post date: [May 4, 2020, 4:16pm UTC](https://forums.plex.tv/t/transcode-drive/583056/10 "2020-05-04T16:16:03Z")

</div>

Thank you @ChuckPa it looks like the sudo chown -R Plex:Plex worked and no eror lines on FFMPEG

Thank you for your help.

---

<div class="post-metadata">

### Author: ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)
#### Post date: [May 4, 2020, 4:31pm UTC](https://forums.plex.tv/t/transcode-drive/583056/11 "2020-05-04T16:31:19Z")

</div>

I’m sorry i didn’t jump on `_R` versus `-R`.

I had assumed a typing error while preparing for the `R` .

---

<div class="post-metadata">

### Author: ![perrymansmalley](https://avatars.discourse-cdn.com/v4/letter/p/ea666f/32.png) [@perrymansmalley](https://forums.plex.tv/u/perrymansmalley)
#### Post date: [May 5, 2020, 6:40am UTC](https://forums.plex.tv/t/transcode-drive/583056/12 "2020-05-05T06:40:42Z")

</div>

> [@ChuckPa](#):
>
> assumed a typing error while prepa

Yeah it was a typing error with the R i had used -R not \_R

TV Tuner Arrives today so onwards and upwards

Again thank you for the help.

---

<div class="post-metadata">

### Author: ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)
#### Post date: [August 3, 2020, 6:40am UTC](https://forums.plex.tv/t/transcode-drive/583056/13 "2020-08-03T06:40:43Z")

</div>

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