Hello everyone,
I had already started a thread in the Proxmox forum that I have a problem with LVM.
There the topic does not find any resonance and I assume that it fits better here (and in the German speaking debian-forum as well): Since LVM "fails" on Debian/proxmox but works under Arch, maybe I should find out what the difference is at the distribution level.
Problem description:
Is there anyone here in the forum who is familiar with it?
Thank you in advance ![Smile :)]()
Peer
I had already started a thread in the Proxmox forum that I have a problem with LVM.
There the topic does not find any resonance and I assume that it fits better here (and in the German speaking debian-forum as well): Since LVM "fails" on Debian/proxmox but works under Arch, maybe I should find out what the difference is at the distribution level.
Problem description:
- Setting up LVM under proxmox/debian on external HDD was causing problems. I initially thought I had made a mistake. See above, link to proxmox forum.
- Test of the HDDs: Setting up LVM and encryption/LUKS on the external HDDs via my notebook (Arch-Linux) was possible without any problems: Creating of logical volumes, mounting and unmount them - everything ok and as expected.
- HDDs with installed LVM then attached to proxmox server: Unencrypted volumes are displayed, LUKS volumes can be opened and the PVs, VGs of the LVM were also displayed.
- But then: Creation of VM/CT fails under debian/proxmox in the same way as the manual creation of an LV (see logging excerpt below).
- The error message indicates that "bcache_invalidate is 'still dirty'". But I don't know 1. where "bcache_invalidate" is stored (external HDD or system SSD), 2. by which program/module it is queried, 3. why Arch handles it differently than debian or debian/proxmox-kernel and 4. how to fix the problem.
Is there anyone here in the forum who is familiar with it?
Code:
~# lvcreate -vvvv -n docker_home -L 30GB pm01_open..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...
Code:
~# uname -a # proxmoxLinux proxmox01 6.8.4-2-pve #1 SMP PREEMPT_DYNAMIC PMX 6.8.4-2 (2024-04-10T17:36Z) x86_64 GNU/Linux~# dpkg -l | grep lvmii liblvm2cmd2.03:amd64 2.03.16-2 amd64 LVM2 command libraryii lvm2 2.03.16-2 amd64 Linux Logical VolumeManager~$ uname -a # NotebookLinux <name> 6.9.8-arch1-1 #1 SMP PREEMPT_DYNAMIC Fri, 05 Jul 2024 22:11:24 +0000 x86_64 GNU/Linux~$ pacman -Qi lvm2Name : lvm2Version : 2.03.24-1..

Peer
Statistics: Posted by ppking — 2024-07-14 09:05