Moin,
$Something happened and now my pve will no longer start any VMs or containers.
Two of the four Pvs of my VG "pve" are still present, still working (apparently) and yet, pvscan outputs:
root@pve2:~# pvscan
WARNING: Couldn't find device with uuid U2JOLe-2G7S-MtuH-zp3p-8gbP-Awxi-pr2OpX.
WARNING: Couldn't find device with uuid ZbrUMQ-wEnk-IHH5-lolX-GLrg-Xm5d-02hyVi.
WARNING: VG pve is missing PV U2JOLe-2G7S-MtuH-zp3p-8gbP-Awxi-pr2OpX (last written to /dev/sde).
WARNING: VG pve is missing PV ZbrUMQ-wEnk-IHH5-lolX-GLrg-Xm5d-02hyVi (last written to /dev/sdc).
PV /dev/nvme1n1p3 VG pve lvm2 [237.47 GiB / 0 free]
PV /dev/nvme0n1 VG pve lvm2 [238.47 GiB / 0 free]
PV [unknown] VG pve lvm2 [<223.57 GiB / 0 free]
PV [unknown] VG pve lvm2 [<1.82 TiB / 0 free]
Total: 4 [2.50 TiB] / in use: 4 [2.50 TiB] / in no VG: 0 [0 ]
The disks /dev/sdc and /dev/sde respectively are present and have the UUIDs that LVM can not find:
root@pve2:~# blkid
/dev/mapper/pve-root: UUID="9b845542-e254-48f2-87c1-dd5c27b201b7" BLOCK_SIZE="4096" TYPE="ext4"
/dev/nvme0n1: UUID="GJjzAX-T9XA-rbkq-0f7Z-aFB2-OZ2H-8FXXAN" TYPE="LVM2_member"
/dev/sdd1: UUID="625af590-2d8c-4685-9c91-4491f162e9ad" BLOCK_SIZE="512" TYPE="xfs" PARTUUID="6d431942-5d5c-469e-85af-696c96e4e282"
/dev/mapper/pve-swap: UUID="ca27ecec-32d8-4220-99e5-f67356ba1564" TYPE="swap"
/dev/sde: UUID="U2JOLe-2G7S-MtuH-zp3p-8gbP-Awxi-pr2OpX" TYPE="LVM2_member"
/dev/sdc: UUID="ZbrUMQ-wEnk-IHH5-lolX-GLrg-Xm5d-02hyVi" TYPE="LVM2_member"
/dev/nvme1n1p2: UUID="6FD2-E474" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="29e59fcb-46bf-4e91-8c4f-93fb7e27ee55"
/dev/nvme1n1p3: UUID="nVbdwp-7vlk-lx4z-tgBK-ZlYg-ZQXZ-ZzBtCP" TYPE="LVM2_member" PARTUUID="5976bd78-f420-4002-a8b7-d25b2c603ff0"
/dev/sda: UUID="be555ad3-fb38-4fda-8e00-a5e1e177f678" TYPE="crypto_LUKS"
/dev/sdg1: LABEL_FATBOOT="EFI" LABEL="EFI" UUID="67E3-17ED" BLOCK_SIZE="512" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID="9129b7ad-3f79-458b-a5a8-230a97308331"
/dev/sdg2: UUID="db93f7bb-2e92-4949-9aa2-4d26eadcada0" UUID_SUB="0798f179-9c46-48a3-9880-d909c0b1acb6" BLOCK_SIZE="4096" TYPE="btrfs" PARTLABEL="stick" PARTUUID="f086c4db-9194-475f-b248-a08c69bafda6"
/dev/nvme1n1p1: PARTUUID="ad3ce44d-8aed-46f1-a976-db56245da2c4"
I did find a pointer to
https://www.learnitguide.net/2017/12/couldnt-find-device-with-uuid-recover.html
but I can not meka heads or tails of this post.
First it greps for the UUID in files unter /etc/lvm/archive, then never somehow files ind /etc/lvm/backup are used -- I am confused.
When I try the pvcreate --uuid [...] --restore /etc/lvm/backup/pve /dev/sde
it does not work:
root@pve2:~# pvcreate --uuid "U2JOLe-2G7S-MtuH-zp3p-8gbP-Awxi-pr2OpX" --restore /etc/lvm/backup/pve /dev/sde
WARNING: Couldn't find device with uuid nVbdwp-7vlk-lx4z-tgBK-ZlYg-ZQXZ-ZzBtCP.
WARNING: Couldn't find device with uuid GJjzAX-T9XA-rbkq-0f7Z-aFB2-OZ2H-8FXXAN.
WARNING: Couldn't find device with uuid U2JOLe-2G7S-MtuH-zp3p-8gbP-Awxi-pr2OpX.
WARNING: Couldn't find device with uuid ZbrUMQ-wEnk-IHH5-lolX-GLrg-Xm5d-02hyVi.
Cannot use /dev/sde: device is rejected by filter config
Since the pvcreate command comlpains about "not finding" all 4 physical columes - including the two that pvscan considers fine - I am thinking that all PVs currently online and in-use are "not found2 by pvcreate.
Is there a way to fix this without loosing all data?
merci
hase
$Something happened and now my pve will no longer start any VMs or containers.
Two of the four Pvs of my VG "pve" are still present, still working (apparently) and yet, pvscan outputs:
root@pve2:~# pvscan
WARNING: Couldn't find device with uuid U2JOLe-2G7S-MtuH-zp3p-8gbP-Awxi-pr2OpX.
WARNING: Couldn't find device with uuid ZbrUMQ-wEnk-IHH5-lolX-GLrg-Xm5d-02hyVi.
WARNING: VG pve is missing PV U2JOLe-2G7S-MtuH-zp3p-8gbP-Awxi-pr2OpX (last written to /dev/sde).
WARNING: VG pve is missing PV ZbrUMQ-wEnk-IHH5-lolX-GLrg-Xm5d-02hyVi (last written to /dev/sdc).
PV /dev/nvme1n1p3 VG pve lvm2 [237.47 GiB / 0 free]
PV /dev/nvme0n1 VG pve lvm2 [238.47 GiB / 0 free]
PV [unknown] VG pve lvm2 [<223.57 GiB / 0 free]
PV [unknown] VG pve lvm2 [<1.82 TiB / 0 free]
Total: 4 [2.50 TiB] / in use: 4 [2.50 TiB] / in no VG: 0 [0 ]
The disks /dev/sdc and /dev/sde respectively are present and have the UUIDs that LVM can not find:
root@pve2:~# blkid
/dev/mapper/pve-root: UUID="9b845542-e254-48f2-87c1-dd5c27b201b7" BLOCK_SIZE="4096" TYPE="ext4"
/dev/nvme0n1: UUID="GJjzAX-T9XA-rbkq-0f7Z-aFB2-OZ2H-8FXXAN" TYPE="LVM2_member"
/dev/sdd1: UUID="625af590-2d8c-4685-9c91-4491f162e9ad" BLOCK_SIZE="512" TYPE="xfs" PARTUUID="6d431942-5d5c-469e-85af-696c96e4e282"
/dev/mapper/pve-swap: UUID="ca27ecec-32d8-4220-99e5-f67356ba1564" TYPE="swap"
/dev/sde: UUID="U2JOLe-2G7S-MtuH-zp3p-8gbP-Awxi-pr2OpX" TYPE="LVM2_member"
/dev/sdc: UUID="ZbrUMQ-wEnk-IHH5-lolX-GLrg-Xm5d-02hyVi" TYPE="LVM2_member"
/dev/nvme1n1p2: UUID="6FD2-E474" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="29e59fcb-46bf-4e91-8c4f-93fb7e27ee55"
/dev/nvme1n1p3: UUID="nVbdwp-7vlk-lx4z-tgBK-ZlYg-ZQXZ-ZzBtCP" TYPE="LVM2_member" PARTUUID="5976bd78-f420-4002-a8b7-d25b2c603ff0"
/dev/sda: UUID="be555ad3-fb38-4fda-8e00-a5e1e177f678" TYPE="crypto_LUKS"
/dev/sdg1: LABEL_FATBOOT="EFI" LABEL="EFI" UUID="67E3-17ED" BLOCK_SIZE="512" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID="9129b7ad-3f79-458b-a5a8-230a97308331"
/dev/sdg2: UUID="db93f7bb-2e92-4949-9aa2-4d26eadcada0" UUID_SUB="0798f179-9c46-48a3-9880-d909c0b1acb6" BLOCK_SIZE="4096" TYPE="btrfs" PARTLABEL="stick" PARTUUID="f086c4db-9194-475f-b248-a08c69bafda6"
/dev/nvme1n1p1: PARTUUID="ad3ce44d-8aed-46f1-a976-db56245da2c4"
I did find a pointer to
https://www.learnitguide.net/2017/12/couldnt-find-device-with-uuid-recover.html
but I can not meka heads or tails of this post.
First it greps for the UUID in files unter /etc/lvm/archive, then never somehow files ind /etc/lvm/backup are used -- I am confused.
When I try the pvcreate --uuid [...] --restore /etc/lvm/backup/pve /dev/sde
it does not work:
root@pve2:~# pvcreate --uuid "U2JOLe-2G7S-MtuH-zp3p-8gbP-Awxi-pr2OpX" --restore /etc/lvm/backup/pve /dev/sde
WARNING: Couldn't find device with uuid nVbdwp-7vlk-lx4z-tgBK-ZlYg-ZQXZ-ZzBtCP.
WARNING: Couldn't find device with uuid GJjzAX-T9XA-rbkq-0f7Z-aFB2-OZ2H-8FXXAN.
WARNING: Couldn't find device with uuid U2JOLe-2G7S-MtuH-zp3p-8gbP-Awxi-pr2OpX.
WARNING: Couldn't find device with uuid ZbrUMQ-wEnk-IHH5-lolX-GLrg-Xm5d-02hyVi.
Cannot use /dev/sde: device is rejected by filter config
Since the pvcreate command comlpains about "not finding" all 4 physical columes - including the two that pvscan considers fine - I am thinking that all PVs currently online and in-use are "not found2 by pvcreate.
Is there a way to fix this without loosing all data?
merci
hase