On 7/16/25 11:05 AM, Barry Scott wrote:


On 15 Jul 2025, at 05:51, Robert McBroom via users <users@lists.fedoraproject.org> wrote:

├─nvme0n1p5
│ LVM2_mem LVM2 001 v1gXoi-sKLO-fS0t-oKxo-en1J-7vOu-BH8Hal
└─nvme0n1p6

LVM2_mem LVM2 001 lQ45eA-ARYv-JiVX-JRjR-eyHl-NCXO-vkB2m0



Why are there two LVM2 partitions?

That is not a usual setup.

Some history. Installed fedora server on the nvme. Boot partition and single lvm partition. Ran out of space in the lvm partition. Created a partition from the free space on the nvme and used pvcreate to designate it as a physical volume. Appended it to the original lvm for a single contiguous space.

from another installation that sees the drive

:~# pvs
 PV             VG            Fmt  Attr PSize    PFree
 /dev/nvme0n1p5 fedora_hpz440 lvm2 a--   216.38g    0
 /dev/nvme0n1p6 fedora_hpz440 lvm2 a--  <199.79g    0


Normally you have 1 LVM partition and then create LV's inside it.

This is an example of what I'd expect a normal setup to be.

$ lsblk
NAME                            MAJ:MIN RM  SIZE RO TYPE MOUNTPOINTS
sda                               8:0    0 55.9G  0 disk
├─sda1                            8:1    0  600M  0 part /boot/efi
├─sda2                            8:2    0    1G  0 part /boot
└─sda3                            8:3    0 54.3G  0 part
  ├─fedora_localhost--live-root 252:0    0 33.9G  0 lvm  /
  ├─fedora_localhost--live-swap 252:1    0  3.8G  0 lvm
  └─fedora_localhost--live-home 252:2    0 16.6G  0 lvm  /home
zram0                           251:0    0  3.7G  0 disk [SWAP]

$ sudo pvscan
  PV /dev/sda3   VG fedora_localhost-live   lvm2 [<54.31 GiB / 0    free]
  Total: 1 [<54.31 GiB] / in use: 1 [<54.31 GiB] / in no VG: 0 [0   ]

$ sudo lvscan
  ACTIVE            '/dev/fedora_localhost-live/swap' [<3.84 GiB] inherit
  ACTIVE            '/dev/fedora_localhost-live/home' [16.55 GiB] inherit
  ACTIVE            '/dev/fedora_localhost-live/root' [33.91 GiB] inherit

Barry
-- 
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to