Cutting the power without unmounting the filesystem

Rickard Dahlstrand rd at tilde.se
Mon Jan 19 04:41:34 PST 2004


Thanks for all the answers.

The UPS is not an option I'm afraid.

There will be little writing on these machines. Some logs and some config
changes. But the chance of regular power failures are still a problem.

By the way I'm using FreeBSD 4.9.

What if I mount the / RO, and /tmp /var /etc... RW.

Will sync or softupdate make /tmp /var /etc... more stabile?

Thanks, Rickard.

----- Original Message ----- 
From: "Micheas Herman" <micheas at freep.org>
To: "James Long" <james_mapson at umpquanet.com>
Cc: "Rickard Dahlstrand" <rd at tilde.se>; "Gilad Rom" <gilad_bsd at romat.com>;
<freebsd-questions at freebsd.org>
Sent: Monday, January 19, 2004 4:48 AM
Subject: Re: Cutting the power without unmounting the filesystem


> On Sun, 2004-01-18 at 19:38, James Long wrote:
> > On Sun, Jan 18, 2004 at 01:47:48PM +0100, Rickard Dahlstrand wrote:
> > >
> > > I was hoping on a solution that can work on 4.9.
> >
> > How about a hardware solution, i.e. a UPS?
>
> Other possible solutions:
>
> Use flash ram cards and a journaling file system. (soft updates may work
> but you need to talk to someone that knows about them much better than I
> do.)
>
> Use a live cd for everything read only, and use a remote machine for
> everything that needs write access.
>
> Hard disks really need to be powered down instead of having their power
> yanked. you are asking for a hard crash if you pull power from a drive
> that is actively reading or writing.
>
> Having this as regular part of the drives duty is asking for trouble.
>
> > _______________________________________________
> > freebsd-questions at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
"freebsd-questions-unsubscribe at freebsd.org"
> -- 
> Write in TERRY BAUM for Congress on March 2, 2004
> http://www.terrybaum.com/
>



More information about the freebsd-questions mailing list