I am trying to learn more about partitioning in Linux, specifically LVM partitioning. So I have been looking through many sources on this, various examples, but none of them seem to go into more detail on this, so I was hoping to get some insight to understand better.
Reading the RHEL 7 guide. It lists the available file systems of xfs, ext4, ext3, ext2, vfat, swap, bios boot, bios boot with efi. This section is referenced in the kickstart syntax section here (ctrl+f for
--fstype). In a number of examples I notice people using
--fstype="lvmpv", when making LVM physical volumes. What is the purpose of that? If I want to make a partition for
/var, wouldn't a command like
part pv.4 \var..., excluding the fstype automatically create a LVM physical volume? I just find it odd that its being used as a file system type, yet not defined in the file system section as a valid value.
The second part of the above question has to do with the
pv.idportion, am I correct in understanding that the id can be any number? Is there any reason I shouldn't just automatically number each of my physical volumes 1,2,3,4..? I noticed in a few guides people were partitioning with
pv.11. As an example, the one here