this post was submitted on 11 Sep 2024
25 points (100.0% liked)

Linux

48328 readers
632 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

My Raspberry Pi, on which I host a Minecraft server, suddenly froze. I cannot not SSH in, nor can I join the Minecraft server. I ran the Minecraft server in Docker, via itzg/docker-minecraft-server. I turned off the Raspberry Pi, took out its microsd and plugged it into my PC, to at least attempt to run the Minecraft server from my PC to see if I still have the data. I tried to copy it with cp, but I got an input-output error. Could this be the filesystem's fault? And how can I fix this? If you need any additional info about this crash, please do not hesitate to ask.

you are viewing a single comment's thread
view the rest of the comments
[–] neo@lemmy.hacktheplanet.be 16 points 2 months ago* (last edited 2 months ago) (5 children)

If it’s running off an SD card then it’s very likely the SD card is broken. It’s better to run a pi off a USB SSD drive. Hope you have backups. Good luck either way.

Edit (more context):

https://hackaday.com/2019/04/08/give-your-raspberry-pi-sd-card-a-break-log-to-ram/

https://hackaday.com/2022/03/09/raspberry-pi-and-the-story-of-sd-card-corruption/

[–] schizo@forum.uncomfortable.business 11 points 2 months ago (2 children)

I'll second that: every single issue I've had with any of the Pis that are around here have all been bad sd cards.

They're useful if you're using an OS that doesn't ever write to them, but as soon as you're using a full Linux distro or running software that is writing logs or data, they're going to fail and probably sooner than later and, of course, at the most annoying time possible because it's a computer and that's their thing.

[–] neo@lemmy.hacktheplanet.be 5 points 2 months ago (1 children)

OP mentioned a Minecraft server, iirc that can be pretty noisy in the logs.

Oof, and a minecraft server is also constantly writing the world state to disk which will 1000% kill a sd card in a hurry.

load more comments (2 replies)