12

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?

you are viewing a single comment's thread
view the rest of the comments
[-] Dyskolos@lemmy.zip 2 points 1 month ago* (last edited 1 month 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 ๐Ÿ˜

[-] andrewth09@lemmy.world 2 points 1 month ago

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

Chaotic neutral support.

this post was submitted on 26 May 2025
12 points (92.9% liked)

Self Hosted - Self-hosting your services.

12522 readers
1 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules

Important

Cross-posting

If you see a rule-breaker please DM the mods!

founded 4 years ago
MODERATORS