Re: e2fs unstable on powerdown

2004-11-30 Thread David Zejda
Steven Jones napsal(a):
convert ext2 to ext3 it is quite simple. I have had RS file systems loose iteasier then ext2...from power failures, I would advise ext3 it is very robust.
OK, gonna getta
tune2fs -j /dev/hda1
/etc/fstab : ext2 - ext3
/etc/default/rcS : FSCKFIX=no - FSCKFIX=yes
I had a bit irrational fear about performance consequences of journaling 
- the machine is a bit outdated - P75 64RAM and goes 50% CPU now, but I 
have not the heart to give it the air :-)

Your blaming a file system issue with a power failure, sorry its your power that is an issue, I have Solaris boxes, tru64 boxes and NTx boxes all get upset if they have frequent power failures, so ext2 and Linux is not at fault.
It was not really blaming - I only wanted your advices how to proceed..
Get a UPS with a parachute system to shutdown your server. And/or if you know 99% of your power failures are 30 mins and only happen once a week then size the UPS to cope with a 1 hour outage with a recovery of 2 or 3 hours. 
Online UPSs are the best but cost the most and are usually OTT, unless your line in has severe sine wave and spike issues in which case an online ups is your only viable solution.
I know - UPS would be the best solution, but the budget is extremely 
limited and powerdowns are not more frequent than 3x a year.

The other trick is to look at a UPS with a big charging circuit but small batteries, ie one designed for expandibility) you can then add car batteries to it very cheaply to give massive capacity for at most the same cost as the dry cells that the UPS normally uses...ie keep the server up all day
Really interestig... UPS tuning :)
regards
Steven
aka thing
Cheers
David
aka David
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: e2fs unstable on powerdown

2004-11-30 Thread Frode Haugsgjerd
On Tue, Nov 30, 2004 at 09:57:46AM +1300, Steven Jones wrote:

-Snip-
 The other trick is to look at a UPS with a big charging circuit but small 
 batteries, ie one designed for expandibility) you can then add car batteries 
 to it very cheaply to give massive capacity for at most the same cost as the 
 dry cells that the UPS normally uses...ie keep the server up all day

Yes, but use camper bateries instead of car batteries, as they trade 
maks cold cranking amps for capacity (Amp hours)

 
 regards
 
 Steven
 aka thing
 

-- 
Frode Haugsgjerd (who used to b work as car mechanicÂÂ)
Norway


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



e2fs unstable on powerdown

2004-11-29 Thread David Zejda
Hi!
I'm facing severe problems with e2fs on low-volume server with Postfix 
and NSD running. Every time the power goes off, the / is mounted ro 
(which is meaningful) and is a bit corrupted (10-20 files with 0 size, 
bad owners, completely lost etc.). I know, the best solution would be to 
buy the UPS, but is a such unstability common? I wouldn't be surprised 
in case of Raiser with cache enabled, but ext2 is known as a relative 
stable fs. Should I tune something or is the UPS the only way? Thanks 
for hints!

With regards
David
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: e2fs unstable on powerdown

2004-11-29 Thread Jan-Benedict Glaw
On Mon, 2004-11-29 21:46:15 +0100, David Zejda [EMAIL PROTECTED]
wrote in message [EMAIL PROTECTED]:
 Hi!
 I'm facing severe problems with e2fs on low-volume server with Postfix 
 and NSD running. Every time the power goes off, the / is mounted ro 
 (which is meaningful) and is a bit corrupted (10-20 files with 0 size, 
 bad owners, completely lost etc.). I know, the best solution would be to 
 buy the UPS, but is a such unstability common? I wouldn't be surprised 

Get real. If you rip off power from your computer, running an operating
system that tries to *cache* things by using it's RAM, what do you
expect?

There's a lot of unwritten data in your computer's RAM, which isn't
brought to stable storage on a power failure.

 in case of Raiser with cache enabled, but ext2 is known as a relative 
 stable fs. Should I tune something or is the UPS the only way? Thanks 
 for hints!

ext2, as any other writeable filesystem not mounted in a synchronous,
will just always somehow fail. Some very clever filesystems can minimize
the effects, but just letting the power go away is a bad thing.

If power failures are common at your site, mount the filesystem in
synchronous mode (which is a *lot* slower) and/or start using ext3. This
at least will keep the filesystem itself intact (but not neccessarily
the file's contents).

MfG, JBG

-- 
Jan-Benedict Glaw   [EMAIL PROTECTED]. +49-172-7608481 _ O _
Eine Freie Meinung in  einem Freien Kopf| Gegen Zensur | Gegen Krieg  _ _ O
 fuer einen Freien Staat voll Freier Bürger | im Internet! |   im Irak!   O O O
ret = do_actions((curr | FREE_SPEECH)  ~(NEW_COPYRIGHT_LAW | DRM | TCPA));


signature.asc
Description: Digital signature


RE: e2fs unstable on powerdown

2004-11-29 Thread Steven Jones
convert ext2 to ext3 it is quite simple. I have had RS file systems loose 
iteasier then ext2...from power failures, I would advise ext3 it is very 
robust.

Your blaming a file system issue with a power failure, sorry its your power 
that is an issue, I have Solaris boxes, tru64 boxes and NTx boxes all get upset 
if they have frequent power failures, so ext2 and Linux is not at fault.

Get a UPS with a parachute system to shutdown your server. And/or if you know 
99% of your power failures are 30 mins and only happen once a week then size 
the UPS to cope with a 1 hour outage with a recovery of 2 or 3 hours. 

Online UPSs are the best but cost the most and are usually OTT, unless your 
line in has severe sine wave and spike issues in which case an online ups is 
your only viable solution.

The other trick is to look at a UPS with a big charging circuit but small 
batteries, ie one designed for expandibility) you can then add car batteries to 
it very cheaply to give massive capacity for at most the same cost as the dry 
cells that the UPS normally uses...ie keep the server up all day

regards

Steven
aka thing

-Original Message-
From: David Zejda [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 30 November 2004 9:46 a.m.
To: Debian ISP
Subject: e2fs unstable on powerdown


Hi!
I'm facing severe problems with e2fs on low-volume server with Postfix 
and NSD running. Every time the power goes off, the / is mounted ro 
(which is meaningful) and is a bit corrupted (10-20 files with 0 size, 
bad owners, completely lost etc.). I know, the best solution would be to 
buy the UPS, but is a such unstability common? I wouldn't be surprised 
in case of Raiser with cache enabled, but ext2 is known as a relative 
stable fs. Should I tune something or is the UPS the only way? Thanks 
for hints!

With regards
David


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]