[SOLVED] Issue following potential disk issue

atomboom

New Member
Oct 19, 2022
2
0
1
Good day,

My proxmox setup (single node) froze this afternoon where within the web GUI no VM was responsive and the remote option crashed.
Following this issues i rebooted the node and it never came online.
Connecting a physical screen to the node showed it was not booting due to disk issues and it suggested fsdsk, which i ran.
Now it does boot, however proxmox itself does not.
I believe some files are missing corropting packages

running "pveversion -v" returns the following:

Code:
Can't locate AptPkg/Cache.pm in @INC (you may need to install the AptPkg::Cache module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.28.1 /usr/local/share/perl/5.28.1 /usr/lib/x86_64-linux-gnu/perl5/5.28 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.28 /usr/share/perl/5.28 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /usr/share/perl5/PVE/API2/APT.pm line 27, <DATA> line 755.
BEGIN failed--compilation aborted at /usr/share/perl5/PVE/API2/APT.pm line 27, <DATA> line 755.
Compilation failed in require at /usr/bin/pveversion line 7, <DATA> line 755.
BEGIN failed--compilation aborted at /usr/bin/pveversion line 7, <DATA> line 755.

Running "systemctl status 'pve*'" returns a lot of info but the main part i believe is the following

Code:
 pvestatd.service - PVE Status Daemon
   Loaded: loaded (/lib/systemd/system/pvestatd.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Wed 2022-10-19 21:18:08 CEST; 20min ago
  Process: 1054 ExecStart=/usr/bin/pvestatd start (code=exited, status=2)

Are there any suggestions on how to get the system functional again or barring that migrating the vm's to a new node?
 
At the end i installed a fresh proxmox on an other disk, then booting from it.

I was able to mount the old drive as a thin-lvm and then copying over the .conf files

Most vm's only required an edit concerning the drive, only 1 seemed to be corrupted.

All in all my system is limping along and i'm using this opertunity to upgrade and doing better vm backups.