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: Peter Stuge <peter@...>
Subject: Re: crash proofing a system from power cutoffs
Date: Mon, 23 Jan 2012 19:55:40 +0100
Kfir Lavi wrote:
> I'll need to crash proof a Gentoo system from electricity cutoffs.

Then you need backup power. There is no other solution.


> I have a system with 8GB of flash drive.

As others have indicated, the particular type of flash "drive" is
very significant, because the electronics between CPU and flash chip
is obviously in control of writing and caching. If you are using
anything other than an mtd interface then you have much worse odds of
being able to survive power loss.


> 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?

RAID does nothing.


> Do you have more ideas how to keep the system intact ?

See above.


> I'm creating ext4 partitions, but would like to hear some opinions
> on that fileystem.

Without mtd you are in such a bad situation that it almost doesn't
matter what you do on top of the block device as long as it's
journalled.

Of course if all partitions are mounted ro then there is no problem.

If you need write then make sure to use mtd hardware and jffs2 or such.


//Peter


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:
Re: crash proofing a system from power cutoffs
Next by thread:
ANNOUNCE: cross-capable nodejs-0.6.7.ebuild, v8-3.6.4.ebuild
Previous by date:
Re: quickpkg and PKG_INSTALL_MASK
Next by date:
Re: quickpkg and PKG_INSTALL_MASK


Updated Apr 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.