https://bugs.kde.org/show_bug.cgi?id=413883
Bug ID: 413883 Summary: Resizing luks-encrypted lvm2 pv doesn't actually resize the physical volume Product: partitionmanager Version: 4.0.0 Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: andr...@stikonas.eu Reporter: l...@z3ntu.xyz Target Milestone: --- SUMMARY When a disk has "lvm2 pv [Encrypted]" which gets resized to be bigger, the partition does get resized but the "physical volume" doesn't get resized and I had to run "pvresize /dev/mapper/luks-123-123-my-uuid" manually for the physical volume size to increase. Afterwards I could increase the ext4 partitions inside of my lvm volume. STEPS TO REPRODUCE $ fallocate -l 100MB test.img $ sudo losetup /dev/loop5 test.img # scan devices with KDE Partition Manager # Create "New Partition Table" (GPT) on loop5 # Create "unformatted" partition with half the space -> Apply $ sudo partprobe /dev/loop5 # for /dev/loop5p1 to appear # Right click on partition -> Properties -> File system = lvm2 pv -> Apply # Tools -> New Volume Group -> Apply # Create new partition in new volume group with e.g. half the space # Resize "lvm2 pv" partition to be bigger # Observe, that the volume group didn't grow # If the same was to be tried without luks encryption, the volume group does grow to the new size. OBSERVED RESULT The lvm2 pv is not bigger EXPECTED RESULT The lvm2 pv should be bigger -- You are receiving this mail because: You are watching all bug changes.