Can I have two identical sources for the same drive and not cause conflicts?

Server Version#: 1.40.0.7998
Player Version#:N/A not a player issue
I am running my plex server off of my raspberry pi 4 running the most recent version of raspbarian. There is something going on between my hard drive, the usb hub, and the pi that is causing it to not consistently mount the drive in under the right directory in the OS. This causes my plex media to become unavailable. For now I have come to a temporary solution where the drive will mount to one of two places and sometimes both places. This leaves me with the problem of having two identical libraries of media for plex.
Can I put both locations as libraries for Plex and have it run without having a duplicate of every file displayed?
I know this is a less than good solution but it’s what I have until I figure out how I can fix my drive without wiping and reloading the 3.5 tb worth of stuff I have on there. Thanks!
<If providing server logs please do NOT turn on verbose logging, only debug logging should be enabled>

This will help you mount the USB drive by UUID so it doesn’t matter which enumeration it gets.

Thanks for your answer. Sadly I have done this multiple times in different ways. Editing the fstab to mount by UUID worked for a few months and then recently the drive has been halfway unmounting randomly. If I then reboot the drive will mount correctly and then after 5-10 mins it half unmounts the drive. If I go to the mount location for the drive the folder still reads the available space on the drive but it doesn’t show any file structure of the drive. I had it mounted at /mnt/server/all my stuff here. It then moves the mount point to /media/MYUSER/drive is mounted here. I have now changed the permissions for that folder to allow my plex user to access it. I think it may be due to something going wrong on the actual hard drive but like I said I don’t want to wipe the disk unless it’s the only solution. I was hoping that adding both possible mount locations to plex would fix the issue but it seems like plex checks the first library location and then fails and doesn’t retrieve the media from the second location. I have my external drive going through a powered usb hub so power shouldn’t be an issue. I have it formatted as ext4 under a gpt. it loads the gpt under sda and the actual files under sda1. I ran some tests on the hard drive and those returned that the superblock on the gpt is incorrect.

you definitely have a hardware issue there .

Unfortunately outside of what we can do to help

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