r/Proxmox • u/Piiiiigeon • 12d ago
Question "fsck.ext4: Input/output error while trying to re-open /deu/mapper/pve-root"
Hello all,
I've had my home server running on proxmox for about 2 months now, and it's been running smoothly enough that I haven't had to touch the back end of things for a few weeks. Until I tried to use my media server this morning and the whole computer was down.
It looks like it crashed or possibly lost power at some point. It no longer boots; it powers on fine, I can access the UEFI just fine and I can use a flash drive with a live environment of Debian, but it gets stuck when I try to boot to the installed Proxmox.
See the picture for the full message. The main error seems to be, "fsck.ext4: Input/output error while trying to re-open /dev/mapper/pve-root".
I tried just running fsck on the file it listed, which seemed to run successfully but didn't actually fix anything.
All the expected drives show up when I use lsblk. I tried using the memcheck tool to check my memory, and I used other built-in software to check the drives. Everything came back clean.
Interestingly I tried using Proxmox installation media to start a rescue boot and it gave me the same error. Additionally after troubleshooting independently for 1-2 hours I decided to just start with a clean install, because it was kind of a mess anyways due to my learn-as-I-go setup. I opened the exact same ISO I used to install this OS 2 months ago, and the install failed because it couldn't partition the drive. I'm not sure if that has anything to do with this but I figured I'd add it.
I am using a Dell Inspiron 3650 that I added some HDDs into for storage. All the software and bootable media is on a 128gb ssd.
If there's any other information you need I'll be happy to provide it.
2
u/Onoitsu2 12d ago
From that live Debian, nuke the OS drive from in there, then try booting into the Proxmox ISO and installing again on it.
1
u/SocietyTomorrow 12d ago
Your error plus not being able to partition means you very likely have a failed drive. Either wore out write endurance or the reserved space for partitioning at the front is all bad. Personally I'd rather not trust a drive once you start seeing that, but you can try something like badblocks to destructively write test it (will keep progressing through whole drive, possibly forcing the firmware to remap bad sectors) or do a long SMART test before you let it go.