-
Notifications
You must be signed in to change notification settings - Fork 30
LVM support in initramfs #1996
Comments
I stumbled over a similar issue. It would already help to provide a way to manipulate the GPT after Before rebooting after |
@DrMurx You should be able to use LVM now, as long as you're not putting the ROOT partition on it. You can do something similar to your manual steps with a Container Linux Config like the one in coreos/docs#1125 (comment), though since Ignition doesn't currently support LVM, you'll need to create the LVM PV on |
At this point, this prevents creating useful partitions with
and offers to fix this. Afterwards,
|
@DrMurx It seems Parted clears the |
@bgilbert Good hint, the But since I need For the records: |
Any progress being made here? The ability to use Ignition to provision LVM volumes is very desirable. |
We're working on expanding the GPT partitioning logic to be more useful first. We want to be able to support semantics similar to the filesystem refuse semantics to better support people PXE booting with a persistant root. It's tricky and there's lots of gotchas so we're ironing those out with GPT partitioning first. I'm hoping to get back to finishing that up soon. LVM support will probably face a number of the same issues, so we want to figure them out with GPT partitioning first. It will also need support from udev for root-on-LVM support similar to how we handle root-on-RAID. |
Feature Request
Environment
Bare metal.
Desired Feature
Please add support for LVM into the initramfs. This would enable us to take LVM snapshots of the ROOT partition to assist with backups.
Right now we can create separate partitions on LVM for the above, but then it becomes more complex to ensure all relevant files for backup exist on that secondary partition. Having the ROOT on LVM would afford the greatest flexibility and system configuration.
I am not requesting LVM support be included into ignition at this time. This request is for those of us who manually partition the ROOT.
The text was updated successfully, but these errors were encountered: