login as: dreael dreael@172.29.63.11's password: Linux kvmhost2 6.8.4-3-pve #1 SMP PREEMPT_DYNAMIC PMX 6.8.4-3 (2024-05-02T11:55Z) x86_64 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Thu Jun 20 17:06:14 2024 from 172.29.63.154 dreael@kvmhost2:~$ su - Passwort: root@kvmhost2:~# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS fd0 2:0 1 4K 0 disk sda 8:0 0 931.5G 0 disk ├─md126 9:126 0 931.5G 0 raid1 │ ├─md126p1 259:0 0 133.3M 0 part /dos │ ├─md126p2 259:1 0 800M 0 part /boot │ ├─md126p3 259:2 0 1K 0 part │ ├─md126p5 259:3 0 15G 0 part / │ ├─md126p6 259:4 0 150G 0 part /home │ ├─md126p7 259:5 0 10G 0 part /tmp │ ├─md126p8 259:6 0 8G 0 part [SWAP] │ ├─md126p9 259:7 0 20G 0 part /var │ └─md126p10 259:8 0 727.6G 0 part └─md127 9:127 0 0B 0 md sdb 8:16 0 931.5G 0 disk ├─md126 9:126 0 931.5G 0 raid1 │ ├─md126p1 259:0 0 133.3M 0 part /dos │ ├─md126p2 259:1 0 800M 0 part /boot │ ├─md126p3 259:2 0 1K 0 part │ ├─md126p5 259:3 0 15G 0 part / │ ├─md126p6 259:4 0 150G 0 part /home │ ├─md126p7 259:5 0 10G 0 part /tmp │ ├─md126p8 259:6 0 8G 0 part [SWAP] │ ├─md126p9 259:7 0 20G 0 part /var │ └─md126p10 259:8 0 727.6G 0 part └─md127 9:127 0 0B 0 md sdc 8:32 0 1.8T 0 disk └─sdc1 8:33 0 1.8T 0 part sr0 11:0 1 1024M 0 rom root@kvmhost2:~# blkid /dev/sdb: TYPE="isw_raid_member" /dev/sdc1: LABEL="CLONEZILLA_2_UNG_MT" BLOCK_SIZE="512" UUID="9A50FC0950FBE9C1" TYPE="ntfs" PARTUUID="f4529c2d-01" /dev/md126p2: LABEL="BOOT" UUID="aee27756-d3a8-4fd9-8744-6ba1de309c25" BLOCK_SIZE="4096" TYPE="ext4" /dev/md126p10: UUID="0EUgL1-sDg7-Y5B5-rk7M-RfiU-vbDf-mzsI5b" TYPE="LVM2_member" /dev/md126p9: LABEL="VAR" UUID="5c8dfc8a-18d4-4c42-904f-eb2a22c48753" BLOCK_SIZE="4096" TYPE="ext4" /dev/md126p7: LABEL="TMP" UUID="65f021e0-d96c-4dd8-a23b-2f29d98516a3" BLOCK_SIZE="4096" TYPE="ext4" /dev/md126p5: LABEL="ROOTFS" UUID="274a6b75-baef-4704-8318-80ee8c3e7967" BLOCK_SIZE="4096" TYPE="ext4" /dev/md126p1: SEC_TYPE="msdos" LABEL_FATBOOT="MS-DOS_6" LABEL="MS-DOS_6" UUID="58CE-8254" BLOCK_SIZE="512" TYPE="vfat" /dev/md126p8: UUID="544cea28-a048-4b96-9a17-e971ad1b501a" TYPE="swap" /dev/md126p6: LABEL="HOME" UUID="ebb47371-3ee5-40db-928f-74e2bf98a2b1" BLOCK_SIZE="4096" TYPE="ext4" /dev/sda: TYPE="isw_raid_member" root@kvmhost2:~# pvdisplay --- Physical volume --- PV Name /dev/md126p10 VG Name pve PV Size 727.59 GiB / not usable 2.00 MiB Allocatable yes PE Size 4.00 MiB Total PE 186263 Free PE 617 Allocated PE 185646 PV UUID 0EUgL1-sDg7-Y5B5-rk7M-RfiU-vbDf-mzsI5b root@kvmhost2:~# vgdisplay --- Volume group --- VG Name pve System ID Format lvm2 Metadata Areas 1 Metadata Sequence No 20 VG Access read/write VG Status resizable MAX LV 0 Cur LV 3 Open LV 0 Max PV 0 Cur PV 1 Act PV 1 VG Size <727.59 GiB PE Size 4.00 MiB Total PE 186263 Alloc PE / Size 185646 / <725.18 GiB Free PE / Size 617 / 2.41 GiB VG UUID NdHTpB-v7Jm-eor4-gYu9-Hiox-F6ce-IX3rok root@kvmhost2:~# lvdisplay --- Logical volume --- LV Name vhd VG Name pve LV UUID 1canK4-K2Sd-oJLN-6m3A-i15o-37hL-WfT8xN LV Write Access read/write LV Creation host, time debian, 2024-06-14 18:30:39 +0200 LV Pool metadata vhd_tmeta LV Pool data vhd_tdata LV Status NOT available LV Size 725.00 GiB Current LE 185600 Segments 1 Allocation inherit Read ahead sectors auto --- Logical volume --- LV Path /dev/pve/vm-100-disk-0 LV Name vm-100-disk-0 VG Name pve LV UUID c5boqJ-3W4s-yRdc-deTX-lXvi-Fp5N-Hos7wW LV Write Access read/write LV Creation host, time kvmhost2, 2024-06-14 17:25:56 +0200 LV Pool name vhd LV Status NOT available LV Size 64.19 GiB Current LE 16433 Segments 1 Allocation inherit Read ahead sectors auto --- Logical volume --- LV Path /dev/pve/vm-101-disk-0 LV Name vm-101-disk-0 VG Name pve LV UUID vdyifN-OM6x-0OTf-olmO-VIpV-Yxmt-8ksWwG LV Write Access read/write LV Creation host, time kvmhost2, 2024-06-20 14:53:00 +0200 LV Pool name vhd LV Status NOT available LV Size 20.06 GiB Current LE 5136 Segments 1 Allocation inherit Read ahead sectors auto root@kvmhost2:~# ls -al /dev/mapper insgesamt 0 drwxr-xr-x 2 root root 60 20. Jun 17:10 . drwxr-xr-x 19 root root 4580 20. Jun 17:10 .. crw------- 1 root root 10, 236 20. Jun 17:04 control root@kvmhost2:~# login as: dreael dreael@172.29.63.11's password: Linux kvmhost2 6.8.4-3-pve #1 SMP PREEMPT_DYNAMIC PMX 6.8.4-3 (2024-05-02T11:55Z) x86_64 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Thu Jun 20 17:06:14 2024 from 172.29.63.154 dreael@kvmhost2:~$ su - Passwort: root@kvmhost2:~# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS fd0 2:0 1 4K 0 disk sda 8:0 0 931.5G 0 disk ├─md126 9:126 0 931.5G 0 raid1 │ ├─md126p1 259:0 0 133.3M 0 part /dos │ ├─md126p2 259:1 0 800M 0 part /boot │ ├─md126p3 259:2 0 1K 0 part │ ├─md126p5 259:3 0 15G 0 part / │ ├─md126p6 259:4 0 150G 0 part /home │ ├─md126p7 259:5 0 10G 0 part /tmp │ ├─md126p8 259:6 0 8G 0 part [SWAP] │ ├─md126p9 259:7 0 20G 0 part /var │ └─md126p10 259:8 0 727.6G 0 part └─md127 9:127 0 0B 0 md sdb 8:16 0 931.5G 0 disk ├─md126 9:126 0 931.5G 0 raid1 │ ├─md126p1 259:0 0 133.3M 0 part /dos │ ├─md126p2 259:1 0 800M 0 part /boot │ ├─md126p3 259:2 0 1K 0 part │ ├─md126p5 259:3 0 15G 0 part / │ ├─md126p6 259:4 0 150G 0 part /home │ ├─md126p7 259:5 0 10G 0 part /tmp │ ├─md126p8 259:6 0 8G 0 part [SWAP] │ ├─md126p9 259:7 0 20G 0 part /var │ └─md126p10 259:8 0 727.6G 0 part └─md127 9:127 0 0B 0 md sdc 8:32 0 1.8T 0 disk └─sdc1 8:33 0 1.8T 0 part sr0 11:0 1 1024M 0 rom root@kvmhost2:~# blkid /dev/sdb: TYPE="isw_raid_member" /dev/sdc1: LABEL="CLONEZILLA_2_UNG_MT" BLOCK_SIZE="512" UUID="9A50FC0950FBE9C1" TYPE="ntfs" PARTUUID="f4529c2d-01" /dev/md126p2: LABEL="BOOT" UUID="aee27756-d3a8-4fd9-8744-6ba1de309c25" BLOCK_SIZE="4096" TYPE="ext4" /dev/md126p10: UUID="0EUgL1-sDg7-Y5B5-rk7M-RfiU-vbDf-mzsI5b" TYPE="LVM2_member" /dev/md126p9: LABEL="VAR" UUID="5c8dfc8a-18d4-4c42-904f-eb2a22c48753" BLOCK_SIZE="4096" TYPE="ext4" /dev/md126p7: LABEL="TMP" UUID="65f021e0-d96c-4dd8-a23b-2f29d98516a3" BLOCK_SIZE="4096" TYPE="ext4" /dev/md126p5: LABEL="ROOTFS" UUID="274a6b75-baef-4704-8318-80ee8c3e7967" BLOCK_SIZE="4096" TYPE="ext4" /dev/md126p1: SEC_TYPE="msdos" LABEL_FATBOOT="MS-DOS_6" LABEL="MS-DOS_6" UUID="58CE-8254" BLOCK_SIZE="512" TYPE="vfat" /dev/md126p8: UUID="544cea28-a048-4b96-9a17-e971ad1b501a" TYPE="swap" /dev/md126p6: LABEL="HOME" UUID="ebb47371-3ee5-40db-928f-74e2bf98a2b1" BLOCK_SIZE="4096" TYPE="ext4" /dev/sda: TYPE="isw_raid_member" root@kvmhost2:~# pvdisplay --- Physical volume --- PV Name /dev/md126p10 VG Name pve PV Size 727.59 GiB / not usable 2.00 MiB Allocatable yes PE Size 4.00 MiB Total PE 186263 Free PE 617 Allocated PE 185646 PV UUID 0EUgL1-sDg7-Y5B5-rk7M-RfiU-vbDf-mzsI5b root@kvmhost2:~# vgdisplay --- Volume group --- VG Name pve System ID Format lvm2 Metadata Areas 1 Metadata Sequence No 20 VG Access read/write VG Status resizable MAX LV 0 Cur LV 3 Open LV 0 Max PV 0 Cur PV 1 Act PV 1 VG Size <727.59 GiB PE Size 4.00 MiB Total PE 186263 Alloc PE / Size 185646 / <725.18 GiB Free PE / Size 617 / 2.41 GiB VG UUID NdHTpB-v7Jm-eor4-gYu9-Hiox-F6ce-IX3rok root@kvmhost2:~# lvdisplay --- Logical volume --- LV Name vhd VG Name pve LV UUID 1canK4-K2Sd-oJLN-6m3A-i15o-37hL-WfT8xN LV Write Access read/write LV Creation host, time debian, 2024-06-14 18:30:39 +0200 LV Pool metadata vhd_tmeta LV Pool data vhd_tdata LV Status NOT available LV Size 725.00 GiB Current LE 185600 Segments 1 Allocation inherit Read ahead sectors auto --- Logical volume --- LV Path /dev/pve/vm-100-disk-0 LV Name vm-100-disk-0 VG Name pve LV UUID c5boqJ-3W4s-yRdc-deTX-lXvi-Fp5N-Hos7wW LV Write Access read/write LV Creation host, time kvmhost2, 2024-06-14 17:25:56 +0200 LV Pool name vhd LV Status NOT available LV Size 64.19 GiB Current LE 16433 Segments 1 Allocation inherit Read ahead sectors auto --- Logical volume --- LV Path /dev/pve/vm-101-disk-0 LV Name vm-101-disk-0 VG Name pve LV UUID vdyifN-OM6x-0OTf-olmO-VIpV-Yxmt-8ksWwG LV Write Access read/write LV Creation host, time kvmhost2, 2024-06-20 14:53:00 +0200 LV Pool name vhd LV Status NOT available LV Size 20.06 GiB Current LE 5136 Segments 1 Allocation inherit Read ahead sectors auto root@kvmhost2:~# ls -al /dev/mapper insgesamt 0 drwxr-xr-x 2 root root 60 20. Jun 17:10 . drwxr-xr-x 19 root root 4580 20. Jun 17:10 .. crw------- 1 root root 10, 236 20. Jun 17:04 control root@kvmhost2:~# _ Man beachte das "NOT available"! Reaktivierungsversuche: root@kvmhost2:~# ls -al /dev/mapper insgesamt 0 drwxr-xr-x 2 root root 60 20. Jun 17:10 . drwxr-xr-x 19 root root 4580 20. Jun 17:10 .. crw------- 1 root root 10, 236 20. Jun 17:04 control root@kvmhost2:~# pvscan PV /dev/md126p10 VG pve lvm2 [<727.59 GiB / 2.41 GiB free] Total: 1 [<727.59 GiB] / in use: 1 [<727.59 GiB] / in no VG: 0 [0 ] root@kvmhost2:~# vgscan Found volume group "pve" using metadata type lvm2 root@kvmhost2:~# lvscan inactive '/dev/pve/vhd' [725.00 GiB] inherit inactive '/dev/pve/vm-100-disk-0' [64.19 GiB] inherit inactive '/dev/pve/vm-101-disk-0' [20.06 GiB] inherit root@kvmhost2:~# vgchange -ay pve Thin pool pve-vhd-tpool (252:2) transaction_id is 0, while expected 6. Thin pool pve-vhd-tpool (252:2) transaction_id is 0, while expected 6. Thin pool pve-vhd-tpool (252:2) transaction_id is 0, while expected 6. 0 logical volume(s) in volume group "pve" now active root@kvmhost2:~# echo $? 5 root@kvmhost2:~# vgimport pve Volume group "pve" is not exported root@kvmhost2:~# vgchange -ay pve Thin pool pve-vhd-tpool (252:2) transaction_id is 0, while expected 6. Thin pool pve-vhd-tpool (252:2) transaction_id is 0, while expected 6. Thin pool pve-vhd-tpool (252:2) transaction_id is 0, while expected 6. 0 logical volume(s) in volume group "pve" now active root@kvmhost2:~# vgexport pve Volume group "pve" successfully exported root@kvmhost2:~# vgchange -ay pve Volume group pve is exported root@kvmhost2:~# ls -al /dev/mapper insgesamt 0 drwxr-xr-x 2 root root 60 20. Jun 17:14 . drwxr-xr-x 19 root root 4580 20. Jun 17:15 .. crw------- 1 root root 10, 236 20. Jun 17:04 control root@kvmhost2:~# _ Nach einem Reboot: root@kvmhost2:~# pvscan PV /dev/md126p10 is in exported VG pve [<727.59 GiB / 2.41 GiB free] Total: 1 [<727.59 GiB] / in use: 1 [<727.59 GiB] / in no VG: 0 [0 ] root@kvmhost2:~# vgscan Found exported volume group "pve" using metadata type lvm2 root@kvmhost2:~# lvscan root@kvmhost2:~# _ LVs komplett weg!