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

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

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 to ensure the directory

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 dera...@cvs.openbsd.orgwrote: 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

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

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.org

Re: Wrong Shutdown

2014-05-26 Thread Kenneth Westerback
...@cvs.openbsd.org 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 to be faster. Get a UPS

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 dera...@cvs.openbsd.orgwrote: Why OpenBSD has no interest in using journal file system?

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 misinterpreting

Re: Wrong Shutdown

2014-05-26 Thread Martin Schröder
2014-05-26 15:52 GMT+02:00 Walter Souza wsouz...@gmail.com: 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 Walter Souza
On Mon, May 26, 2014 at 11:09 AM, Theo de Raadt dera...@cvs.openbsd.orgwrote: 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

Re: Wrong Shutdown

2014-05-26 Thread Jan Stary
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 ago: ~$ df -hi /dload

Re: Wrong Shutdown

2014-05-26 Thread Adam Thompson
On May 26, 2014 9:16:17 AM CDT, Martin Schröder mar...@oneiros.de wrote: 2014-05-26 15:52 GMT+02:00 Walter Souza wsouz...@gmail.com: 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

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 mar...@oneiros.de wrote: 2014-05-26 15:52 GMT+02:00 Walter Souza wsouz...@gmail.com: Why OpenBSD has no interest in using journal file system?

Re: Wrong Shutdown

2014-05-26 Thread Dennis Davis
On Mon, 26 May 2014, Theo de Raadt wrote: From: Theo de Raadt dera...@cvs.openbsd.org To: Walter Souza wsouz...@gmail.com 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't

Re: Wrong Shutdown

2014-05-26 Thread Salim Shaw
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 to ensure the directory hierarchy is coherent. -- Salim A. Shaw System

Re: Wrong Shutdown

2014-05-26 Thread Philip Guenther
On Mon, May 26, 2014 at 6:56 AM, Salim Shaw salims...@vfemail.net 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 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, what

Re: Wrong Shutdown

2014-05-26 Thread Stuart Henderson
On 2014-05-26, Theo de Raadt dera...@cvs.openbsd.org 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 Ted Unangst
On Mon, May 26, 2014 at 14:14, Philip Guenther wrote: On Mon, May 26, 2014 at 6:56 AM, Salim Shaw salims...@vfemail.net 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

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 if

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/or