Reiserfs munched directory on power failure

2004-08-16 Thread Felix Finch
I am running Linux 2.4.26 SMP with reiserfsprogs 3.6.4. It is a dual Athlon with 1G of RAM. I have had losses three times in reiserfs partitions when it loses power. My mostly static partitions are ext3, all others are reiserfs. This is Slackware 9.0. This poor machine is not behaving very wel

Re: Reiserfs munched directory on power failure

2004-08-16 Thread Hans Reiser
What you experienced is what metadata journaling does when you crash in the middle of a write. The ordered writes option should prevent your problem at only a modest performance loss. Reiser4 is fully atomic and higher performance, I encourage you to use it. Hans Felix Finch wrote: I am running

Re: reiser4 disk formats (was http://www.namesys.com/snapshots/2004.08.09-internal.testing/)

2004-08-16 Thread Vitaly Fertman
On Monday 16 August 2004 03:13, Francesco Biscani wrote: > Hi, > > On Monday 16 August 2004 00:55, Domenico Andreoli wrote: > > so the most safe catch-all command sequence should be simply > > > > 1. fsck.reiser4 device > > - do also whatever fsck says is required to bring the fs > >

Re: reiser4 disk formats (was http://www.namesys.com/snapshots/2004.08.09-internal.testing/)

2004-08-16 Thread Vitaly Fertman
On Monday 16 August 2004 03:27, Domenico Andreoli wrote: > On Mon, Aug 16, 2004 at 01:13:38AM +0200, Francesco Biscani wrote: > > Hi, > > > > On Monday 16 August 2004 00:55, Domenico Andreoli wrote: > > > so the most safe catch-all command sequence should be simply > > > > > > 1. fsck.reiser4 dev

Re: Quicker alternative to "find /"?

2004-08-16 Thread Felix E. Klee
On Sun, 15 Aug 2004 19:00:41 -0500 wrote: > In that case, you may want to try a recursive "ls". But for the same > format as "find", try using "locate" with "updatedb" on a cron job. Thanks for the hints. I did some benchmarks: find / >/tmp/find.dirtree: 3:44 (1st run) 3:47 (repeated ru

Re: Quicker alternative to "find /"?

2004-08-16 Thread Christian Mayrhuber
On Monday 16 August 2004 14:04, Felix E. Klee wrote: > On Sun, 15 Aug 2004 19:00:41 -0500 wrote: > > In that case, you may want to try a recursive "ls". But for the same > > format as "find", try using "locate" with "updatedb" on a cron job. > > Thanks for the hints. I did some benchmarks: > > fi

Re: Quicker alternative to "find /"?

2004-08-16 Thread Christophe Saout
Am Sonntag, den 15.08.2004, 23:16 +0200 schrieb Felix E. Klee: > I'd like to store the directory structure of a partition formatted as > ReiserFS into a file. Currently, I use > > find / >file > > This process takes approximately 5 minutes (the result is 26MB of > data). Are there any altern

Re: Quicker alternative to "find /"?

2004-08-16 Thread Chris Mason
On Mon, 2004-08-16 at 08:52, Christophe Saout wrote: > Am Sonntag, den 15.08.2004, 23:16 +0200 schrieb Felix E. Klee: > > > I'd like to store the directory structure of a partition formatted as > > ReiserFS into a file. Currently, I use > > > > find / >file > > > > This process takes approxi

Re: Quicker alternative to "find /"?

2004-08-16 Thread Spam
> Am Sonntag, den 15.08.2004, 23:16 +0200 schrieb Felix E. Klee: >> I'd like to store the directory structure of a partition formatted as >> ReiserFS into a file. Currently, I use >> >> find / >file >> >> This process takes approximately 5 minutes (the result is 26MB of >> data). Are there

Re: Quicker alternative to "find /"?

2004-08-16 Thread Chris Mason
On Mon, 2004-08-16 at 09:19, Spam wrote: > > Am Sonntag, den 15.08.2004, 23:16 +0200 schrieb Felix E. Klee: > > >> I'd like to store the directory structure of a partition formatted as > >> ReiserFS into a file. Currently, I use > >> > >> find / >file > >> > >> This process takes approximate

Re: viewprinting: what format should views be stored in?

2004-08-16 Thread George Beshers
Hans Reiser wrote: Another approach is to use stem compressed names, or some other unique within the fs format for the mask. Can you elaborate on this for a newbie fired fireman fireplace get stored as fired !4man !4place if we use classic stem compression, if we use a tree that branches wher