I am running my VM raw disks on a nvme drive, but everyday the drive goes offline therefore VMs goes offline as well, i tested the drive, its not bad, a restart fixes the issue.
When attempting to start the VM back manually. This is the error
lvs ( dont see my nvme )
pvs ( dont see my nvme as well )
/etc/pve/storage.cfg
syslog
i did a ls to my nvme drive, all files are there
any advice, thanks.
When attempting to start the VM back manually. This is the error
Command failed with status code 5.
command '/sbin/vgscan --ignorelockingfailure --mknodes' failed: exit code 5
Volume group "nvme" not found
TASK ERROR: can't activate LV '/dev/nvme/vm-101-disk-0': Cannot process volume group nvme
lvs ( dont see my nvme )
root@pm:/dev/nvme# lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
data pve twi-aotz-- <320.10g 0.00 0.52
root pve -wi-ao---- 96.00g
swap pve -wi-ao---- 8.00g
pvs ( dont see my nvme as well )
PV VG Fmt Attr PSize PFree
/dev/sda3 pve lvm2 a-- <446.63g 15.99g
/etc/pve/storage.cfg
dir: local
path /var/lib/vz
content backup,iso,vztmpl
lvmthin: local-lvm
thinpool data
vgname pve
content images,rootdir
lvm: nvme2tb
vgname nvme
content rootdir,images
nodes pm
shared 0
syslog
Jul 19 20:18:47 pm pvedaemon[541147]: <root@pam> end task UPIDm:00084741:00A0AA69:60F56DA7:qmstart:101:root@pam: can't activate LV '/dev/nvme/vm-101-disk-0': Cannot process volume group nvme
Jul 19 20:18:52 pm pvestatd[1433]: command '/sbin/vgscan --ignorelockingfailure --mknodes' failed: exit code 5
Jul 19 20:19:00 pm systemd[1]: Starting Proxmox VE replication runner...
Jul 19 20:19:00 pm systemd[1]: pvesr.service: Succeeded.
Jul 19 20:19:00 pm systemd[1]: Finished Proxmox VE replication runner.
Jul 19 20:19:02 pm pvestatd[1433]: command '/sbin/vgscan --ignorelockingfailure --mknodes' failed: exit code 5
Jul 19 20:19:12 pm pvestatd[1433]: command '/sbin/vgscan --ignorelockingfailure --mknodes' failed: exit code 5
Jul 19 20:22:00 pm systemd[1]: Starting Proxmox VE replication runner...
Jul 19 20:22:00 pm systemd[1]: pvesr.service: Succeeded.
Jul 19 20:22:00 pm systemd[1]: Finished Proxmox VE replication runner.
Jul 19 20:22:02 pm pvestatd[1433]: command '/sbin/vgscan --ignorelockingfailure --mknodes' failed: exit code 5
i did a ls to my nvme drive, all files are there
root@pm:/dev/nvme# ls -l
total 0
lrwxrwxrwx 1 root root 7 Jul 19 19:43 vm-101-disk-0 -> ../dm-0
lrwxrwxrwx 1 root root 7 Jul 19 19:43 vm-101-disk-1 -> ../dm-1
lrwxrwxrwx 1 root root 7 Jul 18 15:22 vm-801-disk-0 -> ../dm-2
root@pm:/dev/nvme#
any advice, thanks.