LVM issue with proxmox and big HDDs/partitions?

pp-king

New Member
Jul 13, 2024
9
0
1
Hi all,

first I thought, that it was my mistake.

But now I assume, that there is an issue with the LVM-implementation in proxmox, depending on the size of the partition or PV:

I had problems creating CTs/VMs on the LVM, that I tried to set up with proxmox. Since I don't know proxmox that good, I thought, that I made mistakes, I created the PVs, VGs and LVs on my notebook (arch linux).

When I plug the HDD back into the proxmox server, the PVs and VGs were shown undencripted as well as after opening a LUKS volume.

But when I try to create an CT/VM or even manually try to create a LV on the proxmox server, I receive an error message, that implies, that there might be an issue with the size of the HDD/partition and the LVM implementation in proxmox.

Can maybe someone have a look at it?

Thank you,
Peer

Code:
~# lvcreate -vvvv -n docker_home -L 30GB pm01_open

Code:
..
58.035778 device/dev-io.c:120  /dev/sda1: size is 2014 sectors
58.035781 device/dev-io.c:466  Closed /dev/sda1
58.035782 filters/filter-usable.c:39  /dev/sda1: Skipping: Too small to hold a PV
..

-> The whole logging is attached to this posting.
 

Attachments

Oops, thank you Dietmar, you are right, sorry!

/dev/sda1 on the proxmox server is the BIOS boot partition.

I see it just now: on the proxmox server ( there /dev/sdb1 ..) the error belongs to the message:

"bcache_invalidate: block (0, 0) still dirty"​

Do you have any idea how to get rid of this? You can leave this posting unpublished .. or you may remove it.

Kind regards,
Peer

Code:
18:06:00.034945 label/label.c:1957  Error writing device /dev/sdb1 at 5632 length 1536.
01.051386 device/bcache.c:1374  WARNING: bcache_invalidate: block (0, 0) still dirty.
01.051424 format_text/format-text.c:965  Failed to write metadata to /dev/sdb1.
01.051430 metadata/metadata.c:3050  <backtrace>
01.051435 metadata/metadata.c:3059  Failed to write VG pm01_open.
01.051437 metadata/lv_manip.c:8596  <backtrace>
01.051439 metadata/lv_manip.c:8982  <backtrace>