Guys, where I live we have frequent power outages. I have damaged numerous SD cards and to some degree lost my faith in the Pi's reliability. Any tips on how to make the system more "rugged"? Maybe disabling swap file? any tips are welcome
Thanks
-
- Posts: 19
- Joined: Thu May 31, 2012 12:57 pm
Re: Frequent power outages - any tips to better prepare for
Sounds like you need either a battery powered RPi or a UPS.
You could run your RPi from a car battery hookup with a trickle charger on the battery.
The system would at least give youtime to shut down your RPi gracefully.
You could run your RPi from a car battery hookup with a trickle charger on the battery.

The system would at least give youtime to shut down your RPi gracefully.
Noob is not derogatory the noob is just the lower end of the noob--geek spectrum being a noob is just your first step towards being an uber-geek 
If you find a solution please post it in the wiki the forum dies too quick

If you find a solution please post it in the wiki the forum dies too quick
-
- Posts: 19
- Joined: Thu May 31, 2012 12:57 pm
Re: Frequent power outages - any tips to better prepare for
I thought about this too, but that's not so mobile.. and not so cheap.
What I meant is to take measures in the OS itself to reduce the risk of data loss to some reasonable extent..if possible.
What I meant is to take measures in the OS itself to reduce the risk of data loss to some reasonable extent..if possible.
Re: Frequent power outages - any tips to better prepare for
You have to remember the RPi is designed primarily as a teaching platform.
In about a year we will have (hopefully) loads of kids applying latteral thinking will come up with new ways of doing things.
There is no way of telling what answers we will have then.
What is your timescale?
In about a year we will have (hopefully) loads of kids applying latteral thinking will come up with new ways of doing things.
There is no way of telling what answers we will have then.
What is your timescale?
Noob is not derogatory the noob is just the lower end of the noob--geek spectrum being a noob is just your first step towards being an uber-geek 
If you find a solution please post it in the wiki the forum dies too quick

If you find a solution please post it in the wiki the forum dies too quick
-
- Posts: 19
- Joined: Thu May 31, 2012 12:57 pm
Re: Frequent power outages - any tips to better prepare for
nothing urgent, just recovering from another failed SD crd, hence the frustration 

- tonyhughes
- Posts: 951
- Joined: Wed Dec 26, 2012 3:46 am
Re: Frequent power outages - any tips to better prepare for
How is the Pi considered unreliable if the issue is down to your acknowledged frequent power outages?mharizanov wrote:Guys, where I live we have frequent power outages. I have damaged numerous SD cards and to some degree lost my faith in the Pi's reliability.
If you had a top-end HP/IBM enterprise class server, with redundant everything, you would still have exactly the same problem without some form of battery backup.
Buy a UPS.
-
- Posts: 19
- Joined: Thu May 31, 2012 12:57 pm
Re: Frequent power outages - any tips to better prepare for
truetonyhughes wrote:How is the Pi considered unreliable if the issue is down to your acknowledged frequent power outages?mharizanov wrote:Guys, where I live we have frequent power outages. I have damaged numerous SD cards and to some degree lost my faith in the Pi's reliability.
If you had a top-end HP/IBM enterprise class server, with redundant everything, you would still have exactly the same problem without some form of battery backup.
Buy a UPS.
I guess I will have to go for that.
Anyway, my expectation was that some guru would recommend a solution like read-only filesystem with RAM disks mounted over the directories that have to be read-write, but I guess that may be hard to achieve
- tonyhughes
- Posts: 951
- Joined: Wed Dec 26, 2012 3:46 am
Re: Frequent power outages - any tips to better prepare for
RAM disks won't stop your data from being lost, it will only prevent SD card corruption, but add a layer of complexity (also knowing as 'geeking yourself into a corner'.
150VA or 300VA UPS would solve your problem the right way, and let you get on with life
150VA or 300VA UPS would solve your problem the right way, and let you get on with life

Re: Frequent power outages - any tips to better prepare for
They are getting cheaper all the time
Noob is not derogatory the noob is just the lower end of the noob--geek spectrum being a noob is just your first step towards being an uber-geek 
If you find a solution please post it in the wiki the forum dies too quick

If you find a solution please post it in the wiki the forum dies too quick