This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Preventing corrupt SD
#1
I've been using a UPS for some time to prevent a corrupt (S)SD, which can happen on raspberry pi's or linux system in general for that matter. 
When I flip a switch the UPS sees it and sends a command to a GPIO to safely shutdown the system, after 2 minutes or so the UPS is also powered down.
But, this is quite an extensive thing to build and I'd rather not have a battery in my system, because these things can fail too. 

I know there are methods to write protect (read-only) certain partitions of the SD so that when a write takes place when the system is not safely shutdown, nothing will be damaged.

In this forum: https://raspberrypi.stackexchange.com/qu...d-so-often
I have read some of these solutions, but, looking at Openplotter I am not sure as to this is a good idea. Not being able to write to a partition could lead to other problems and I think there are more background processes that I don't know of that need to write. 

Has anybody ever tried this on a Pi, or on his Openplotter image before? Has anybody every had a corrupt SD? Speaking for myself, I had a few of these situations myself. SD got too hot, or before I used a UPS did unsafe shutdowns, or even if you have a UPS your system can still freeze and you have to shutdown unsafely.

So, I was wondering if we could tackle this problem by looking if it's possible what partitions should / could be write protected, looking at Openplotter.
Curious to your experiences.
Reply


Messages In This Thread
Preventing corrupt SD - by jamos.tan@gmail.com - 2020-08-01, 05:17 PM
RE: Preventing corrupt SD - by rastam4n - 2020-08-02, 03:51 PM
RE: Preventing corrupt SD - by fishy - 2020-08-03, 02:00 PM
RE: Preventing corrupt SD - by rastam4n - 2020-08-03, 02:10 PM
RE: Preventing corrupt SD - by rastam4n - 2020-08-04, 12:55 PM
RE: Preventing corrupt SD - by fishy - 2020-08-04, 01:43 PM
RE: Preventing corrupt SD - by rastam4n - 2020-08-04, 09:02 PM
RE: Preventing corrupt SD - by rastam4n - 2020-08-02, 07:27 PM
RE: Preventing corrupt SD - by abarrow - 2020-08-04, 09:42 PM
RE: Preventing corrupt SD - by rastam4n - 2020-08-04, 09:46 PM
RE: Preventing corrupt SD - by fishy - 2020-08-05, 10:18 AM
RE: Preventing corrupt SD - by rastam4n - 2020-08-05, 11:11 PM
RE: Preventing corrupt SD - by abarrow - 2020-08-06, 09:41 PM
RE: Preventing corrupt SD - by fishy - 2020-08-07, 07:38 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)