Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-embedded
Navigation:
Lists: gentoo-embedded: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-embedded@g.o
From: Mike Frysinger <vapier@g.o>
Subject: Re: crash proofing a system from power cutoffs
Date: Sun, 8 Jan 2012 14:33:21 -0500
On Sunday 08 January 2012 12:59:16 Kfir Lavi wrote:
> I'll need to crash proof a Gentoo system from electricity cutoffs.
> I have a system with 8GB of flash drive.
> I created a small system ~100mb as the target system.
> I thought of creating 5 200mb paratitions of raid1. So 5 will be mirrored.
> What do you think of this solution?
> 
> Do you have more ideas how to keep the system intact ?
> I'm creating ext4 partitions, but would like to hear some opinions on that
> fileystem.

what is your flash tech exactly ?  it's a USB thumb drive ?

the best way to avoid problems is:
 - use read-only mounts wherever possible
 - use tmpfs for all scratch space you don't care about (many logs fall into 
this category with embedded devices)
 - for the few places you do write to disk, make sure to fdatasync()
-mike
Attachment:
signature.asc (This is a digitally signed message part.)
References:
crash proofing a system from power cutoffs
-- Kfir Lavi
Navigation:
Lists: gentoo-embedded: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
crash proofing a system from power cutoffs
Next by thread:
Re: crash proofing a system from power cutoffs
Previous by date:
crash proofing a system from power cutoffs
Next by date:
ANNOUNCE: cross-capable nodejs-0.6.7.ebuild, v8-3.6.4.ebuild


Updated Jun 25, 2012

Summary: Archive of the gentoo-embedded mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.