• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting How to add new hard drive ubuntu

    Pages (2): 1 2 Next »

     
    • 0 Vote(s) - 0 Average

    How to add new hard drive ubuntu

    Can't add a new drive
    Doom69
    Offline

    Junior Member

    Posts: 7
    Threads: 2
    Joined: 2024 Oct
    Reputation: 0
    #1
    2024-10-25, 01:52 PM
    I ran all the code from this thread
    https://forum.jellyfin.org/t-how-to-add-...ing-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)
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-10-25, 02:01 PM
    Read my guide at the link below.

    https://forum.jellyfin.org/t-mounting-lo...ons-primer
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    Doom69
    Offline

    Junior Member

    Posts: 7
    Threads: 2
    Joined: 2024 Oct
    Reputation: 0
    #3
    2024-10-25, 03:14 PM
    (2024-10-25, 02:01 PM)TheDreadPirate Wrote: Read my guide at the link below.

    https://forum.jellyfin.org/t-mounting-lo...ons-primer

    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
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-10-25, 03:30 PM
    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.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    Doom69
    Offline

    Junior Member

    Posts: 7
    Threads: 2
    Joined: 2024 Oct
    Reputation: 0
    #5
    2024-10-25, 03:41 PM
    (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?

    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.

    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
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #6
    2024-10-25, 03:52 PM
    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.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    theguymadmax
    Offline

    Community Moderator

    Posts: 1,117
    Threads: 0
    Joined: 2024 Jun
    Reputation: 59
    #7
    2024-10-25, 03:58 PM
    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
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #8
    2024-10-25, 04:07 PM
    It does provide the same UUID.

    Code:
    chris@rat-trap:~$ sudo fdisk -x /dev/sdd ; echo "***************" ; sudo blkid /dev/sdd1
    Disk /dev/sdd: 2.73 TiB, 3000592982016 bytes, 5860533168 sectors
    Disk model: WDC WD30EFRX-68N
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes
    Disklabel type: gpt
    Disk identifier: 524790FD-E3D1-4F80-B9A1-F0582FA72E06
    First usable LBA: 34
    Last usable LBA: 5860533134
    Alternative LBA: 5860533167
    Partition entries starting LBA: 2
    Allocated partition entries: 128
    Partition entries ending LBA: 33

    Device     Start        End    Sectors Type-UUID                            UUID                                 Name Attrs
    /dev/sdd1   2048 5860533134 5860531087 0FC63DAF-8483-4772-8E79-3D69D8477DE4 63C1787F-E1A3-B34A-AE05-EB66F240E17D      
    ***************
    /dev/sdd1: UUID="ec176098-2c7a-471d-9bd2-2c67b954387a" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="63c1787f-e1a3-b34a-ae05-eb66f240e17d"

    The UUID for the partition is the same value, "63C1787F-E1A3-B34A-AE05-EB66F240E17D".
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    theguymadmax
    Offline

    Community Moderator

    Posts: 1,117
    Threads: 0
    Joined: 2024 Jun
    Reputation: 59
    #9
    2024-10-25, 04:30 PM (This post was last modified: 2024-10-25, 04:32 PM by theguymadmax. Edited 1 time in total.)
    On ubuntu you'll get differnt results. Only the one from blkid works in fstab:
    Code:
    max@HOME:~$ sudo blkid /dev/nvme0n1p4
    /dev/nvme0n1p4: UUID="a8b87372-d084-4c2c-89ff-8670d4534330" BLOCK_SIZE="4096" TYPE="ext4" PARTLABEL="Linux" PARTUUID="23bad7c6-2c12-4d09-af99-0ebb9ffa36ee"

    max@HOME:~$ sudo fdisk -x
    Device              Start        End    Sectors Type-UUID                            UUID                                Name                        Attrs
    /dev/nvme0n1p4 1600968704 1870043135  269074432 0FC63DAF-8483-4772-8E79-3D69D8477DE4 23BAD7C6-2C12-4D09-AF99-0EBB9FFA36EE Linux                       
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #10
    2024-10-25, 04:32 PM
    The "PARTUUID" for blkid is the same as the UUID for fdisk -x. Just lower case for blkid.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    Pages (2): 1 2 Next »

    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode