• 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): « Previous 1 2

     
    • 0 Vote(s) - 0 Average

    How to add new hard drive ubuntu

    Can't add a new drive
    theguymadmax
    Offline

    Community Moderator

    Posts: 1,142
    Threads: 0
    Joined: 2024 Jun
    Reputation: 60
    #11
    2024-10-25, 04:39 PM
    (2024-10-25, 04:07 PM)TheDreadPirate Wrote: 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".

    The UUID from blkid is "ec176098-2c7a-471d-9bd2-2c67b954387a" which is not the same as
    "63C1787F-E1A3-B34A-AE05-EB66F240E17D". fstab wants that uuid.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #12
    2024-10-25, 04:40 PM
    Having said that, I think I will update my guide to use blkid since it uses the more clearly named "PARTUUID".
    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
    #13
    2024-10-25, 05:41 PM
    (2024-10-25, 04:32 PM)TheDreadPirate Wrote: The "PARTUUID" for blkid is the same as the UUID for fdisk -x.  Just lower case for blkid.
    Can you elaborate on what should I do?
    Code:
    Disk /dev/loop0: 4 KiB, 4096 bytes, 8 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes


    Disk /dev/loop1: 74,21 MiB, 77819904 bytes, 151992 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes


    Disk /dev/loop2: 12,32 MiB, 12922880 bytes, 25240 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes


    Disk /dev/loop3: 266,63 MiB, 279584768 bytes, 546064 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes


    Disk /dev/loop4: 496,98 MiB, 521121792 bytes, 1017816 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes


    Disk /dev/loop5: 568 KiB, 581632 bytes, 1136 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes


    Disk /dev/loop6: 91,69 MiB, 96141312 bytes, 187776 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes


    Disk /dev/loop7: 452 KiB, 462848 bytes, 904 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes


    Disk /dev/sda: 465,76 GiB, 500107862016 bytes, 976773168 sectors
    Disk model: ST3500418AS   
    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: 0xc979c979

    Device    Boot Start      End  Sectors  Size Id Type
    /dev/sda1        2048 976769023 976766976 465,8G 83 Linux


    Disk /dev/sdb: 465,76 GiB, 500107862016 bytes, 976773168 sectors
    Disk model: WDC WD5000AAKX-6
    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: 0xb39fb39f

    Device    Boot Start      End  Sectors  Size Id Type
    /dev/sdb1        2048 976769023 976766976 465,8G 83 Linux


    Disk /dev/sdc: 465,76 GiB, 500107862016 bytes, 976773168 sectors
    Disk model: WDC WD5000AAKX-0
    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: gpt
    Disk identifier: ED97E270-10F2-44FC-8D4D-7D237FD9515C

    Device      Start      End  Sectors  Size Type
    /dev/sdc1    2048      4095      2048    1M BIOS boot
    /dev/sdc2    4096  1054719  1050624  513M EFI System
    /dev/sdc3  1054720  5249023  4194304    2G Linux swap
    /dev/sdc4  5249024  9443327  4194304    2G Solaris boot
    /dev/sdc5  9443328 976773134 967329807 461,3G Solaris root


    Disk /dev/loop8: 40,43 MiB, 42393600 bytes, 82800 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes


    Disk /dev/loop9: 55,36 MiB, 58052608 bytes, 113384 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes


    Disk /dev/loop10: 38,83 MiB, 40714240 bytes, 79520 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes


    Disk /dev/loop11: 321,1 MiB, 336699392 bytes, 657616 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes


    Disk /dev/loop12: 74,25 MiB, 77852672 bytes, 152056 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes

    I have 3 500GB drives I plan to use for storage (1 works already, and 2 I want to configure so they work too)
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #14
    2024-10-25, 05:50 PM
    I'm assuming /dev/sdc is the drive you are already using.

    So the remaining two drives are /dev/sda and /dev/sdb.

    Code:
    blkid /dev/sda1 /dev/sdb1

    From that, make note of the PARTUUID for each.

    Then

    Code:
    sudo nano /etc/fstab

    And add the follow to the bottom of the file.

    Code:
    UUID={insert UUID for /dev/sda1} /mnt/drive1 ext4 defaults 0 0
    UUID={insert UUID for /dev/sdb1} /mnt/drive2 ext4 defaults 0 0

    Replace "drive1" and "drive2" with whatever folder name you want to use. Whatever name you choose, you need to create the folder in /mnt.

    Code:
    sudo mkdir -p /mnt/drive1 /mnt/drive2

    Then you can use "sudo mount -a" to mount your drives automatically.
    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): « Previous 1 2

    « 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