Proxmox 7.4.1 crashing 10-15 mins after launching VM

samh

New Member
Apr 24, 2023
1
0
1
Hi, I have a number of issues with my server that started recently - I believe it shutdown due to a power cut while I was away (it does sit behind a UPS but auto-shutdown isn't setup). We very rarely get cuts of more than a few seconds.

This machine has been running flawlessly for a few years now.

The machine has an AMD FX-8350 CPU, 1x 128GB SSD (boot), 1x 500GB SSD, 2 x 3TB HDDs & 1 x 4TB HDD, 24GB RAM.

The first symptoms were that, upon my return, it wouldn't boot due to it not being able to find the filesystem (ext4) on 2 of the disks (500GB SSD & 1 x 3TB HDD). I removed those from /etc/fstab and it then boots without issue.

Repairing those drives didn't work (it looked like it did but the disks still wouldn't mount). I then tried to re-format the drives using Parted - which also looks like it works, but then doesn't.

Code:
XXX@XXX:~# parted /dev/sda
GNU Parted 3.4
Using /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print                                                         
Error: /dev/sda: unrecognised disk label
Model: ATA CT480BX500SSD1 (scsi)                                       
Disk /dev/sda: 480GB
Sector size (logical/physical): 512B/512B
Partition Table: unknown
Disk Flags:
(parted) mklabel                                                       
New disk label type? gpt                                               
(parted) print                                                         
Model: ATA CT480BX500SSD1 (scsi)
Disk /dev/sda: 480GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number  Start  End  Size  File system  Name  Flags

(parted) mkpart                                                         
Partition name?  []? ssd1                                               
File system type?  [ext2]? ext4                                         
Start? 0%                                              
End? 100%                                                               
(parted) print                                                         
Model: ATA CT480BX500SSD1 (scsi)
Disk /dev/sda: 480GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number  Start   End    Size   File system  Name  Flags
 1      1024MB  480GB  479GB  ext4         ssd1

(parted) quit                                                           
Information: You may need to update /etc/fstab.

XXX@XXX:~# parted /dev/sda print
Error: /dev/sda: unrecognised disk label
Model: ATA CT480BX500SSD1 (scsi)                                       
Disk /dev/sda: 480GB
Sector size (logical/physical): 512B/512B
Partition Table: unknown
Disk Flags:

I've also tried this using fdisk, same issue occurs. If I remove the drives and put them in my Windows PC, it can format and use it without issue. Smart also reports no issues with the drives.

The second issue is that, when using a VM (Home Assistant on HASS OS), the host just powers off 10-15 minutes after booting it. If I leave the host running just my containers, it will run fine for hours (albeit without all the disks mounted).

I'm hoping someone might have some hints/tips? I have tried a different PSU and that hasn't made a difference.

Thanks
 
Last edited:
You know, you'd probably get what you're describing if there was an issue with the power supply in the host. I don't know if you have a spare machine to check, but you could always borrow the power supply from your Windows machine [if it's powerful enough and has enough connectors] and see if the proxmox host runs without shutting down.

Again, only a theory.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!