Skip to content

Instantly share code, notes, and snippets.

@twhite96
Last active June 5, 2024 05:15
Show Gist options
  • Save twhite96/e468cd57fba4af50166515bc6abf9937 to your computer and use it in GitHub Desktop.
Save twhite96/e468cd57fba4af50166515bc6abf9937 to your computer and use it in GitHub Desktop.
Fixing filesystem errors after a power outage

Fixing filesystem errors and reboot of Proxmox after a blackout

Tip

Invest in a UPS. Having one allows you to gracefully power down devices and prevents stuff like this from happening.

The error:

I received this error:

wrong fs type, bad option, bad superblock on /dev/sdc2

Ambiguous, but I fixed it by Googling.

Some options

  1. Check to see if your HDD/SDD bus is being detected by Proxmox with lsusb
  2. If it is, run lsblk -f to list, and print, the filesystem type on each partition

If you don't have any partitions at all, you can create some with

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment