Noob starting first server. Installed Ubuntu server, and opted for LVM. However, will that cause me problems on a headless server if I get a power outage and need to reboot? I think yes. Is there a solution, or should i remove LVM before i go too deep setting things up?

will that cause me problems on a headless server if I get a power outage and need to reboot? I think yes

Maybe I’m missing something obvious, but what is the problem that you anticipate with LVM after a power failure?

@Crabhands@lemmy.ml
creator
link
fedilink
11Y

Password prompt on boot load. No monitor and keyboard plugged in, and im assuming i cant SSH until LVM password is entered.

Ah, you’re talking about LUKS. LVM is just the volume manager.

The standard way is to add an sshd (such as dropbear) to your initramfs so that you can ssh in and run commands (such as entering the root partition password) during system boot.

See:

https://unix.stackexchange.com/questions/5017/ssh-to-decrypt-encrypted-lvm-during-headless-server-boot

Self Hosted - Self-hosting your services.
!selfhost@lemmy.ml
Create a post

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

  • No harassment
  • crossposts from c/Open Source & c/docker & related may be allowed, depending on context
  • Video Promoting is allowed if is within the topic.
  • No spamming.
  • Stay friendly.
  • Follow the lemmy.ml instance rules.
  • Tag your post. (Read under)

Important

Beginning of January 1st 2024 this rule WILL be enforced. Posts that are not tagged will be warned and if not fixed within 24h then removed!

  • Lemmy doesn’t have tags yet, so mark it with [Question], [Help], [Project], [Other], [Promoting] or other you may think is appropriate.

Cross-posting

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

  • 1 user online
  • 1 user / day
  • 1 user / week
  • 12 users / month
  • 36 users / 6 months
  • 1 subscriber
  • 161 Posts
  • 283 Comments
  • Modlog