2024-08-31, 05:58 PM
(This post was last modified: 2024-08-31, 06:02 PM by TheDreadPirate. Edited 5 times in total.)
(2024-08-31, 05:38 PM)Exact3081 Wrote:Code:IMO, move your mount out of "dellxps13". Since ACLs can reappear on that directory if you plug in new drives.
I'm relatively new to Linux. I didn't choose this mount location, -that is just where the external drive is automatically mounted when plugged in. I enter the drive in terminal and useto get the path. A search didn't reveal much on how to move the mount location out of a location...Code:pwd
Yep. That location is where drives are mounted when allowed to be auto-mounted. In fstab you can mount it somewhere else.
(2024-08-31, 05:38 PM)Exact3081 Wrote: I have also tried the other method with fstab.
I opened the fstab file and added this as a new line at the bottom (copied and modified from your other discussion):
Code:/dev/disk/by-id/wwn-0x50014ee00419ce97-part1 /media/dellxps13/1TB_MEDIA/ ext4 defaults 0 0
However then I tried to run this command as recommendedbut got this error:Code:sudo umount media/dellxps13/1TB_MEDIA/
Code:umount: media/dellxps13/1TB_MEDIA/: no mount point specified.
Apologies I am not more versed in these areas. Appreciate your help.
Code:
[code]/dev/disk/by-id/wwn-0x50014ee00419ce97-part1 /media/dellxps13/1TB_MEDIA/ ext4 defaults 0 0
The second parameter is where you want the drive to be mounted and can be almost anywhere. Change
/media/dellxps13/1TB_MEDIA/
to
/media/{insert arbitrary folder name}
For example.
Code:
sudo mkdir /media/library
Then put this in /etc/fstab
Code:
/dev/disk/by-id/wwn-0x50014ee00419ce97-part1 /media/library ext4 defaults 0 0
Then
Code:
sudo umount /media/dellxps13/1TB_MEDIA
sudo mount -a
sudo chgrp -R jellyfin /media/library
sudo find /media/library -type d -exec chmod 770 {} \;
sudo find /media/library -type f -exec chmod 660 {} \;
In your umount command you missed the leading slash before "media". Or you could reboot and it will mount this drive to the new location.
https://forum.jellyfin.org/t-mounting-lo...ng%20fstab***