I met a problem, a warning "/dev/sde open failed: no medium found" was appeared in results of many commands, such as pvs/vgs.
root@pve:/etc/pve/qemu-server# vgs
/dev/sde: open failed: No medium found
VG #PV #LV #SN Attr VSize VFree
disk2 1 1 0 wz--n- 238.47g 88.47g
pve 1 5 0 wz--n- <476.44g <16.00g
root@pve:/etc/pve/qemu-server# pvs
/dev/sde: open failed: No medium found
PV VG Fmt Attr PSize PFree
/dev/nvme0n1 disk2 lvm2 a-- 238.47g 88.47g
/dev/nvme1n1p3 pve lvm2 a-- <476.44g <16.00g
But I didn't have this drive at all.
root@pve:/etc/pve/qemu-server# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 3.7T 0 disk
├─sda1 8:1 0 2G 0 part
└─sda2 8:2 0 3.7T 0 part
sdb 8:16 0 3.7T 0 disk
├─sdb1 8:17 0 2G 0 part
└─sdb2 8:18 0 3.7T 0 part
sdc 8:32 0 3.7T 0 disk
├─sdc1 8:33 0 2G 0 part
└─sdc2 8:34 0 3.7T 0 part
sdd 8:48 0 931.5G 0 disk
└─sdd1 8:49 0 931.5G 0 part
nvme0n1 259:0 0 238.5G 0 disk
└─disk2-vm--103--disk--0 253:8 0 150G 0 lvm
nvme1n1 259:1 0 477G 0 disk
├─nvme1n1p1 259:2 0 1007K 0 part
├─nvme1n1p2 259:3 0 512M 0 part
└─nvme1n1p3 259:4 0 476.4G 0 part
├─pve-swap 253:0 0 8G 0 lvm [SWAP]
├─pve-root 253:1 0 100G 0 lvm /
├─pve-data_tmeta 253:2 0 3.5G 0 lvm
│ └─pve-data-tpool 253:4 0 345.4G 0 lvm
│ ├─pve-data 253:5 0 345.4G 0 lvm
│ ├─pve-vm--101--disk--0 253:6 0 40G 0 lvm
│ └─pve-vm--102--disk--0 253:7 0 32G 0 lvm
└─pve-data_tdata 253:3 0 345.4G 0 lvm
└─pve-data-tpool 253:4 0 345.4G 0 lvm
├─pve-data 253:5 0 345.4G 0 lvm
├─pve-vm--101--disk--0 253:6 0 40G 0 lvm
└─pve-vm--102--disk--0 253:7 0 32G 0 lvm
So, how can I solve this problem?
root@pve:/etc/pve/qemu-server# vgs
/dev/sde: open failed: No medium found
VG #PV #LV #SN Attr VSize VFree
disk2 1 1 0 wz--n- 238.47g 88.47g
pve 1 5 0 wz--n- <476.44g <16.00g
root@pve:/etc/pve/qemu-server# pvs
/dev/sde: open failed: No medium found
PV VG Fmt Attr PSize PFree
/dev/nvme0n1 disk2 lvm2 a-- 238.47g 88.47g
/dev/nvme1n1p3 pve lvm2 a-- <476.44g <16.00g
But I didn't have this drive at all.
root@pve:/etc/pve/qemu-server# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 3.7T 0 disk
├─sda1 8:1 0 2G 0 part
└─sda2 8:2 0 3.7T 0 part
sdb 8:16 0 3.7T 0 disk
├─sdb1 8:17 0 2G 0 part
└─sdb2 8:18 0 3.7T 0 part
sdc 8:32 0 3.7T 0 disk
├─sdc1 8:33 0 2G 0 part
└─sdc2 8:34 0 3.7T 0 part
sdd 8:48 0 931.5G 0 disk
└─sdd1 8:49 0 931.5G 0 part
nvme0n1 259:0 0 238.5G 0 disk
└─disk2-vm--103--disk--0 253:8 0 150G 0 lvm
nvme1n1 259:1 0 477G 0 disk
├─nvme1n1p1 259:2 0 1007K 0 part
├─nvme1n1p2 259:3 0 512M 0 part
└─nvme1n1p3 259:4 0 476.4G 0 part
├─pve-swap 253:0 0 8G 0 lvm [SWAP]
├─pve-root 253:1 0 100G 0 lvm /
├─pve-data_tmeta 253:2 0 3.5G 0 lvm
│ └─pve-data-tpool 253:4 0 345.4G 0 lvm
│ ├─pve-data 253:5 0 345.4G 0 lvm
│ ├─pve-vm--101--disk--0 253:6 0 40G 0 lvm
│ └─pve-vm--102--disk--0 253:7 0 32G 0 lvm
└─pve-data_tdata 253:3 0 345.4G 0 lvm
└─pve-data-tpool 253:4 0 345.4G 0 lvm
├─pve-data 253:5 0 345.4G 0 lvm
├─pve-vm--101--disk--0 253:6 0 40G 0 lvm
└─pve-vm--102--disk--0 253:7 0 32G 0 lvm
So, how can I solve this problem?