So I’m very new to self hosting. When I set up Ubuntu server and jellyfin it formatted as a logical drive. I can’t for the life of me parse how I add the other terabytes worth of disks I have to the machine. Can someone eli5?

  • Dyskolos@lemmy.zip
    link
    fedilink
    arrow-up
    2
    arrow-down
    1
    ·
    edit-2
    4 days ago

    No time currently for a nice ELI5, but if you also need a solution now:

    sudo cfdisk -> resize to what's physically available -> save

    sudo pvresize /dev/sda<X> (x being the drive in question)

    sudo lvresize -t -v -l +100%FREE /dev/mapper/ubuntu--vg-ubuntu--lv

    sudo lvreduce -t -L <SIZE> /dev/mapper/ubuntu--vg-ubuntu--lv

    No errors? Then remove -t

    sudo resize2fs /dev/mapper/ubuntu--vg-ubuntu--lv

    This should be it on default Ubuntu server. Typically unintuitive linux-stuff, but hey 😁