Error mounting /dev/sdb2 wrong fs type, bad option, bad superblock on /dev/sdb2, missing codepage or helper program, or other error

Running dmesg showed a "bad geometry" error:

kern  :warn  : [ +35.991538] EXT4-fs (sdb2): bad geometry: block count 29239414 exceeds size of device (29239413 blocks)

To fix, on the unmounted partition:

e2fsck -f /dev/XXX
resize2fs /dev/XXX
Proxy Information
Original URL
gemini://nuacht.flounder.online/gemlog/2023-04-24-error-mounting.gmi
Status Code
Success (20)
Meta
text/gemini; charset=utf-8
Capsule Response Time
660.899331 milliseconds
Gemini-to-HTML Time
0.12134 milliseconds

This content has been proxied by September (ba2dc).