Hi ! I tought that by using ext4, that wasnt necessary, sorry about that ! Is it normal that i cant access the files on my computer SSD by default also ?
Right now, i’m stuck at the section “C”. I’m trying it on a single external hard drive for now to try it, and after writing “chown -R myuser:myuser /disks”, i tried “ls -la /disks” and my disk dont have the same acces that yours (drwxr-xr-x). Did i miss something ?
Also, how can i do this : " Having created the directories as root, verify empty (unmounted) directory permissions are 0755 before mounting" ?
For the “D” section, i will admit i’m a bit intimidated, particulary because english is not my first language. What should i write exactly ?
It’s woooorkiiiiing !! THANK YOU ! Seriously, i thank you very very much !!! You are a lifesaver !
It worked on the first time with one of my drive (mov) but not with the other one. I think that was because of the name, so i decided to format it again, which changed it’s UUID, but by following your instruction, now it work !
I did try after that to reboot my computer, and the two drives did mount automatically, but not to hdds, but the media/username/diskname. Is there a way to make that automatic ?
Also, i did modify today the repo (delete the # in the
/etc/apt/sources.list.d/plexmediaserver.list file) and when i do sudo apt-get update , i do see it checking for plex, but when i go in the graphic interface for the updates, i don’t see in “Others software” plex, is that normal ? I just want to make sure i did it right.
Thanks again for your help and your time, i really really really appreciate it !
It did work for my first external drive, but i got that message when using the command sudo mount /hdds/external1 :
mount: (hint) your fstab has been modified, but systemd still uses
the old version; use 'systemctl daemon-reload' to reload.
I was unable to unmount the external 2 drive, i receive a message saying “the target is active”, but i don’t see how… I’m gonna reboot my computer and try it again.
Sorry for the delay, i had quite a few things to do to make it kinda work… Long story short, i was unable to transfer my tv shows (900gb) from Ubuntu to my external hard drive in ext4… After a few hours, the speed was 2mb/s and was still going down… So i decided to format (again) the drive, this time in exfat and try to make the transfer on Windows… That still took at least 36 hours, close to 48…
After that, i try to do the step before to gave back to my user the admin access to both external hard drive aaaand that didnt work… I try everything i could think of, but the two mounted drives still indicated that ‘root’ have access, even if other folders in the hdss folder do now give access to my username… I did try ‘sudo chmod -R 755 /hdss’ but no success. At first that worked, but after one reboot, nop…
So right now, it’s the root that have access to the two mounted drives. That still work with Plex weirdly, i try it on my TV and that was awesome, but to add anything to the drives, i have to shutdown my computer to plug them on another one…
Do you have an idea of what i did wrong ? If in the future i have to add or replace a drive, what should i do ?
Thanks again for your help, that would have never worked otherwise !
UUID=F6BB-7853 /hdds/external1 auto auto 0 2
UUID=0A75-0231 /hdds/external2 auto auto 0 2
I can see my two external drives mounted and accessible to Plex, but i just can’t delete or add anything in them. When i check with ls -l /hdds, i can see external 1 and 2 with ‘root - root’ in the access and not my username.
I think you’ll need to add a few options to the mount commands in /etc/fstab
UUID=F6BB-7853 /hdds/external1 auto auto 0 2
UUID=0A75-0231 /hdds/external2 auto auto 0 2
The first ‘auto’ tells it automatic filesystem
The second ‘auto’ tells it to mount at boot time.
I think the problem is that it should be:
UUID=F6BB-7853 /hdds/external1 auto defaults,rw,auto,nofail 0 2
UUID=0A75-0231 /hdds/external2 auto defaults,rw,auto,nofail 0 2
This uses ‘autofs’ determination (I think you have exfat so we can address that next)
The second clause sets up default mount options adding RW, auto mount at root, but won’t fail if something goes wrong. (the drive will simply fail to mount)
You can edit the file and reboot
-or-
edit the file, save it, then
sudo umount /hdds/external1
sudo mount /hdds/external1
I just try the modifications on the ftsab files and that didn’t change anything unfortunately. I still don’t have any permissions other than read in the folders. When i go check the folders, they have a red lock on them. I can open them and watch videos, but can’t do anything else.
Here is what i get when i do a ls -la for the directory of the two mounted drives :