Discussion - Adding a new SSD - HELP! | PlexGuide.com

Discussion Adding a new SSD - HELP!

  • Stop using Chrome! Download the Brave Browser via >>> [Brave.com]
    It's a forked version of Chrome with native ad-blockers and Google's spyware stripped out! Download for Mac, Windows, Android, and Linux!
Welcome to the PlexGuide.com
Serving the Community since 2016!
Register Now

murkr

Experienced
Original poster
Donor
Nov 5, 2018
99
32
Hi All

I hope someone can help me, when it comes to Linux I'm a bit of a novice.

I currently have 2x3GB HDD's as a Linux Raid. I have added a new SSD to the server so that I can set this for transcodes.

I can't for the life of me get the drive to mount! I've formatted the drive/set partition however when I try to mount using 'sudo mount /dev/sdc /data' I get an error saying '
mount: /data: mount point does not exist.'

Could someone please tell me where I'm going wrong?
 

plex_noob

Elite
Staff
Donor
Oct 1, 2018
224
113
Before mounting you need first to create the mount point which is a simple directory
 
  • Like
Reactions: 1 user

murkr

Experienced
Original poster
Donor
Nov 5, 2018
99
32
I did say I was a Linux novice, thanks! Could I simply add /data to the transcode directory in plex now?
 

meteo

Experienced
Staff
Nov 6, 2018
66
34
We all start somewhere, learn new stuff everyday! :)
Easy directions for adding another hard drive below.

1) Find disk name lsblk (bottom & not connected)
2) Make new folder. EG -> mkdir -p /mnt/datadrive
3) Format. mkfs -t ext4 /dev/DISKNAME (Found with 1)
4) Find Drive UUID blkid copy the uuid from newdisk
5) Make Mount Script. nano /etc/systemd/system/mnt-datadrive.mount
Enter:
Code:
[Unit]

Description=Mount NDB Volume at boot


[Mount]

What=UUID="ENTERDRIVEUUIDHERE"

Where=/mnt/datadrive

Type=ext4

Options=defaults


[Install]

WantedBy=multi-user.target
(swap enterdriveuidhere with number found from 4)

6) Run commands to mount always at boot.
systemctl daemon-reload
systemctl start mnt-datadrive.mount
systemctl enable mnt-datadrive.mount

Should find new drive ready with df -h

Hope that helps!
 
  • Like
Reactions: 1 users

murkr

Experienced
Original poster
Donor
Nov 5, 2018
99
32
Oh thanks I managed to mount it yesteday after you first message sorry should have made that clear. I have added /data in the transcode path, would this be correct?

My drive is as follows:
/dev/sdc 234G 61M 222G 1% /data
 

murkr

Experienced
Original poster
Donor
Nov 5, 2018
99
32
Anyone have any idea? :( I tried /mnt/data but from what I can see nothing is being transcoded to it
 

robert2018

Citizen+
Oct 7, 2018
25
11
Assuming your default settings haven't changed, Plex is performing transcoding in /transcode, so you would need to mount your drive under /opt/transcodes for Plex to use it.
 

murkr

Experienced
Original poster
Donor
Nov 5, 2018
99
32
Assuming your default settings haven't changed, Plex is performing transcoding in /transcode, so you would need to mount your drive under /opt/transcodes for Plex to use it.
Thank you, as I now also have the SSD as the 'processing' location as /mnt/drive, would adding this to the settings in plex not work?
 

murkr

Experienced
Original poster
Donor
Nov 5, 2018
99
32
Yeah, would need to edit your Plex container and remap /transcode to /mnt/drive
Sorry to be stupid, but how do I edit it? I can see that in portainer the volume /opt/transcodes is /transcode. Would I be right in saying I need to change /opt/transcodes? If so could you please point me in the right direction? I really appreciate your help!
 

plex_noob

Elite
Staff
Donor
Oct 1, 2018
224
113
Go to portainer.
Stop Plex container
Clic on edit
Go to volumes and the end of the page
Map the host mount point /mnt/Drive to the /transcode folder in plex container: the guest mount point.
Once this is done
Push the deploy button
Answer yes to the question
Your plex container should start with the transcode folder pointing to the drive mount point which is your new drive.
 

murkr

Experienced
Original poster
Donor
Nov 5, 2018
99
32
Go to portainer.
Stop Plex container
Clic on edit
Go to volumes and the end of the page
Map the host mount point /mnt/Drive to the /transcode folder in plex container: the guest mount point.
Once this is done
Push the deploy button
Answer yes to the question
Your plex container should start with the transcode folder pointing to the drive mount point which is your new drive.
I owe you!!!
 

Recommend NewsGroups

      Up To a 58% Discount!

Trending