Discussion Adding a new SSD - HELP!

Assists Greatly with Development Costs

murkr

Respected Member
Original poster
Donor
Local time
7:25 AM
Nov 5, 2018
98
29
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

Senior Member
Staff
Donor
Local time
9:25 AM
Oct 1, 2018
223
105
Brussels
Did you first create /data ?
 

plex_noob

Senior Member
Staff
Donor
Local time
9:25 AM
Oct 1, 2018
223
105
Brussels
Before mounting you need first to create the mount point which is a simple directory
 
  • Like
Reactions: murkr

murkr

Respected Member
Original poster
Donor
Local time
7:25 AM
Nov 5, 2018
98
29
I did say I was a Linux novice, thanks! Could I simply add /data to the transcode directory in plex now?
 

meteo

Respected Member
Staff
Local time
5:25 PM
Nov 6, 2018
66
34
OZ
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: murkr and plex_noob
Assists Greatly with Development Costs

murkr

Respected Member
Original poster
Donor
Local time
7:25 AM
Nov 5, 2018
98
29
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

Respected Member
Original poster
Donor
Local time
7:25 AM
Nov 5, 2018
98
29
Anyone have any idea? :( I tried /mnt/data but from what I can see nothing is being transcoded to it
 

robert2018

Full Member
Local time
2:25 AM
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

Respected Member
Original poster
Donor
Local time
7:25 AM
Nov 5, 2018
98
29
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

Respected Member
Original poster
Donor
Local time
7:25 AM
Nov 5, 2018
98
29
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

Senior Member
Staff
Donor
Local time
9:25 AM
Oct 1, 2018
223
105
Brussels
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

Respected Member
Original poster
Donor
Local time
7:25 AM
Nov 5, 2018
98
29
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!!!
 

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Similar threads


Maintenance Donations

Recommend NewsGroups

      Up To a 58% Discount!

Trending