Selfhosted
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:
-
Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.
-
No spam posting.
-
Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.
-
Don't duplicate the full text of your blog or github here. Just post the link for folks to click.
-
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
-
No trolling.
-
No low-effort posts. This is subjective and will largely be determined by the community member reports.
Resources:
- selfh.st Newsletter and index of selfhosted software and apps
- awesome-selfhosted software
- awesome-sysadmin resources
- Self-Hosted Podcast from Jupiter Broadcasting
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
view the rest of the comments
Might be less confusing if you take a look at what you have with
lsblkfirst. That might give you a better view of your existing disk layout so you know what you need to do. To your specific question though, I'm pretty sure resizing the LUKS volume is done with some sub-command incrypysetup. I'm not at a proper computer to check, but it's definitely in the man page.All that assumes you have LUKS underneath LVM, which is fairly standard practice.
Hope that helps get you pointed in the right direction.
Results of lsblk:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
loop0 7:0 0 63.8M 1 loop /snap/core20/2866
loop1 7:1 0 63.9M 1 loop /snap/core20/2318
loop2 7:2 0 87M 1 loop /snap/lxd/29351
loop3 7:3 0 38.8M 1 loop /snap/snapd/21759
loop4 7:4 0 91.7M 1 loop /snap/lxd/38800
loop5 7:5 0 49.3M 1 loop /snap/snapd/26865
sda 8:0 0 465.8G 0 disk
├─sda1 8:1 0 1G 0 part /boot/efi
├─sda2 8:2 0 2G 0 part /boot
└─sda3 8:3 0 462.7G 0 part
└─dm_crypt-0 253:0 0 462.7G 0 crypt
Ah great. It looks like you have a mostly empty encrypted partition with LVM on top of it. If memory serves you might be able to resize the logical volume and the ext4 filesystem in a single command.