How to add new hard drive ubuntu - Printable Version +- Jellyfin Forum (https://forum.jellyfin.org) +-- Forum: Support (https://forum.jellyfin.org/f-support) +--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting) +--- Thread: How to add new hard drive ubuntu (/t-how-to-add-new-hard-drive-ubuntu) Pages:
1
2
|
How to add new hard drive ubuntu - Doom69 - 2024-10-25 I ran all the code from this thread https://forum.jellyfin.org/t-how-to-add-new-hard-drives-to-jellyfin-using-ubuntu but it didn't work. I want Jellyfin to access my /media/<username>/Blue Note that I have to manually mount that drive every time this server turns on (maybe that's interfering or something). Tho I did all of those commands while the drive was mounted restarted the Jellyfin server and still I didn't see it when trying to add it to the library. It's my first week at this and it took quite some time to set up, at least I got the first media folder working (/media/jellyfin) RE: How to add new hard drive ubuntu - TheDreadPirate - 2024-10-25 Read my guide at the link below. https://forum.jellyfin.org/t-mounting-local-storage-in-linux-linux-permissions-primer RE: How to add new hard drive ubuntu - Doom69 - 2024-10-25 (2024-10-25, 02:01 PM)TheDreadPirate Wrote: Read my guide at the link below. I did the commands (from your guide) I saw you say "Their media drives were auto-mounted and Jellyfin can't access them." while mine were the opposite do I have to mount them or just leave them unmounted (tried both ways, still didn't seem to work) I got an error at the UUID=..... stage tho I believe I added the correct one (got the UUID from the Disks app). When I used this /media/doom/Blue2 (Blue2 is the HHD) I got bash: /media/doom/Blue2: No such file or directory When I used /dev/sdc bash: /dev/sdc: Permission denied RE: How to add new hard drive ubuntu - TheDreadPirate - 2024-10-25 Can you show me the output of "sudo fdisk -lx"? And what you put in /etc/fstab? You have to use the UUID for the partition, not the drive itself. Same with /dev/sdc. It is probably /dev/sdc1. /media/doom/Blue2 is a directory that your drive is mounted to and isn't a device. RE: How to add new hard drive ubuntu - Doom69 - 2024-10-25 (2024-10-25, 03:30 PM)TheDreadPirate Wrote: Can you show me the output of "sudo fdisk -lx"? And what you put in /etc/fstab? I believe it's this one (blocked out some info with x) Disk /dev/sdc: 465,76 GiB, 500107862016 bytes, 976773168 sectors Disk model: xxxxxxxxxxxxx Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0xxxxx9f Device Boot Start End Sectors Id Type Start-C/H/S End-C/H/S Attrs /dev/sdc1 2048 976769023 976766976 83 Linux 0/32/33 1023/254/63 RE: How to add new hard drive ubuntu - TheDreadPirate - 2024-10-25 The disk model is not sensitive information. No need to sensor it. Also just realized that -x and -l don't have to be used together. So show the full output of "sudo fdisk -x /dev/sdc" and also what you put into /etc/fstab. RE: How to add new hard drive ubuntu - theguymadmax - 2024-10-25 fdisk does not give you the correct uuid, you need to use blkid command. Run the below command and use that uuid, it will be different than what you get using fdisk. Code: sudo blkid /dev/sdc RE: How to add new hard drive ubuntu - TheDreadPirate - 2024-10-25 It does provide the same UUID. Code: chris@rat-trap:~$ sudo fdisk -x /dev/sdd ; echo "***************" ; sudo blkid /dev/sdd1 The UUID for the partition is the same value, "63C1787F-E1A3-B34A-AE05-EB66F240E17D". RE: How to add new hard drive ubuntu - theguymadmax - 2024-10-25 On ubuntu you'll get differnt results. Only the one from blkid works in fstab: Code: max@HOME:~$ sudo blkid /dev/nvme0n1p4 RE: How to add new hard drive ubuntu - TheDreadPirate - 2024-10-25 The "PARTUUID" for blkid is the same as the UUID for fdisk -x. Just lower case for blkid. |