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.
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
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: