Re: Softupdates question

2007-05-11 Thread mickey
@openbsd.org Subject: Re: Softupdates question On Wed, May 09, 2007 at 10:45:15AM -0400, Peter Fraser wrote: I had always assumed the use of softupdates was safe as long as you could have reasonable assurances that the machine would not be shutdown without warning. (i.e. no loss of power or reset

Re: Softupdates question

2007-05-09 Thread Marco S Hyman
Still curious how they would work on, say, /var/mysql or /var/postgresql, but I can play with this on my own. Has anyone already tried? Care to comment? FWIW I run softdep on ALL partitions except / and /var and have for many years. I exclude /var because on a crash I want the best chance

Re: Softupdates question

2007-05-09 Thread Nick Holland
mickey wrote: On Tue, May 08, 2007 at 07:06:06AM -0400, Nick Holland wrote: George C wrote: ... Is it always best to mount /, /tmp, /usr, /var, /home with softdep? Under what curcumstances would it not be appropriate? If your app makes assumptions about write ordering, softdeps can negate

Re: Softupdates question

2007-05-09 Thread mickey
On Wed, May 09, 2007 at 06:46:19AM -0400, Nick Holland wrote: mickey wrote: On Tue, May 08, 2007 at 07:06:06AM -0400, Nick Holland wrote: George C wrote: ... Is it always best to mount /, /tmp, /usr, /var, /home with softdep? Under what curcumstances would it not be appropriate?

Re: Softupdates question

2007-05-09 Thread Henning Brauer
* mickey [EMAIL PROTECTED] [2007-05-09 15:15]: On Wed, May 09, 2007 at 06:46:19AM -0400, Nick Holland wrote: mickey wrote: On Tue, May 08, 2007 at 07:06:06AM -0400, Nick Holland wrote: George C wrote: ... Is it always best to mount /, /tmp, /usr, /var, /home with softdep? Under

Re: Softupdates question

2007-05-09 Thread Peter Fraser
I had always assumed the use of softupdates was safe as long as you could have reasonable assurances that the machine would not be shutdown without warning. (i.e. no loss of power or reset being hit). So if you had a UPS, good hardware, and no vandals it's good to use.

Re: Softupdates question

2007-05-09 Thread Stephan Andre'
. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of mickey Sent: Wednesday, May 09, 2007 11:49 AM To: Peter Fraser Cc: misc@openbsd.org Subject: Re: Softupdates question On Wed, May 09, 2007 at 10:45:15AM -0400, Peter Fraser wrote: I had always assumed

Re: Softupdates question

2007-05-09 Thread George C
On 5/9/07, Nick Holland [EMAIL PROTECTED] wrote: If it was not obvious from my comments, I love softdeps. I have a siteXX.tgz file which does a few simple things, one of which is to change all mount points to use softdeps. One really does have to hunt a bit for relevant reasons not to use

Softupdates question

2007-05-08 Thread George C
I've just stumbled across the SoftUpdates section in the FAQ, and was rather surprised that I had never seen/heard of this feature before. Before I mount any partition using softdep, I thought I'd google, browse the archives, etc. for any information about when/where they should be used.

Re: Softupdates question

2007-05-08 Thread Nick Holland
George C wrote: I've just stumbled across the SoftUpdates section in the FAQ, and was rather surprised that I had never seen/heard of this feature before. Before I mount any partition using softdep, I thought I'd google, browse the archives, etc. for any information about when/where they

Re: Softupdates question

2007-05-08 Thread mickey
On Tue, May 08, 2007 at 07:06:06AM -0400, Nick Holland wrote: George C wrote: I've just stumbled across the SoftUpdates section in the FAQ, and was rather surprised that I had never seen/heard of this feature before. Before I mount any partition using softdep, I thought I'd google,

Re: Softupdates question

2007-05-08 Thread Daniel Ouellet
Nick Holland wrote: If your busy website and database is read-mostly, softdeps won't help. Even if you do mount a special partition for the logs only of httpd and mount it softdep? On a busy site the logs are growing pretty fast at times and can hold back some processing no?

Re: Softupdates question

2007-05-08 Thread Daniel Ouellet
mickey wrote: On Tue, May 08, 2007 at 07:06:06AM -0400, Nick Holland wrote: George C wrote: Softdeps don't do anything for you if you are mostly reading from disk, or if the partition is mounted read-only. It's about writing. of course they do. there are still atime updates for example that

Re: Softupdates question

2007-05-08 Thread Ingo Schwarze
Hi Daniel, Daniel Ouellet wrote on Tue, May 08, 2007 at 03:06:36PM -0400: Unless you can have two different mount point to the same partition? Never tried it and always assume it wouldn't be possible anyway. Then do not guess, but just try it! Some things are really easy to try out... ;-)

Re: Softupdates question

2007-05-08 Thread George C
On 5/8/07, mickey [EMAIL PROTECTED] wrote: On Tue, May 08, 2007 at 07:06:06AM -0400, Nick Holland wrote: George C wrote: I've just stumbled across the SoftUpdates section in the FAQ, and was rather surprised that I had never seen/heard of this feature before. Before I mount any