Re: Wrong Shutdown

2014-05-27 Thread Otto Moerbeek
On Tue, May 27, 2014 at 11:06:10AM +0200, frantisek holop wrote: > hmm, on Tue, May 27, 2014 at 07:14:49AM +0200, Otto Moerbeek said that > > block size is between 4096 and 65536, fragment size between 512 and > > block size. Both are powers of 2, and block size can be 1, 2, 4, or 8 > > times fra

Re: Wrong Shutdown

2014-05-27 Thread frantisek holop
hmm, on Tue, May 27, 2014 at 07:14:49AM +0200, Otto Moerbeek said that > block size is between 4096 and 65536, fragment size between 512 and > block size. Both are powers of 2, and block size can be 1, 2, 4, or 8 > times fragments size. For media files -b 65536 -i 65536 is fine. > > If you still

Re: Wrong Shutdown

2014-05-26 Thread Otto Moerbeek
On Tue, May 27, 2014 at 07:14:49AM +0200, Otto Moerbeek wrote: > On Mon, May 26, 2014 at 11:19:00PM +0200, frantisek holop wrote: > > > hmm, on Mon, May 26, 2014 at 04:46:04PM +0200, Otto Moerbeek said that > > > Yes it does, in most cases. But the most important is to use large > > > block and/o

Re: Wrong Shutdown

2014-05-26 Thread Otto Moerbeek
On Mon, May 26, 2014 at 11:19:00PM +0200, frantisek holop wrote: > hmm, on Mon, May 26, 2014 at 04:46:04PM +0200, Otto Moerbeek said that > > Yes it does, in most cases. But the most important is to use large > > block and/or fragments sizes, if that is acceptable for your use (it > > wastes space

Re: Wrong Shutdown

2014-05-26 Thread Ted Unangst
On Mon, May 26, 2014 at 14:14, Philip Guenther wrote: > On Mon, May 26, 2014 at 6:56 AM, Salim Shaw wrote: > >> Enable "SoftUpdates." >> >> /dev/sd0a / ffs rw,softdep 1 1 > > > Since OpenBSD doesn't have background fsck for softupdates, nor does it > have softupdates journaling, how will that s

Re: Wrong Shutdown

2014-05-26 Thread Stuart Henderson
On 2014-05-26, Theo de Raadt wrote: >> I have a machine with a HardDrive with a slice of 2.7TB, and I have no >> UPS.. when sometimes I have power failure, and consequently a wrong >> shutdown, The fsck spends much time to recover the filse system, what can I >> do? I need

Re: Wrong Shutdown

2014-05-26 Thread frantisek holop
hmm, on Mon, May 26, 2014 at 04:46:04PM +0200, Otto Moerbeek said that > Yes it does, in most cases. But the most important is to use large > block and/or fragments sizes, if that is acceptable for your use (it > wastes space if you have a lot of small files). i meant to ask now for some time, wha

Re: Wrong Shutdown

2014-05-26 Thread Philip Guenther
On Mon, May 26, 2014 at 6:56 AM, Salim Shaw wrote: > Enable "SoftUpdates." > > /dev/sd0a / ffs rw,softdep 1 1 Since OpenBSD doesn't have background fsck for softupdates, nor does it have softupdates journaling, how will that solve the original problem? Philip Guenther

Re: Wrong Shutdown

2014-05-26 Thread Salim Shaw
ardDrive with a slice of 2.7TB, and I have no >>> UPS.. when sometimes I have power failure, and consequently a wrong >>> shutdown, The fsck spends much time to recover the filse system, what >> can I >>> do? I need to be faster. >> Get a UPS. >> >> f

Re: Wrong Shutdown

2014-05-26 Thread Dennis Davis
On Mon, 26 May 2014, Theo de Raadt wrote: > From: Theo de Raadt > To: Walter Souza > Cc: misc@openbsd.org > Date: Mon, 26 May 2014 15:09:03 > Subject: Re: Wrong Shutdown ... > > And let's work in World Peace too.. :) > > Your makeup has a smudge, so you don&#x

Re: Wrong Shutdown

2014-05-26 Thread Otto Moerbeek
On Mon, May 26, 2014 at 09:32:57AM -0500, Adam Thompson wrote: > On May 26, 2014 9:16:17 AM CDT, "Martin Schr??der" wrote: > >2014-05-26 15:52 GMT+02:00 Walter Souza : > >> Why OpenBSD has no interest in using journal file system? > > > >http://www.openbsd.org/faq/faq8.html#Journaling > > > >Plea

Re: Wrong Shutdown

2014-05-26 Thread Adam Thompson
On May 26, 2014 9:16:17 AM CDT, "Martin Schröder" wrote: >2014-05-26 15:52 GMT+02:00 Walter Souza : >> Why OpenBSD has no interest in using journal file system? > >http://www.openbsd.org/faq/faq8.html#Journaling > >Please read the FAQ. > >Best > Martin Arguably, Walter might be better served b

Re: Wrong Shutdown

2014-05-26 Thread Jan Stary
lure, > and consequently a wrong shutdown, Is your 2.7TB of data at least so valuable that you wold buy a UPS? > The fsck spends much time to recover the filse system, what can I > do? I need to be faster. How exactly did you create the filesystem? For example, see the mistake I made some time ag

Re: Wrong Shutdown

2014-05-26 Thread Walter Souza
On Mon, May 26, 2014 at 11:09 AM, Theo de Raadt wrote: > > So do you have interest? > > > > I have interest in help.. I love OpenBSD project and I want to use it in > > everything. > > There is a large gap between "how do I make fsck faster without buying > a UPS" and "I will help give you guys a

Re: Wrong Shutdown

2014-05-26 Thread Martin Schröder
2014-05-26 15:52 GMT+02:00 Walter Souza : > Why OpenBSD has no interest in using journal file system? http://www.openbsd.org/faq/faq8.html#Journaling Please read the FAQ. Best Martin

Re: Wrong Shutdown

2014-05-26 Thread Theo de Raadt
> So do you have interest? > > I have interest in help.. I love OpenBSD project and I want to use it in > everything. There is a large gap between "how do I make fsck faster without buying a UPS" and "I will help give you guys a working journal filesystem". I don't know you, maybe I am misinterp

Re: Wrong Shutdown

2014-05-26 Thread Walter Souza
So do you have interest? I have interest in help.. I love OpenBSD project and I want to use it in everything. And let's work in World Peace too.. :) On Mon, May 26, 2014 at 10:58 AM, Theo de Raadt wrote: > > Why OpenBSD has no interest in using journal file system? > > Because we simply don't h

Re: Wrong Shutdown

2014-05-26 Thread Kenneth Westerback
de Raadt wrote: > > > > I have a machine with a HardDrive with a slice of 2.7TB, and I have no > > > UPS.. when sometimes I have power failure, and consequently a wrong > > > shutdown, The fsck spends much time to recover the filse system, what > > can I >

Re: Wrong Shutdown

2014-05-26 Thread Gilles Chehade
On Mon, May 26, 2014 at 07:58:00AM -0600, Theo de Raadt wrote: > > [...] > > As far as I know, none of the developers are specifically working on > World Peace, either. > That was a work in progress, but it was aborted due to lack of general interest :-/ -- Gilles Chehade https://www.poolp.or

Re: Wrong Shutdown

2014-05-26 Thread Theo de Raadt
> Why OpenBSD has no interest in using journal file system? Because we simply don't have anyone working on it at the moment. What is so hard to understand about that? We are a group of volunteers! We work on what we want to, and as a group we don't try to overcommit our efforts into specific dir

Re: Wrong Shutdown

2014-05-26 Thread Walter Souza
Why OpenBSD has no interest in using journal file system? On Mon, May 26, 2014 at 10:48 AM, Theo de Raadt wrote: > > I have a machine with a HardDrive with a slice of 2.7TB, and I have no > > UPS.. when sometimes I have power failure, and consequently a wrong > > shutdown, Th

Re: Wrong Shutdown

2014-05-26 Thread Theo de Raadt
> I have a machine with a HardDrive with a slice of 2.7TB, and I have no > UPS.. when sometimes I have power failure, and consequently a wrong > shutdown, The fsck spends much time to recover the filse system, what can I > do? I need to be faster. Get a UPS. fsck is required t

Wrong Shutdown

2014-05-26 Thread Walter Souza
Hello guys, I have a machine with a HardDrive with a slice of 2.7TB, and I have no UPS.. when sometimes I have power failure, and consequently a wrong shutdown, The fsck spends much time to recover the filse system, what can I do? I need to be faster. Thanks in advance. -- Walter Neto Analista