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?
It didn’t format as a logical drive, a logical drive was created then partitioned, then formatted with whatever filesystem you chose. A logical drive is just an easy to “handle” or representation of storage that makes it easy to work with instead of having to directly address many devices at once. It’s like a grouping of things.
That being said, you just need to expand the partition to use all available space: https://www.redhat.com/en/blog/resize-lvm-simple
https://help.ubuntu.com/community/HowtoPartition/PartitioningBasics
You’ll need to provide details on what exactly you have for disks and how you want to use them if you want a recommendation.
If you can’t work it out from Google or documentation then it’s a waste of time for anybody else to try and teach you. Put in the work or pay someone for the help.
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 😁
No time currently for a nice ELI5, but if you also need a solution now
Chaotic neutral support.