Anaconda creates partition for LVM setup

I realized when setting up by kickstart or UI, that Anaconda creates a partition on the selected disk for LVM (like /dev/sdc1).
Is this a bug or a normal behavior of Anaconda?

1 Like

Anaconda uses LVM by default.
It creates separate partitions for boot and LVM PV up to F32.
Btrfs should replace LVM+Ext4/XFS in F33.
See also: https://discussion.fedoraproject.org/t/btrfs-in-new-hdd-with-fedora-32/73234/26?u=vgaetera

I am fine that Anaconda creates separate partitions for /boot, but for disks which are under control of LVM, I would want the whole disk (like sdc) under LVM and not a partition (sdc1).

Hey,

Every storage device or partition can be used as a physical volume for LVM, so it’s ok.
If you not interested on creating LVM, do the following.
Start Anaconda. Go to “Installation Destination” > Click on “Custom” instead of “Automatic” > “Done”. You will be able to customize everything you want:)

The solution is to use --onpart=sdx… that creates the pv on the whole disk without using a partition.

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.